Pol  Rev 533
FunctionalityModule Class Reference

#include <fmodule.h>

+ Collaboration diagram for FunctionalityModule:

List of all members.

Public Types

typedef map< std::string,
ModuleFunction *, ci_cmp_pred
FunctionsByName

Public Member Functions

 FunctionalityModule (const char *modname)
 ~FunctionalityModule ()
void addFunction (const char *funcname, int nparams, UserFunction *uf=NULL)
void fillFunctionsByName ()
bool isFunc (const char *funcName, ModuleFunction **pmf, int *funcidx)

Public Attributes

vector< ModuleFunction * > functions
FunctionsByName functionsByName
bool have_indexes
std::string modulename
vector< UserFunction * > owned_userfuncs
vector< ModuleFunction * > used_functions

Private Member Functions

 FunctionalityModule (const FunctionalityModule &)

Detailed Description

Definition at line 38 of file fmodule.h.


Member Typedef Documentation

Definition at line 45 of file fmodule.h.


Constructor & Destructor Documentation

FunctionalityModule::FunctionalityModule ( const char *  modname) [explicit]

Definition at line 36 of file fmodule.cpp.

Definition at line 42 of file fmodule.cpp.

References functions, and owned_userfuncs.


Member Function Documentation

void FunctionalityModule::addFunction ( const char *  funcname,
int  nparams,
UserFunction uf = NULL 
)

Definition at line 57 of file fmodule.cpp.

References ModuleFunction::funcidx, functions, and owned_userfuncs.

Referenced by EScriptProgram::read_module(), and Compiler::useModule().

+ Here is the caller graph for this function:

Definition at line 102 of file fmodule.cpp.

References functions, functionsByName, and ModuleFunction::name.

Referenced by Compiler::addModule().

+ Here is the caller graph for this function:

bool FunctionalityModule::isFunc ( const char *  funcName,
ModuleFunction **  pmf,
int *  funcidx 
)

Member Data Documentation

Definition at line 48 of file fmodule.h.

Referenced by addFunction(), and ~FunctionalityModule().

Definition at line 47 of file fmodule.h.

Referenced by isFunc(), and EScriptProgram::write().


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