class fileEventiterator: public Eventiterator

The fileEventiterator reads the event data from a data file on disk.

Inheritance:


Public Methods

[more] fileEventiterator(const char *filename)
This simple constructor just needs the file name of the data file.
[more] fileEventiterator(const char *filename, int &status)
This constructor gives you a status so you can learn that the creation of the fileEventiterator object was successful.
[more]Event* getNextEvent()
this member function returns a pointer to the Event object, or NULL if there are no events left


Inherited from Eventiterator:

Public Methods

ovirtual int* getNextEventData()


Documentation

The fileEventiterator reads the event data from a data file on disk. It creates and returns pointers to Event objects. At the end of the file it returns 0 when there are no events left.
o fileEventiterator(const char *filename)
This simple constructor just needs the file name of the data file.

o fileEventiterator(const char *filename, int &status)
This constructor gives you a status so you can learn that the creation of the fileEventiterator object was successful. If the status is not 0, something went wrong and you should delete the object again.

oEvent* getNextEvent()
this member function returns a pointer to the Event object, or NULL if there are no events left


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.