A class that models the name of any property of an object. More...
#include <PropertyName.h>
Public Types | |
| typedef R | ReturnType |
| typedef QueryVisitor | VisitorType |
Public Member Functions | |
| virtual ReturnType | accept (VisitorType &guest) const =0 |
| It call the visit method from the guest object. More... | |
| Expression * | clone () const |
| It creates a new copy of this expression. More... | |
| const std::string & | getName () const |
| It returns the property name. More... | |
| PropertyName & | operator= (const PropertyName &rhs) |
| TE_DEFINE_VISITABLE | PropertyName (const std::string &name) |
| Constructor. More... | |
| PropertyName (const PropertyName &rhs) | |
| Copy constructor. More... | |
| void | setName (const std::string &name) |
| It sets the property name. More... | |
| ~PropertyName () | |
| Destructor. More... | |
Private Attributes | |
| std::string | m_name |
| The property name. More... | |
A class that models 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 particualr instance of an object.
Definition at line 50 of file PropertyName.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
|
inline |
| te::da::PropertyName::PropertyName | ( | const PropertyName & | rhs | ) |
Copy constructor.
|
inline |
Destructor.
Definition at line 67 of file PropertyName.h.
|
pure virtualinherited |
It call the visit method from the guest object.
| guest | The guest or visitor. |
|
virtual |
It creates a new copy of this expression.
Implements te::da::Expression.
|
inline |
It returns the property name.
Definition at line 80 of file PropertyName.h.
| PropertyName& te::da::PropertyName::operator= | ( | const PropertyName & | rhs | ) |
Assignment operator.
|
inline |
It sets the property name.
| name | The property name. |
Definition at line 87 of file PropertyName.h.
|
private |
The property name.
Definition at line 91 of file PropertyName.h.