Transformation of discrete values to other values. More...
#include <Recode.h>
Public Types | |
typedef void | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const =0 |
It call the visit method from the guest object. More... | |
const std::string & | getFallbackValue () const |
void | setFallbackValue (const std::string &v) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
Recode () | |
It initializes a new Recode. More... | |
~Recode () | |
Destructor. More... | |
Recode (const Recode &rhs) | |
Copy constructor. More... | |
virtual Recode * | clone () const |
It returns a clone of this object. More... | |
void | setLookupValue (ParameterValue *v) |
void | add (MapItem *m) |
std::vector< MapItem * > | getMapItems () const |
Protected Attributes | |
std::string | m_fallbackValue |
The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function. (Mandatory) More... | |
Private Attributes | |
ParameterValue * | m_lookupValue |
Mandatory. More... | |
std::vector< MapItem * > | m_mapItems |
Mandatory. More... | |
Transformation of discrete values to other values.
The Symbology encoding specification defines three pre-defined functions for transforming raw data:
It allows to replace a color in the ExternalGraphic, the color specified in the OriginalColor sub-element, by another color as a result of a recode function.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::se::Recode::Recode | ( | ) |
It initializes a new Recode.
te::se::Recode::~Recode | ( | ) |
Destructor.
te::se::Recode::Recode | ( | const Recode & | rhs | ) |
Copy constructor.
rhs | The other Categorize. |
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
void te::se::Recode::add | ( | MapItem * | m | ) |
|
virtual |
|
inherited |
std::vector<MapItem*> te::se::Recode::getMapItems | ( | ) | const |
|
inherited |
void te::se::Recode::setLookupValue | ( | ParameterValue * | v | ) |
|
protectedinherited |
The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function. (Mandatory)
Definition at line 88 of file Function.h.
|
private |
|
private |