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

◆ ReturnType

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

Definition at line 58 of file BaseVisitable.h.

◆ VisitorType

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

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

◆ MapItem() [1/2]

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

It initializes a new MapItem.

◆ ~MapItem()

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

Destructor.

◆ MapItem() [2/2]

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

No copy constructor allowed.

Parameters
rhsThe other MapItem.

Member Function Documentation

◆ accept()

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.

◆ clone()

virtual MapItem* te::se::MapItem::clone ( ) const
virtual

It returns a clone of this object.

Returns
A clone of this object.

Implements te::fe::Expression.

◆ getData()

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

◆ getTitle()

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

◆ getValue()

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

◆ operator=()

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

No assignment operator allowed.

Parameters
rhsThe other MapItem.
Returns
A reference for this.

◆ setData()

void te::se::MapItem::setData ( const double &  d)

◆ setTitle()

void te::se::MapItem::setTitle ( const std::string &  title)

◆ setValue()

void te::se::MapItem::setValue ( ParameterValue v)

Member Data Documentation

◆ m_data

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

Mandatory.

Definition at line 120 of file MapItem.h.

◆ m_title

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

Definition at line 122 of file MapItem.h.

◆ m_value

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

Mandatory.

Definition at line 121 of file MapItem.h.


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