This class is used to encode the name of any property of an object. More...
#include <PropertyName.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... | |
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 fe/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 fe/PropertyName.cpp.
References ~PropertyName().
Referenced by clone().
|
default |
Destructor.
Referenced by PropertyName().
|
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 49 of file fe/PropertyName.cpp.
References m_name, and PropertyName().
| const std::string & te::fe::PropertyName::getName | ( | ) | const |
It returns the property name.
Definition at line 44 of file fe/PropertyName.cpp.
References m_name.
Referenced by te::fe::PropertyIsNull::clone(), te::fe::BBOXOp::clone(), te::fe::DistanceBuffer::clone(), te::fe::PropertyIsLike::clone(), te::fe::BinarySpatialOp::clone(), 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 39 of file fe/PropertyName.cpp.
References m_name.
|
private |
Property name. (Mandatory)
Definition at line 111 of file fe/PropertyName.h.