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 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 | ) |
te::fe::PropertyName::~PropertyName | ( | ) |
Destructor.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
virtual |
const std::string& te::fe::PropertyName::getName | ( | ) | const |
It returns the property name.
void te::fe::PropertyName::setName | ( | const std::string & | name | ) |
It sets the property name.
name | The property name. |
|
private |
Property name. (Mandatory)
Definition at line 111 of file PropertyName.h.