Relacs Numerics Library  0.9.8
Public Member Functions | List of all members
EventFrequencyIterator Class Reference

#include <eventdata.h>

Inheritance diagram for EventFrequencyIterator:
Inheritance graph
[legend]
Collaboration diagram for EventFrequencyIterator:
Collaboration graph
[legend]

Public Member Functions

 EventFrequencyIterator (void)
 
 EventFrequencyIterator (const EventData &ed, int index)
 
 EventFrequencyIterator (const EventFrequencyIterator &p)
 
 EventFrequencyIterator (const EventIterator &p)
 
 ~EventFrequencyIterator (void)
 
bool operator! (void) const
 
double operator* (void) const
 
double operator[] (int n) const
 
- Public Member Functions inherited from EventIterator
 EventIterator (void)
 
 EventIterator (const EventData &ed, int index)
 
 EventIterator (const EventIterator &p)
 
 ~EventIterator (void)
 
EventIteratoroperator= (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 EventIteratoroperator++ (void)
 
const EventIteratoroperator-- (void)
 
const EventIteratoroperator+= (unsigned int incr)
 
const EventIteratoroperator+= (signed int incr)
 
const EventIteratoroperator+= (unsigned long incr)
 
const EventIteratoroperator+= (signed long incr)
 
const EventIteratoroperator+= (double time)
 
const EventIteratoroperator-= (unsigned int decr)
 
const EventIteratoroperator-= (signed int decr)
 
const EventIteratoroperator-= (unsigned long decr)
 
const EventIteratoroperator-= (signed long decr)
 
const EventIteratoroperator-= (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 EventDataevents (void) const
 

Additional Inherited Members

- Protected Attributes inherited from EventIterator
int Index
 
const EventDataED
 

Detailed Description

Input Iterator for EventData which returns the event frequency.

Author
Jan Benda
Version
1.2

Constructor & Destructor Documentation

EventFrequencyIterator ( void  )
inline

Constructs an empty invalid iterator for an EventData.

EventFrequencyIterator ( const EventData ed,
int  index 
)
inline

Constructs an valid iterator for an EventData ed pointing to element index.

Copy constructor.

EventFrequencyIterator ( const EventIterator p)
inline

Cast constructor.

~EventFrequencyIterator ( void  )
inline

Destructor.

Member Function Documentation

bool operator! ( void  ) const
inline

Returns true if this is an valid iterator, i.e. it points to an existing element.

double operator* ( void  ) const
inline

Returns the frequency of the preceeding event interval.

double operator[] ( int  n) const
inline

Returns the frequency of the event interval [*i+n-1, *i+n].


The documentation for this class was generated from the following file: