|
ORIGINAL
|
Ordered sequence of transformation operations. More...
#include <transformStream.h>

Public Member Functions | |
| void | operator() (TYPE &t) |
| Applies all transformations sequentially. | |
| ~transformStream ()=default | |
| Virtual destructor for the transformStream class. | |
| transformStream & | operator+ (const transform< TYPE > &t) |
| Appends single transformation to stream. | |
| transformStream & | operator+ (const transformStream &ts) |
| Merges another transformation stream. | |
Protected Member Functions | |
| transformStream () | |
| Protected constructor for factory pattern. | |
Related Symbols | |
(Note that these are not member symbols.) | |
| template<typename T > | |
| transformStream< T > | operator+ (const transform< T > &t1, const transform< T > &t2) |
| Creates new stream from two transformations. | |
| template<typename T > | |
| transformStream< T > | operator+ (const transform< T > &t, const transformStream< T > &ots) |
| Creates new stream from transformation and existing stream. | |
Ordered sequence of transformation operations.
| TYPE | Type of data to be transformed |
Manages a chain of transformation objects that will be applied in sequence. Features:
|
explicitprotected |
Protected constructor for factory pattern.
| void original::transformStream< TYPE >::operator() | ( | TYPE & | t | ) |
Applies all transformations sequentially.
| t | Data to be transformed (modified in-place) |
| auto original::transformStream< TYPE >::operator+ | ( | const transform< TYPE > & | t | ) |
Appends single transformation to stream.
| t | Transformation to add |
| auto original::transformStream< TYPE >::operator+ | ( | const transformStream< TYPE > & | ts | ) |
Merges another transformation stream.
| ts | Stream to concatenate |
|
friend |
Creates new stream from transformation and existing stream.
| T | Data type |
| t | Transformation to prepend |
| ots | Original stream |
|
friend |
Creates new stream from two transformations.
| T | Data type |
| t1 | First transformation |
| t2 | Second transformation |