|
ORIGINAL
|
Base class for transformation operations. More...
#include <transform.h>


Public Member Functions | |
| ~transform () override=default | |
| Virtual destructor for the transform class. | |
| transform * | clone () const override |
| Clones the transform object. | |
| virtual void | operator() (TYPE &t) |
| Applies the transformation to the given element. | |
Public Member Functions inherited from original::cloneable | |
| ~cloneable () override=default | |
| Virtual destructor for cloneable. | |
Public Member Functions inherited from original::baseCloneable< cloneable > | |
| virtual | ~baseCloneable ()=default |
| Virtual destructor for baseCloneable. | |
Protected Member Functions | |
| virtual void | apply (TYPE &t) |
| Applies the transformation to the given element. | |
Protected Member Functions inherited from original::cloneable | |
| cloneable ()=default | |
| Default constructor for cloneable. | |
Protected Member Functions inherited from original::baseCloneable< cloneable > | |
| baseCloneable ()=default | |
| Default constructor for baseCloneable. | |
Base class for transformation operations.
| TYPE | The type of element being transformed |
This class provides an interface for transformations that apply operations to elements of type TYPE. Derived classes must implement the apply method to perform the specific transformation. The operator() allows the transformation to be applied by invoking the apply method.
|
protectedvirtual |
Applies the transformation to the given element.
| t | The element to apply the transformation to. |
Derived classes should implement this method to perform specific transformations on the element.
|
overridevirtual |
Clones the transform object.
Reimplemented from original::baseCloneable< cloneable >.
|
virtual |
Applies the transformation to the given element.
| t | The element to apply the transformation to. |
This operator calls the apply method to perform the transformation.