#include <LiteralInt16.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 | LiteralInt16 (boost::int16_t i) |
Constructor. More... | |
LiteralInt16 (const LiteralInt16 &rhs) | |
Copy constructor. More... | |
LiteralInt16 & | operator= (const LiteralInt16 &rhs) |
void | setValue (te::dt::AbstractData *v) |
It sets the value associated to the literal. More... | |
~LiteralInt16 () | |
Destructor. More... | |
Protected Attributes | |
std::auto_ptr< te::dt::AbstractData > | m_value |
Definition at line 49 of file LiteralInt16.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
TE_DEFINE_VISITABLE te::da::LiteralInt16::LiteralInt16 | ( | boost::int16_t | i | ) |
Constructor.
i | The integer value. |
te::da::LiteralInt16::LiteralInt16 | ( | const LiteralInt16 & | rhs | ) |
Copy constructor.
|
inline |
Destructor.
Definition at line 66 of file LiteralInt16.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.
LiteralInt16& te::da::LiteralInt16::operator= | ( | const LiteralInt16 & | 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 |