Relacs
0.9.8
|
#include <eventdata.h>
Public Member Functions | |
EventIterator (void) | |
EventIterator (const EventData &ed, int index) | |
EventIterator (const EventIterator &p) | |
~EventIterator (void) | |
EventIterator & | operator= (const EventIterator &p) |
bool | operator== (const EventIterator &p) const |
bool | operator!= (const EventIterator &p) const |
bool | operator< (const EventIterator &p) const |
bool | operator> (const EventIterator &p) const |
bool | operator<= (const EventIterator &p) const |
bool | operator>= (const EventIterator &p) const |
bool | operator! (void) const |
const EventIterator & | operator++ (void) |
const EventIterator & | operator-- (void) |
const EventIterator & | operator+= (unsigned int incr) |
const EventIterator & | operator+= (signed int incr) |
const EventIterator & | operator+= (unsigned long incr) |
const EventIterator & | operator+= (signed long incr) |
const EventIterator & | operator+= (double time) |
const EventIterator & | operator-= (unsigned int decr) |
const EventIterator & | operator-= (signed int decr) |
const EventIterator & | operator-= (unsigned long decr) |
const EventIterator & | operator-= (signed long decr) |
const EventIterator & | operator-= (double time) |
EventIterator | operator+ (unsigned int incr) const |
EventIterator | operator+ (signed int incr) const |
EventIterator | operator+ (unsigned long incr) const |
EventIterator | operator+ (signed long incr) const |
EventIterator | operator+ (double time) const |
EventIterator | operator- (unsigned int decr) const |
EventIterator | operator- (signed int decr) const |
EventIterator | operator- (unsigned long decr) const |
EventIterator | operator- (signed long decr) const |
EventIterator | operator- (double time) const |
int | operator- (const EventIterator &p) const |
double | operator* (void) const |
double | operator[] (int n) const |
int | index (void) const |
double | time (void) const |
const EventData & | events (void) const |
Protected Attributes | |
int | Index |
const EventData * | ED |
Iterator for EventData returning the event time.
|
inline |
Constructs an empty invalid iterator for an EventData.
|
inline |
Constructs an valid iterator for an EventData ed pointing to element index.
|
inline |
Copy constructor.
|
inline |
Destructor.
EventIterator & operator= | ( | const EventIterator & | p | ) |
Assigns p to this.
References EventIterator::ED, and EventIterator::Index.
|
inline |
Returns true if both iterators point to the same element of the same instance of an EventData.
References EventIterator::ED, and EventIterator::Index.
|
inline |
Returns true if the iterators do not point to the same element of the same instance of an EventData.
References EventIterator::ED, and EventIterator::Index.
|
inline |
Returns true if this points to an element preceeding the element where points to.
References EventIterator::ED, and EventIterator::Index.
|
inline |
Returns true if this points to an element succeeding the element where p points to.
References EventIterator::ED, and EventIterator::Index.
|
inline |
Returns true if this points to an element preceeding or equaling the element where this points to.
References EventIterator::ED, and EventIterator::Index.
|
inline |
Returns true if this points to an element succeeding or preceeding the element where this points to.
References EventIterator::ED, and EventIterator::Index.
|
inline |
Returns true if this is an valid iterator, i.e. it points to an existing element.
|
inline |
Increments the iterator to the next element.
|
inline |
Decrements the iterator to the previous element.
|
inline |
Increments the iterator by incr.
|
inline |
Increments the iterator by incr.
|
inline |
Increments the iterator by incr.
|
inline |
Increments the iterator by incr.
|
inline |
Sets the iterator to the element following the time of the event where the iterator is currrently pointing to plus time seconds.
|
inline |
Decrements the iterator by decr.
|
inline |
Decrements the iterator by decr.
|
inline |
Decrements the iterator by decr.
|
inline |
Decrements the iterator by decr.
|
inline |
Sets the iterator to the element following the time of the event where the iterator is currrently pointing to minus time seconds.
|
inline |
Adds incr to the iterator.
References EventIterator::Index.
|
inline |
Adds incr to the iterator.
References EventIterator::Index.
|
inline |
Adds incr to the iterator.
References EventIterator::Index.
|
inline |
Adds incr to the iterator.
References EventIterator::Index.
|
inline |
Returns an iterator pointing to the element following the time of the event where the iterator is currrently pointing to plus time seconds.
References EventIterator::Index.
|
inline |
Subtracts decr from the iterator.
References EventIterator::Index.
|
inline |
Subtracts decr from the iterator.
References EventIterator::Index.
|
inline |
Subtracts decr from the iterator.
References EventIterator::Index.
|
inline |
Subtracts decr from the iterator.
References EventIterator::Index.
|
inline |
Returns an iterator pointing to the element following the time of the event where the iterator is currrently pointing to minus time seconds.
References EventIterator::Index.
|
inline |
Returns the number of elements between the two iterators.
References EventIterator::ED, and EventIterator::Index.
|
inline |
Returns the time of the event where the iterator points to.
|
inline |
Returns the time of the event where the iterator + n points to.
|
inline |
Returns the index of the element where the iterator points to.
|
inline |
The time in seconds of the current event relative to time zero.
|
inline |
The event data where the iterator points in.
|
protected |
|
protected |