
Public Member Functions | |
| bool | addEvent (DistributedEvent *Ev) |
| bool | getEventsBetween (const DateTime BeginDate, const DateTime EndDate, EventCollection *Events) |
| std::list< DistributedEvent * > * | getEventsList () |
| int | getCount () const |
| void | clear () |
| bool openfluid::core::EventCollection::addEvent | ( | DistributedEvent * | Ev | ) |
Inserts an event in the event collection, ordered by date
| void openfluid::core::EventCollection::clear | ( | ) | [inline] |
Clears the event collection
| int openfluid::core::EventCollection::getCount | ( | ) | const [inline] |
Returns number of events in the event collection
| bool openfluid::core::EventCollection::getEventsBetween | ( | const DateTime | BeginDate, | |
| const DateTime | EndDate, | |||
| EventCollection * | Events | |||
| ) |
Returns an event collection extracted from the current event collection, taking into account a time period
| std::list<DistributedEvent*>* openfluid::core::EventCollection::getEventsList | ( | ) | [inline] |
Returns the event collection as a list
Creative Commons By-NC-ND license