A class that models a literal for Date and Time values. More...
#include <LiteralDateTime.h>
  
 Public Types | |
| typedef R | 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 | LiteralDateTime (te::dt::DateTime *d) | 
| Constructor.  More... | |
| LiteralDateTime (const te::dt::DateTime &d) | |
| Constructor.  More... | |
| LiteralDateTime (const LiteralDateTime &rhs) | |
| Copy constructor.  More... | |
| LiteralDateTime & | operator= (const LiteralDateTime &rhs) | 
| void | setValue (te::dt::AbstractData *v) | 
| It sets the value associated to the literal.  More... | |
| ~LiteralDateTime () | |
| Destructor.  More... | |
Protected Attributes | |
| std::auto_ptr < te::dt::AbstractData >  | m_value | 
A class that models a literal for Date and Time values.
This class is just a syntatic-suggar.
Definition at line 48 of file LiteralDateTime.h.
      
  | 
  inherited | 
Definition at line 58 of file BaseVisitable.h.
      
  | 
  inherited | 
Definition at line 57 of file BaseVisitable.h.
| te::da::LiteralDateTime::LiteralDateTime | ( | te::dt::DateTime * | d | ) | 
Constructor.
| g | The geometry value. | 
Definition at line 30 of file LiteralDateTime.cpp.
| te::da::LiteralDateTime::LiteralDateTime | ( | const te::dt::DateTime & | d | ) | 
| te::da::LiteralDateTime::LiteralDateTime | ( | const LiteralDateTime & | rhs | ) | 
Copy constructor.
Definition at line 40 of file LiteralDateTime.cpp.
| te::da::LiteralDateTime::~LiteralDateTime | ( | ) | 
Destructor.
Definition at line 45 of file LiteralDateTime.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 LiteralDateTime.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::LiteralDateTime & te::da::LiteralDateTime::operator= | ( | const LiteralDateTime & | rhs | ) | 
Assignment operator.
Definition at line 49 of file LiteralDateTime.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=().