A class that models a literal for ByteArray values. More...
#include <LiteralByteArray.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 | LiteralByteArray (te::dt::ByteArray *b) |
Constructor. More... | |
LiteralByteArray (const te::dt::ByteArray &b) | |
Constructor. More... | |
LiteralByteArray (const LiteralByteArray &rhs) | |
Copy constructor. More... | |
LiteralByteArray & | operator= (const LiteralByteArray &rhs) |
void | setValue (te::dt::AbstractData *v) |
It sets the value associated to the literal. More... | |
~LiteralByteArray () | |
Destructor. More... | |
Protected Attributes | |
std::auto_ptr< te::dt::AbstractData > | m_value |
A class that models a literal for ByteArray values.
This class is just a syntatic-suggar.
Definition at line 48 of file LiteralByteArray.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
TE_DEFINE_VISITABLE te::da::LiteralByteArray::LiteralByteArray | ( | te::dt::ByteArray * | b | ) |
Constructor.
b | The ByteArray value. |
te::da::LiteralByteArray::LiteralByteArray | ( | const te::dt::ByteArray & | b | ) |
Constructor.
b | The ByteArray value. |
te::da::LiteralByteArray::LiteralByteArray | ( | const LiteralByteArray & | rhs | ) |
Copy constructor.
te::da::LiteralByteArray::~LiteralByteArray | ( | ) |
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.
Reimplemented from te::da::Literal.
|
inherited |
It returns the value associated to the literal.
LiteralByteArray& te::da::LiteralByteArray::operator= | ( | const LiteralByteArray & | 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 |