A class that models a literal for double values. More...
#include <LiteralDouble.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 | LiteralDouble (te::dt::AbstractData *v) |
| Constructor. More... | |
| LiteralDouble (const te::dt::AbstractData &v) | |
| Constructor. More... | |
| LiteralDouble (const double &v) | |
| Constructor. More... | |
| LiteralDouble (const LiteralDouble &rhs) | |
| Copy constructor. More... | |
| LiteralDouble & | operator= (const LiteralDouble &rhs) |
| void | setValue (te::dt::AbstractData *v) |
| It sets the value associated to the literal. More... | |
| ~LiteralDouble () | |
| Destructor. More... | |
Protected Attributes | |
| std::auto_ptr< te::dt::AbstractData > | m_value |
A class that models a literal for double values.
Definition at line 43 of file LiteralDouble.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
| te::da::LiteralDouble::LiteralDouble | ( | te::dt::AbstractData * | v | ) |
Constructor.
| v | The double value. The literal will take its ownership |
Definition at line 30 of file LiteralDouble.cpp.
| te::da::LiteralDouble::LiteralDouble | ( | const te::dt::AbstractData & | v | ) |
| te::da::LiteralDouble::LiteralDouble | ( | const double & | v | ) |
| te::da::LiteralDouble::LiteralDouble | ( | const LiteralDouble & | rhs | ) |
Copy constructor.
Definition at line 45 of file LiteralDouble.cpp.
| te::da::LiteralDouble::~LiteralDouble | ( | ) |
Destructor.
Definition at line 50 of file LiteralDouble.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 61 of file LiteralDouble.cpp.
|
inherited |
It returns the value associated to the literal.
Definition at line 65 of file Literal.cpp.
Referenced by te::qt::widgets::DataSetTableView::changeColumnData(), te::da::SpatialRestrictionVisitor::getGeometryRestriction(), te::serialize::xml::Save(), te::ado::SQLVisitor::visit(), te::pgis::SQLVisitor::visit(), and te::da::SQLVisitor::visit().
| te::da::LiteralDouble & te::da::LiteralDouble::operator= | ( | const LiteralDouble & | rhs | ) |
Assignment operator.
Definition at line 54 of file LiteralDouble.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=().