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

#include <eosim/utils/ceventvector.hpp>

List of all members.


Detailed Description

Vector of C Events.

Author:
Sebastián Alaggia
Version:
1.0.1
Date:
2005
This container stores CEvents in a vector. It is used by CCalendar to register CEvent.


Public Member Functions

 CEventVector ()
 The constructor creates an empty CEventVector.
 ~CEventVector ()
 The destructor of CEventVector. This operation doesn’t delete any CEvents stored.
void push (core::CEvent *elem)
 This operation adds elem at the end of the vector.
void remove (unsigned i)
 This operation remove the element whose position in the vector is i.
core::CEventoperator[] (unsigned int i)
 This operation returns the CEvent whose position in the vector is i.
unsigned int size ()
 This operation returns the size of the vector.


Constructor & Destructor Documentation

CEventVector::~CEventVector (  ) 

The destructor of CEventVector. This operation doesn’t delete any CEvents stored.

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


Member Function Documentation

CEvent * CEventVector::operator[] ( unsigned int  i  ) 

This operation returns the CEvent whose position in the vector is i.

Note:
The use of this operation is either cVect[i] or cVect.operator[](i).

Warning:
i must be within the limits of the vector.


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