Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Functions Class Reference

A derived instance of this class is used to load "function" modules into Bayonne. bind generic functions from DSO. More...

#include <bayonne.h>

List of all members.

Protected Methods

virtual char* getName (void)=0
 Return the name of the DSO function module. More...

void Load (FUNCTIONS *map)
 Load a defined group of functions into the interpreter. More...


Detailed Description

A derived instance of this class is used to load "function" modules into Bayonne. bind generic functions from DSO.

These are not bound to the class structure of the driver and hence are used for inserting "generic" functions rather than functions that depend on a specific derived dialect of the Bayonne script engine. A single instance of "Function" is derived with a constructor the calls "Load" as a global objectso that when the DSO is installed, it automatically binds the symbol list of the functions the given DSO is providing.

Author(s):
David Sugar <dyfet@ostel.com>


Member Function Documentation

void Functions::Load ( FUNCTIONS * map ) [protected]
 

Load a defined group of functions into the interpreter.

Parameters:
function   list.

char * Functions::getName ( void ) [protected, pure virtual]
 

Return the name of the DSO function module.

This actually gaurentees the base class is abstract and can simply return a string name in the derived class.


The documentation for this class was generated from the following file:
Generated at Mon Oct 1 10:26:06 2001 for Bayonne by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001