eosim::utils::BEventMap Class Reference
[Collections]

#include <eosim/utils/beventmap.hpp>

List of all members.


Detailed Description

Mapping of B Events.

Author:
Sebastián Alaggia
Version:
1.0.1
Date:
2005
This container stores BEvents, using their name as key. It is used by Model to register BEvent.


Public Member Functions

 BEventMap ()
 The constructor creates an empty BEventMap.
 ~BEventMap ()
 The destructor of BEventMap.
void put (core::BEvent *elem)
 This operation adds elem to the map.
void remove (std::string key)
 This operation remove the element whose name is key.
core::BEventoperator[] (std::string key)
 This operation finds the BEvent whose name is key.
unsigned int size ()
 This operation returns the size of the map.


Constructor & Destructor Documentation

BEventMap::~BEventMap (  ) 

The destructor of BEventMap.

Note:
This operation doesn’t delete any BEvents stored.


Member Function Documentation

void BEventMap::put ( core::BEvent elem  ) 

This operation adds elem to the map.

Warning:
The name of the element stored must be unique.


Generated on Tue Oct 14 16:49:06 2008 for EOSimulator by  doxygen 1.5.2