This class is used to encode the name of any property of an object. More...
#include <PropertyName.h>
Public Types | |
typedef R | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const =0 |
It call the visit method from the guest object. More... | |
The property name. | |
It initializes a new PropertyName.
| |
PropertyName (const std::string &name) | |
~PropertyName () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setName (const std::string &name) |
It sets the property name. More... | |
const std::string & | getName () const |
It returns the property name. More... | |
Expression Re-implementation | |
Methods re-implemented from Expression. | |
Expression * | clone () const |
It returns a clone of this object. More... | |
Private Attributes | |
std::string | m_name |
Property name. (Mandatory) More... | |
This class is used to encode the name of any property of an object.
The property name can be used in scalar or spatial expressions to represent the value of that property for a particular instance of an object.
Definition at line 54 of file PropertyName.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::fe::PropertyName::PropertyName | ( | const std::string & | name | ) |
Definition at line 32 of file PropertyName.cpp.
te::fe::PropertyName::~PropertyName | ( | ) |
Destructor.
Definition at line 37 of file PropertyName.cpp.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
virtual |
It returns a clone of this object.
Implements te::fe::Expression.
Definition at line 51 of file PropertyName.cpp.
const std::string & te::fe::PropertyName::getName | ( | ) | const |
It returns the property name.
Definition at line 46 of file PropertyName.cpp.
Referenced by te::se::LineSymbolizer::LineSymbolizer(), te::se::PointSymbolizer::PointSymbolizer(), te::se::PolygonSymbolizer::PolygonSymbolizer(), te::se::RasterSymbolizer::RasterSymbolizer(), te::se::TextSymbolizer::TextSymbolizer(), te::fe::serialize::Expression::visit(), and te::map::QueryEncoder::visit().
void te::fe::PropertyName::setName | ( | const std::string & | name | ) |
It sets the property name.
name | The property name. |
Definition at line 41 of file PropertyName.cpp.
|
private |
Property name. (Mandatory)
Definition at line 111 of file PropertyName.h.