Classes Files

Wombat::MamaSymbolListIteratorHandler

More…

#include <MamaSymbolListHandlerTypes.h>

Public Functions

  Name
virtual ~MamaSymbolListIteratorHandler()
virtual void onMember(MamaSymbolList & symbolList, MamaSymbolListMember & member, void * iterateClosure) =0
virtual void onComplete(MamaSymbolList & symbolList, void * iterateClosure)

Detailed Description

class Wombat::MamaSymbolListIteratorHandler;

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.

Public Functions Documentation

function ~MamaSymbolListIteratorHandler

inline virtual ~MamaSymbolListIteratorHandler()

function onMember

virtual void onMember(
    MamaSymbolList & symbolList,
    MamaSymbolListMember & member,
    void * iterateClosure
) =0

Parameters:

  • symbolList The symbol list.
  • member The member of the symbol list.
  • iterateClosure The closure argument to MamaSymbolList::iterate().

Method invoked for every member in the symbol list.

function onComplete

inline virtual void onComplete(
    MamaSymbolList & symbolList,
    void * iterateClosure
)

Parameters:

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


Updated on 2023-03-31 at 15:29:26 +0100