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

#include <eventdata.h>

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

Public Member Functions

 EventSizeIterator (void)
 
 EventSizeIterator (const EventData &ed, int index)
 
 EventSizeIterator (const EventSizeIterator &p)
 
 EventSizeIterator (const EventIterator &p)
 
 ~EventSizeIterator (void)
 
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 size.

Author
Jan Benda
Version
1.2

Constructor & Destructor Documentation

EventSizeIterator ( void  )
inline

Constructs an empty invalid iterator for an EventData.

EventSizeIterator ( const EventData ed,
int  index 
)
inline

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

EventSizeIterator ( const EventSizeIterator p)
inline

Copy constructor.

EventSizeIterator ( const EventIterator p)
inline

Cast constructor.

~EventSizeIterator ( void  )
inline

Destructor.

Member Function Documentation

double operator* ( void  ) const
inline

Returns the size of the event. If there is an extra buffer for event sizes, the size is taken from that buffer. Otherwise the value of the data element where the iterator points to is returned.

double operator[] ( int  n) const
inline

Returns the size of the n th event. If there is an extra buffer for event sizes, the size is taken from that buffer. Otherwise the value of the data element where the iterator points to is returned.


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