te::fe::PropertyName Class Referenceabstract

This class is used to encode the name of any property of an object. More...

#include <PropertyName.h>

Inheritance diagram for te::fe::PropertyName:
te::fe::Expression te::common::BaseVisitable< Visitor >

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.

Note
The name content can be given using XPath syntax.
 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.

Expressionclone () const
 It returns a clone of this object. More...
 

Private Attributes

std::string m_name
 Property name. (Mandatory) More...
 

Detailed Description

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.

Member Typedef Documentation

◆ ReturnType

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

Definition at line 58 of file BaseVisitable.h.

◆ VisitorType

typedef Visitor te::common::BaseVisitable< Visitor , void >::VisitorType
inherited

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

◆ PropertyName()

te::fe::PropertyName::PropertyName ( const std::string &  name)

◆ ~PropertyName()

te::fe::PropertyName::~PropertyName ( )

Destructor.

Member Function Documentation

◆ accept()

virtual ReturnType te::common::BaseVisitable< Visitor , 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.

◆ 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
nameThe property name.

Member Data Documentation

◆ m_name

std::string te::fe::PropertyName::m_name
private

Property name. (Mandatory)

Definition at line 111 of file PropertyName.h.


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