te::se::MapItem Class Referenceabstract

#include <MapItem.h>

Inheritance diagram for te::se::MapItem:
te::fe::Expression te::common::BaseVisitable< Visitor >

Public Types

typedef void ReturnType
 
typedef Visitor VisitorType
 

Public Member Functions

virtual ReturnType accept (VisitorType &guest) const =0
 It call the visit method from the guest object. More...
 
virtual MapItemclone () const
 It returns a clone of this object. More...
 
 MapItem (const MapItem &rhs)
 No copy constructor allowed. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 MapItem ()
 It initializes a new MapItem. More...
 
 ~MapItem ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

double getData () const
 
void setData (const double &d)
 
ParameterValuegetValue () const
 
void setValue (ParameterValue *v)
 
std::string getTitle () const
 
void setTitle (const std::string &title)
 

Private Member Functions

Not Allowed Methods

No copy allowed.

MapItemoperator= (const MapItem &rhs)
 No assignment operator allowed. More...
 

Private Attributes

double m_data
 Mandatory. More...
 
std::string m_title
 
ParameterValuem_value
 Mandatory. More...
 

Detailed Description

See also
te::fe::Expression, ParameterValue, Recode

Definition at line 50 of file MapItem.h.

Member Typedef Documentation

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

Definition at line 58 of file BaseVisitable.h.

typedef Visitor te::common::BaseVisitable< Visitor , void >::VisitorType
inherited

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

te::se::MapItem::MapItem ( )

It initializes a new MapItem.

Definition at line 30 of file MapItem.cpp.

Referenced by clone().

te::se::MapItem::~MapItem ( )

Destructor.

Definition at line 47 of file MapItem.cpp.

References m_value.

te::se::MapItem::MapItem ( const MapItem rhs)

No copy constructor allowed.

Parameters
rhsThe other MapItem.

Definition at line 37 of file MapItem.cpp.

References te::se::ParameterValue::clone(), m_data, m_title, and m_value.

Member Function Documentation

virtual ReturnType te::common::BaseVisitable< Visitor , 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.
te::se::MapItem * te::se::MapItem::clone ( ) const
virtual

It returns a clone of this object.

Returns
A clone of this object.

Implements te::fe::Expression.

Definition at line 52 of file MapItem.cpp.

References MapItem().

double te::se::MapItem::getData ( ) const

Definition at line 68 of file MapItem.cpp.

References m_data.

Referenced by te::se::serialize::Save().

std::string te::se::MapItem::getTitle ( ) const

Definition at line 78 of file MapItem.cpp.

References m_title.

Referenced by te::se::serialize::Save().

te::se::ParameterValue * te::se::MapItem::getValue ( ) const

Definition at line 73 of file MapItem.cpp.

References m_value.

Referenced by te::se::serialize::Save().

MapItem& te::se::MapItem::operator= ( const MapItem rhs)
private

No assignment operator allowed.

Parameters
rhsThe other MapItem.
Returns
A reference for this.
void te::se::MapItem::setData ( const double &  d)
void te::se::MapItem::setTitle ( const std::string &  title)
void te::se::MapItem::setValue ( ParameterValue v)

Member Data Documentation

double te::se::MapItem::m_data
private

Mandatory.

Definition at line 120 of file MapItem.h.

Referenced by getData(), MapItem(), and setData().

std::string te::se::MapItem::m_title
private

Definition at line 122 of file MapItem.h.

Referenced by getTitle(), MapItem(), and setTitle().

ParameterValue* te::se::MapItem::m_value
private

Mandatory.

Definition at line 121 of file MapItem.h.

Referenced by getValue(), MapItem(), setValue(), and ~MapItem().


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