Public Member Functions | |
bool | addEvent (Event *Ev) |
bool | getEventsBetween (const DateTime BeginDate, const DateTime EndDate, EventsCollection *Events) |
std::list< Event * > * | getEventsList () |
int | getCount () const |
void | clear () |
bool openfluid::core::EventsCollection::addEvent | ( | Event * | Ev | ) |
Inserts an event in the event collection, ordered by date
void openfluid::core::EventsCollection::clear | ( | ) | [inline] |
Clears the event collection
int openfluid::core::EventsCollection::getCount | ( | ) | const [inline] |
Returns number of events in the event collection
bool openfluid::core::EventsCollection::getEventsBetween | ( | const DateTime | BeginDate, | |
const DateTime | EndDate, | |||
EventsCollection * | Events | |||
) |
Returns an event collection extracted from the current event collection, taking into account a time period If some events are already in the given collection, they are not deleted. Events matching the period are appended at the end of the given collection
std::list<Event*>* openfluid::core::EventsCollection::getEventsList | ( | ) | [inline] |
Returns the event collection as a list