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