OpenMAMA C++ API
Wombat::MamaSymbolListIteratorHandler Class Referenceabstract

The MamaSymbolListIteratorHandler interface. More...

#include <MamaSymbolListHandlerTypes.h>

Public Member Functions

virtual ~MamaSymbolListIteratorHandler ()
 
virtual void onMember (MamaSymbolList &symbolList, MamaSymbolListMember &member, void *iterateClosure)=0
 Method invoked for every member in the symbol list. More...
 
virtual void onComplete (MamaSymbolList &symbolList, void *iterateClosure)
 Method invoked after all symbol list members have been iterated over. More...
 

Detailed Description

The MamaSymbolListIteratorHandler interface.

Instances of subclasses of this class can be passed to the MamaSymbolList::iterate() method and the onMember() interface will be invoked for each member in the list.

Constructor & Destructor Documentation

§ ~MamaSymbolListIteratorHandler()

virtual Wombat::MamaSymbolListIteratorHandler::~MamaSymbolListIteratorHandler ( )
inlinevirtual

Member Function Documentation

§ onMember()

virtual void Wombat::MamaSymbolListIteratorHandler::onMember ( MamaSymbolList symbolList,
MamaSymbolListMember member,
void *  iterateClosure 
)
pure virtual

Method invoked for every member in the symbol list.

Parameters
symbolListThe symbol list.
memberThe member of the symbol list.
iterateClosureThe closure argument to MamaSymbolList::iterate().

§ onComplete()

virtual void Wombat::MamaSymbolListIteratorHandler::onComplete ( MamaSymbolList symbolList,
void *  iterateClosure 
)
inlinevirtual

Method invoked after all symbol list members have been iterated over.

Parameters
symbolListThe symbol list.
iterateClosureThe closure argument to MamaSymbolList::iterate().