A class that models a literal for Geometry values. More...
#include <LiteralGeom.h>
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... | |
Expression * | clone () const |
It creates a new copy of this expression. More... | |
te::dt::AbstractData * | getValue () const |
It returns the value associated to the literal. More... | |
TE_DEFINE_VISITABLE | LiteralGeom (te::gm::Geometry *g) |
Constructor. More... | |
LiteralGeom (const te::gm::Geometry &g) | |
Constructor. More... | |
LiteralGeom (const LiteralGeom &rhs) | |
Copy constructor. More... | |
LiteralGeom & | operator= (const LiteralGeom &rhs) |
void | setValue (te::dt::AbstractData *v) |
It sets the value associated to the literal. More... | |
~LiteralGeom () | |
Destructor. More... | |
Protected Attributes | |
std::auto_ptr< te::dt::AbstractData > | m_value |
A class that models a literal for Geometry values.
Definition at line 46 of file LiteralGeom.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
TE_DEFINE_VISITABLE te::da::LiteralGeom::LiteralGeom | ( | te::gm::Geometry * | g | ) |
Constructor.
g | The geometry value. |
te::da::LiteralGeom::LiteralGeom | ( | const te::gm::Geometry & | g | ) |
Constructor.
g | The geometry value. |
te::da::LiteralGeom::LiteralGeom | ( | const LiteralGeom & | rhs | ) |
Copy constructor.
te::da::LiteralGeom::~LiteralGeom | ( | ) |
Destructor.
|
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.
Reimplemented from te::da::Literal.
|
inherited |
It returns the value associated to the literal.
LiteralGeom& te::da::LiteralGeom::operator= | ( | const LiteralGeom & | rhs | ) |
Assignment operator.
|
inherited |
It sets the value associated to the literal.
v | The value to be assigned to the literal. The literal takes its ownership. |
|
protectedinherited |