|
Dev Essential
1.6.3
|
#include <map_transformation.h>
Inherited by ddl::mapping::MapEnumTableTransformation, and ddl::mapping::MapPolynomTransformation.
Public Member Functions | |
| MapTransformationBase (MapConfiguration *config, const std::string &name) | |
| virtual | ~MapTransformationBase () |
| const std::string & | getName () const |
| bool | isValid () const |
| virtual bool | isEqual (const MapTransformationBase &other) const =0 |
| virtual MapTransformationBase * | clone () const =0 |
| virtual double | evaluate (double value) const =0 |
cMapTransformation forms a base class for a single transformation
| ddl::mapping::MapTransformationBase::MapTransformationBase | ( | MapConfiguration * | config, |
| const std::string & | name ) |
CTOR
| [in] | config | The configuration |
| [in] | name | The transformation name |
|
virtual |
DTOR
|
pure virtual |
Polymorphic clone method
Implemented in ddl::mapping::MapEnumTableTransformation, and ddl::mapping::MapPolynomTransformation.
|
pure virtual |
Polymorphic evaluation template method
| [in] | value | The value to evaluate |
Implemented in ddl::mapping::MapEnumTableTransformation, and ddl::mapping::MapPolynomTransformation.
| const std::string & ddl::mapping::MapTransformationBase::getName | ( | ) | const |
Returns the name of the transformation
|
pure virtual |
Polymorphic comparison method
Implemented in ddl::mapping::MapEnumTableTransformation, and ddl::mapping::MapPolynomTransformation.
| bool ddl::mapping::MapTransformationBase::isValid | ( | ) | const |
Returns the validity for the current description