A class that models a literal for Envelope values. More...
#include <LiteralEnvelope.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... | |
int | getSRID () const |
It returns the envelope SRS id. More... | |
te::gm::Envelope * | getValue () const |
It returns the associated envelope value. More... | |
TE_DEFINE_VISITABLE | LiteralEnvelope (te::gm::Envelope *e, int srid) |
Constructor. More... | |
LiteralEnvelope (const te::gm::Envelope &e, int srid) | |
Constructor. More... | |
LiteralEnvelope (const LiteralEnvelope &rhs) | |
Copy constructor. More... | |
LiteralEnvelope & | operator= (const LiteralEnvelope &rhs) |
void | setSRID (int srid) |
It sets the envelope SRS id. More... | |
void | setValue (te::gm::Envelope *e) |
It sets the envelope value associated to the Literal. More... | |
~LiteralEnvelope () | |
Destructor. More... | |
Private Attributes | |
std::auto_ptr< te::gm::Envelope > | m_eval |
The envelope value. More... | |
int | m_srid |
The envelope SRS ID. More... | |
A class that models a literal for Envelope values.
Definition at line 51 of file LiteralEnvelope.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
TE_DEFINE_VISITABLE te::da::LiteralEnvelope::LiteralEnvelope | ( | te::gm::Envelope * | e, |
int | srid | ||
) |
Constructor.
e | The envelope value. |
srid | The envelope SRS. |
te::da::LiteralEnvelope::LiteralEnvelope | ( | const te::gm::Envelope & | e, |
int | srid | ||
) |
Constructor.
e | The envelope value. |
srid | The envelope SRS. |
te::da::LiteralEnvelope::LiteralEnvelope | ( | const LiteralEnvelope & | rhs | ) |
Copy constructor.
te::da::LiteralEnvelope::~LiteralEnvelope | ( | ) |
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.
Implements te::da::Expression.
|
inline |
It returns the envelope SRS id.
Definition at line 108 of file LiteralEnvelope.h.
te::gm::Envelope* te::da::LiteralEnvelope::getValue | ( | ) | const |
It returns the associated envelope value.
LiteralEnvelope& te::da::LiteralEnvelope::operator= | ( | const LiteralEnvelope & | rhs | ) |
Assignment operator.
|
inline |
It sets the envelope SRS id.
srid | The envelope SRS id. |
Definition at line 115 of file LiteralEnvelope.h.
void te::da::LiteralEnvelope::setValue | ( | te::gm::Envelope * | e | ) |
It sets the envelope value associated to the Literal.
e | The envelope value. |
|
private |
The envelope value.
Definition at line 119 of file LiteralEnvelope.h.
|
private |
The envelope SRS ID.
Definition at line 120 of file LiteralEnvelope.h.