te::da::LiteralInt32 Class Referenceabstract

#include <LiteralInt32.h>

Inheritance diagram for te::da::LiteralInt32:
te::da::Literal te::da::Expression te::common::BaseVisitable< QueryVisitor >

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...
 
Expressionclone () const
 It creates a new copy of this expression. More...
 
te::dt::AbstractDatagetValue () const
 It returns the value associated to the literal. More...
 
TE_DEFINE_VISITABLE LiteralInt32 (boost::int32_t i)
 Constructor. More...
 
 LiteralInt32 (const LiteralInt32 &rhs)
 Copy constructor. More...
 
LiteralInt32operator= (const LiteralInt32 &rhs)
 
void setValue (te::dt::AbstractData *v)
 It sets the value associated to the literal. More...
 
 ~LiteralInt32 ()
 Destructor. More...
 

Protected Attributes

std::auto_ptr< te::dt::AbstractDatam_value
 

Detailed Description

Definition at line 49 of file LiteralInt32.h.

Member Typedef Documentation

typedef void te::common::BaseVisitable< QueryVisitor , void >::ReturnType
inherited

Definition at line 58 of file BaseVisitable.h.

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

TE_DEFINE_VISITABLE te::da::LiteralInt32::LiteralInt32 ( boost::int32_t  i)

Constructor.

Parameters
iThe integer value.
te::da::LiteralInt32::LiteralInt32 ( const LiteralInt32 rhs)

Copy constructor.

te::da::LiteralInt32::~LiteralInt32 ( )
inline

Destructor.

Definition at line 66 of file LiteralInt32.h.

Member Function Documentation

virtual ReturnType te::common::BaseVisitable< QueryVisitor , void >::accept ( VisitorType guest) const
pure virtualinherited

It call the visit method from the guest object.

Parameters
guestThe guest or visitor.
Returns
Any valid value define by the template type R.
Expression* te::da::LiteralInt32::clone ( ) const
virtual

It creates a new copy of this expression.

Reimplemented from te::da::Literal.

te::dt::AbstractData* te::da::Literal::getValue ( ) const
inherited

It returns the value associated to the literal.

LiteralInt32& te::da::LiteralInt32::operator= ( const LiteralInt32 rhs)

Assignment operator.

void te::da::Literal::setValue ( te::dt::AbstractData v)
inherited

It sets the value associated to the literal.

Parameters
vThe value to be assigned to the literal. The literal takes its ownership.

Member Data Documentation

std::auto_ptr<te::dt::AbstractData> te::da::Literal::m_value
protectedinherited

Definition at line 97 of file Literal.h.


The documentation for this class was generated from the following file: