This class models a string Literal value. More...
#include <LiteralString.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 | LiteralString (const std::string &s) |
| Constructor. More... | |
| LiteralString (const LiteralString &rhs) | |
| Copy constructor. More... | |
| LiteralString & | operator= (const LiteralString &rhs) |
| void | setValue (te::dt::AbstractData *v) |
| It sets the value associated to the literal. More... | |
| ~LiteralString () | |
| Destructor. More... | |
Protected Attributes | |
| std::auto_ptr< te::dt::AbstractData > | m_value |
This class models a string Literal value.
Definition at line 46 of file LiteralString.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
| TE_DEFINE_VISITABLE te::da::LiteralString::LiteralString | ( | const std::string & | s | ) |
Constructor.
| s | The string value. |
| te::da::LiteralString::LiteralString | ( | const LiteralString & | rhs | ) |
Copy constructor.
|
inline |
Destructor.
Definition at line 63 of file LiteralString.h.
|
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.
| LiteralString& te::da::LiteralString::operator= | ( | const LiteralString & | 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 |