#include <OSWcontributionIterator.h>
Collaboration diagram for OSWcontributionIterator:
Public Member Functions | |
OSWcontributionIterator (EBFevent *event, OSWcontribution *contribution) | |
Constructor for iterating over an Online Software contribution. | |
OSWcontributionIterator () | |
Do nothing constructor. | |
virtual int | handleError (OSWcontribution *contribution, unsigned code, unsigned p1=0, unsigned p2=0) const |
Handle all errors possible in OSWcontributionIterator. | |
unsigned | iterate () |
Iterate over the contributions in an OSWcontribution. | |
unsigned | iterate (EBFevent *event, OSWcontribution *contribution) |
Iterate over the contributions in an OSWcontribution. | |
virtual int | OSWtime (const struct timespec *ts, const OSWtimeBase *tb) const |
Virtual method for calling the application back with time data. | |
virtual int | OSW_time (EBFevent *event, OSWtimeContribution *contribution) const |
Virtual method for calling the application back with the time contribution. | |
virtual int | OSW_UDF (EBFevent *event, OSWcontribution *contribution) const |
Undefined Online Software contribution handler. | |
const EBFevent * | event () const |
const OSWcontribution * | contribution () const |
int | status () const |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Constructor for iterating over an Online Software contribution. This constructor caches the event and contribution provided by the caller.
|
|
Return a pointer to the OSWcontribution to be iterated over |
|
Return a pointer to the EBFevent containing this contribution |
|
Handle all errors possible in OSWcontributionIterator. This method is used to handle errors occurring during the iteration over an OSWcontribution. By default it does nothing, however it is virtual and is able to be overridden by the user.
|
|
Iterate over the contributions in an OSWcontribution.
|
|
Iterate over the contributions in an OSWcontribution.
|
|
Virtual method for calling the application back with the time contribution. The default implementation of this method calls the OSWtime pure virtual method. This is done to preserve the historical interface.
|
|
Undefined Online Software contribution handler.
|
|
Virtual method for calling the application back with time data.
|
|
Return the iteration status code |