te::da::PropertyName Class Referenceabstract

A class that models the name of any property of an object. More...

#include <PropertyName.h>

Inheritance diagram for te::da::PropertyName:
te::da::Expression te::common::BaseVisitable< QueryVisitor >

Public Types

typedef void ReturnType
 
typedef QueryVisitor VisitorType
 

Public Member Functions

virtual ReturnType accept (VisitorType &guest) const =0
 It call the visit method from the guest object. More...
 
Expressionclone () const
 It creates a new copy of this expression. More...
 
const std::string & getName () const
 It returns the property name. More...
 
PropertyNameoperator= (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...
 

Detailed Description

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.

See also
Expression

Definition at line 50 of file PropertyName.h.

Member Typedef Documentation

typedef void te::common::BaseVisitable< QueryVisitor , void >::ReturnType
inherited

Definition at line 58 of file BaseVisitable.h.

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

TE_DEFINE_VISITABLE te::da::PropertyName::PropertyName ( const std::string &  name)
inline

Constructor.

Parameters
nameThe property name.

Definition at line 61 of file PropertyName.h.

te::da::PropertyName::PropertyName ( const PropertyName rhs)

Copy constructor.

te::da::PropertyName::~PropertyName ( )
inline

Destructor.

Definition at line 67 of file PropertyName.h.

Member Function Documentation

virtual ReturnType te::common::BaseVisitable< QueryVisitor , void >::accept ( VisitorType guest) const
pure virtualinherited

It call the visit method from the guest object.

Parameters
guestThe guest or visitor.
Returns
Any valid value define by the template type R.
Expression* te::da::PropertyName::clone ( ) const
virtual

It creates a new copy of this expression.

Implements te::da::Expression.

const std::string& te::da::PropertyName::getName ( ) const
inline

It returns the property name.

Returns
The property name.

Definition at line 80 of file PropertyName.h.

PropertyName& te::da::PropertyName::operator= ( const PropertyName rhs)

Assignment operator.

void te::da::PropertyName::setName ( const std::string &  name)
inline

It sets the property name.

Parameters
nameThe property name.

Definition at line 87 of file PropertyName.h.

Member Data Documentation

std::string te::da::PropertyName::m_name
private

The property name.

Definition at line 91 of file PropertyName.h.


The documentation for this class was generated from the following file: