#include <MScriptContext.h>
List of all members.
Public Member Functions |
virtual | ~MScriptContext (void) |
virtual void | runScript (const char *filename)=0 |
virtual void | callFunction (const char *name)=0 |
virtual void | addFunction (const char *name, int(*function)(void))=0 |
virtual unsigned int | getArgsNumber (void)=0 |
virtual void | getIntArray (unsigned int arg, int *values, unsigned int valuesNumber)=0 |
virtual void | getFloatArray (unsigned int arg, float *values, unsigned int valuesNumber)=0 |
virtual const char * | getString (unsigned int arg)=0 |
virtual int | getInteger (unsigned int arg)=0 |
virtual float | getFloat (unsigned int arg)=0 |
virtual void | pushIntArray (const int *values, unsigned int valuesNumber)=0 |
virtual void | pushFloatArray (const float *values, unsigned int valuesNumber)=0 |
virtual void | pushString (const char *string)=0 |
virtual void | pushBoolean (bool value)=0 |
virtual void | pushInteger (int value)=0 |
virtual void | pushFloat (float value)=0 |
Constructor & Destructor Documentation
virtual MScriptContext::~MScriptContext |
( |
void |
| ) |
[inline, virtual] |
Member Function Documentation
virtual void MScriptContext::addFunction |
( |
const char * |
name, |
|
|
int(*)(void) |
function |
|
) |
| [pure virtual] |
virtual void MScriptContext::callFunction |
( |
const char * |
name | ) |
[pure virtual] |
virtual unsigned int MScriptContext::getArgsNumber |
( |
void |
| ) |
[pure virtual] |
virtual float MScriptContext::getFloat |
( |
unsigned int |
arg | ) |
[pure virtual] |
virtual void MScriptContext::getFloatArray |
( |
unsigned int |
arg, |
|
|
float * |
values, |
|
|
unsigned int |
valuesNumber |
|
) |
| [pure virtual] |
virtual void MScriptContext::getIntArray |
( |
unsigned int |
arg, |
|
|
int * |
values, |
|
|
unsigned int |
valuesNumber |
|
) |
| [pure virtual] |
virtual int MScriptContext::getInteger |
( |
unsigned int |
arg | ) |
[pure virtual] |
virtual const char* MScriptContext::getString |
( |
unsigned int |
arg | ) |
[pure virtual] |
virtual void MScriptContext::pushBoolean |
( |
bool |
value | ) |
[pure virtual] |
virtual void MScriptContext::pushFloat |
( |
float |
value | ) |
[pure virtual] |
virtual void MScriptContext::pushFloatArray |
( |
const float * |
values, |
|
|
unsigned int |
valuesNumber |
|
) |
| [pure virtual] |
virtual void MScriptContext::pushIntArray |
( |
const int * |
values, |
|
|
unsigned int |
valuesNumber |
|
) |
| [pure virtual] |
virtual void MScriptContext::pushInteger |
( |
int |
value | ) |
[pure virtual] |
virtual void MScriptContext::pushString |
( |
const char * |
string | ) |
[pure virtual] |
virtual void MScriptContext::runScript |
( |
const char * |
filename | ) |
[pure virtual] |
The documentation for this class was generated from the following file: