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

SPARK::TStaticPredicateCallback Class Reference

Function wrapper class for static predicate callbacks. More...

#include <callback.h>

Inheritance diagram for SPARK::TStaticPredicateCallback:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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

bool operator() (TInverse *inverse) const
 Fires the underlying C function that implements the static predicate callback.


Detailed Description

Function wrapper class for static predicate callbacks.


Constructor & Destructor Documentation

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

Constructor for a non-defined callback.

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

Constructor for a defined callback.


Member Function Documentation

bool SPARK::TStaticPredicateCallback::operator() TInverse inverse  )  const [inline]
 

Fires the underlying C function that implements the static predicate callback.

Parameters:
inverse is a pointer to the TInverse instance the static predicate callback belongs to


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

Generated on 5 Nov 2003 for VisualSPARK 2.01