fltk::AssociationFunctor Class Reference

Inherited by GlueFunctor, and keyCompareFunctor.

List of all members.


Detailed Description

Class used by the foreach() functions.

Base class for the association functor that is used in foreach(). If you want to supply your specific actions to do with the associated data found by the foreach() functions you need to derive from this class and provide a new handle function.


Public Member Functions

virtual bool handle (const AssociationType &, const Widget *, void *data)=0


Member Function Documentation

virtual bool fltk::AssociationFunctor::handle const AssociationType ,
const Widget ,
void *  data
[pure virtual]
 

For each found association this function is called. If the function returns true the loop is aborted and the data pointer for the current association is returned


Fri Apr 2 15:19:54 2010. FLTK ©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.