This class is used to encode the name of any property of an object.
More...
#include <PropertyName.h>
|
virtual ReturnType | accept (VisitorType &guest) const=0 |
| It call the visit method from the guest object.
|
|
|
It initializes a new PropertyName.
- Note
- The name content can be given using XPath syntax.
|
| PropertyName (const std::string &name) |
|
| ~PropertyName () |
| Destructor.
|
|
|
Methods used to get or set properties.
|
void | setName (const std::string &name) |
| It sets the property name.
|
|
const std::string & | getName () const |
| It returns the property name.
|
|
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.
- See also
- Expression, SortProperty, DistanceBuffer, BBOXOp, BinarySpatialOp, PropertyIsLike, PropertyIsNull
Definition at line 54 of file PropertyName.h.
◆ ReturnType
◆ VisitorType
◆ PropertyName()
te::fe::PropertyName::PropertyName |
( |
const std::string & |
name | ) |
|
◆ ~PropertyName()
te::fe::PropertyName::~PropertyName |
( |
| ) |
|
◆ accept()
It call the visit method from the guest object.
- Parameters
-
guest | The guest or visitor. |
- Returns
- Any valid value define by the template type R.
◆ clone()
Expression * te::fe::PropertyName::clone |
( |
| ) |
const |
|
virtual |
It returns a clone of this object.
- Returns
- A clone of this object.
Implements te::fe::Expression.
◆ getName()
const std::string & te::fe::PropertyName::getName |
( |
| ) |
const |
It returns the property name.
- Returns
- The property name.
◆ setName()
void te::fe::PropertyName::setName |
( |
const std::string & |
name | ) |
|
It sets the property name.
- Parameters
-
◆ m_name
std::string te::fe::PropertyName::m_name |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/fe/PropertyName.h