Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

SPARK::TPredicateCallback Class Reference

Function wrapper class for predicate callbacks. More...

#include <callback.h>

Inheritance diagram for SPARK::TPredicateCallback:

Inheritance graph
[legend]
Collaboration diagram for SPARK::TPredicateCallback:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TPredicateCallback (enum_policiy_type::enum_type code)
 Constructor for a non-defined callback.

 TPredicateCallback (enum_policiy_type::enum_type code, const char *name, function_type ptr)
 Constructor for a defined callback.

bool operator() (TObject *object, ArgList args) const
 Fires the underlying C function that implements the predicate callback.


Detailed Description

Function wrapper class for predicate callbacks.


Constructor & Destructor Documentation

SPARK::TPredicateCallback::TPredicateCallback enum_policiy_type::enum_type  code  )  [inline]
 

Constructor for a non-defined callback.

SPARK::TPredicateCallback::TPredicateCallback enum_policiy_type::enum_type  code,
const char *  name,
function_type  ptr
[inline]
 

Constructor for a defined callback.


Member Function Documentation

bool SPARK::TPredicateCallback::operator() TObject object,
ArgList  args
const [inline]
 

Fires the underlying C function that implements the predicate callback.

Parameters:
object is a pointer to the TObject instance the non-modifier callback belongs to
args is the list of arguments as defined in the FUNCTIONS {} statement of the atomic class


The documentation for this class was generated from the following file:

Generated on 5 Nov 2003 for VisualSPARK 2.01