libFAUDES

Sections

Index

faudes::EventRelabelMap Class Reference

Rti convenience wrapper for relabeling maps. More...

#include <op_observercomputation.h>

List of all members.

Public Member Functions

 EventRelabelMap (void)
 EventRelabelMap (const EventRelabelMap &rOther)
virtual ~EventRelabelMap (void)
virtual EventRelabelMapNew (void) const
 Construct on heap.
virtual EventRelabelMapCopy (void) const
 Construct on heap.
virtual void Clear (void)
 Clear configuration data.
const std::map< Idx, std::set
< Idx > > & 
STLMap (void) const
std::map< Idx, std::set< Idx > > & STLMap (void)
void STLMap (const std::map< Idx, std::set< Idx > > &rMap)

Protected Attributes

std::map< Idx, std::set< Idx > > mMap

Detailed Description

Rti convenience wrapper for relabeling maps.

The observer plugin uses an STL map from integers to sets of integers as re-labeling map. In order to support this data type in the libfaudes run-time interface, we provide a wrapper class that is derived from faudes Type. The implementation is minimla (no token io). Later revisions may use a faudes set with set valued attributes.

Definition at line 1097 of file op_observercomputation.h.


Constructor & Destructor Documentation

faudes::EventRelabelMap::EventRelabelMap ( void   )  [inline]

Definition at line 1100 of file op_observercomputation.h.

faudes::EventRelabelMap::EventRelabelMap ( const EventRelabelMap rOther  )  [inline]

Definition at line 1101 of file op_observercomputation.h.

virtual faudes::EventRelabelMap::~EventRelabelMap ( void   )  [inline, virtual]

Definition at line 1102 of file op_observercomputation.h.


Member Function Documentation

virtual void faudes::EventRelabelMap::Clear ( void   )  [inline, virtual]

Clear configuration data.

Derived classes should re-implement this method to ensure some consistent configuration data.

Reimplemented from faudes::Type.

Definition at line 1105 of file op_observercomputation.h.

virtual EventRelabelMap* faudes::EventRelabelMap::Copy ( void   )  const [inline, virtual]

Construct on heap.

Technically not a constructor, this function creates an object with the same type Type and the same configuration. Copy() is defined as a virtual function and derived classes are meant to re-implement with the appropiate copy constructor. This can be done via the provided macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION. As with new, it is the callers reponsabilty to delete the object when no longer needed.

Returns:
Pointer to new Type object

Reimplemented from faudes::Type.

Definition at line 1104 of file op_observercomputation.h.

virtual EventRelabelMap* faudes::EventRelabelMap::New ( void   )  const [inline, virtual]

Construct on heap.

Technically not a constructor, this function creates an object with the same type Type. New() is defined as a virtual function and derived classes are meant to re-implement with the appropiate constructor. This can be done via the provided macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION. As with new, it is the callers reponsabilty to delete the object when no longer needed.

Returns:
Pointer to new Type object

Reimplemented from faudes::Type.

Definition at line 1103 of file op_observercomputation.h.

void faudes::EventRelabelMap::STLMap ( const std::map< Idx, std::set< Idx > > &  rMap  )  [inline]

Definition at line 1109 of file op_observercomputation.h.

std::map<Idx, std::set<Idx> >& faudes::EventRelabelMap::STLMap ( void   )  [inline]

Definition at line 1108 of file op_observercomputation.h.

const std::map<Idx, std::set<Idx> >& faudes::EventRelabelMap::STLMap ( void   )  const [inline]

Definition at line 1107 of file op_observercomputation.h.


Member Data Documentation

std::map<Idx, std::set<Idx> > faudes::EventRelabelMap::mMap [protected]

Definition at line 1109 of file op_observercomputation.h.


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

libFAUDES 2.18b --- 2010-12-17 --- c++ source docu by doxygen 1.6.3