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::da::LiteralGeom::LiteralGeom | ( | te::gm::Geometry * | g | ) |
Constructor.
| g | The geometry value. |
Definition at line 30 of file LiteralGeom.cpp.
| te::da::LiteralGeom::LiteralGeom | ( | const te::gm::Geometry & | g | ) |
| te::da::LiteralGeom::LiteralGeom | ( | const LiteralGeom & | rhs | ) |
Copy constructor.
Definition at line 40 of file LiteralGeom.cpp.
| te::da::LiteralGeom::~LiteralGeom | ( | ) |
Destructor.
Definition at line 45 of file LiteralGeom.cpp.
|
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.
Definition at line 56 of file LiteralGeom.cpp.
|
inherited |
It returns the value associated to the literal.
Definition at line 65 of file Literal.cpp.
Referenced by te::da::SpatialRestrictionVisitor::getGeometryRestriction(), te::serialize::xml::Save(), te::ado::SQLVisitor::visit(), te::pgis::SQLVisitor::visit(), and te::da::SQLVisitor::visit().
| te::da::LiteralGeom & te::da::LiteralGeom::operator= | ( | const LiteralGeom & | rhs | ) |
Assignment operator.
Definition at line 49 of file LiteralGeom.cpp.
References te::da::Literal::operator=().
|
inherited |
It sets the value associated to the literal.
| v | The value to be assigned to the literal. The literal takes its ownership. |
Definition at line 70 of file Literal.cpp.
|
protectedinherited |
Definition at line 97 of file Literal.h.
Referenced by te::da::Literal::Literal(), and te::da::Literal::operator=().