#include <EBFeventIterator.h>
Inheritance diagram for EBFeventIterator:
Public Types | |
enum | { ERR_NonEBFevent = 1 } |
Public Member Functions | |
EBFeventIterator (EBFevent *start, EBFevent *end) | |
Constructor used with an array of EBFevents. | |
EBFeventIterator (char *buffer, unsigned size, bool swap=!DFC_BIG_ENDIAN) | |
Constructor used with an array of EBFevents passed in a string buffer. | |
EBFeventIterator () | |
Default constructor used with an array of EBFevents. | |
unsigned | iterate (EBFevent *start, EBFevent *end) |
Class for iterating over a buffer of EBFevent(s). Iterate over the EBFevents in the array from start to end. | |
unsigned | iterate (char *buffer, unsigned size, bool swap=!DFC_BIG_ENDIAN) |
Iterate over the EBFevents in the passed in buffer from start to end. | |
unsigned | iterate () |
Iterate over the EBFevents in the array from start to end. | |
virtual int | handleError (EBFevent *evt, unsigned code, unsigned p1=0, unsigned p2=0) const |
Handle all errors possible in EBFeventIterator. | |
virtual int | process (EBFevent *evt)=0 |
const EBFevent * | start () const |
Return a pointer to the first event in the array. | |
const EBFevent * | end () const |
Return a pointer to the first event after the end of the array. | |
unsigned | status () const |
Return the iteration status. |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Constructor used with an array of EBFevents.
|
|
Constructor used with an array of EBFevents passed in a string buffer.
|
|
Return a pointer to the first event after the end of the array.
|
|
Handle all errors possible in EBFeventIterator. This method is used to handle errors occurring during the iteration over an EBFevent. By default it does nothing, however it is virtual and is able to be overridden by the user.
Reimplemented in LDBI_EBFeventIterator. |
|
Iterate over the EBFevents in the array from start to end. This method is used when a constructor setting up the array parameters has been used.
|
|
Iterate over the EBFevents in the passed in buffer from start to end. This method is used when a buffer containing EBFevents is provided by the caller.
|
|
Class for iterating over a buffer of EBFevent(s). Iterate over the EBFevents in the array from start to end. This method is used when the array parameters are passed on the fly.
|
|
Virtual method for calling the application back with an EBFevent Implemented in LDBI_EBFeventIterator. |
|
Return a pointer to the first event in the array.
|
|
Return the iteration status.
|