Planeshift
|
This holds information about a specific variable in a specific MathEnvironment to be used for MathScripts and allows setting/retrieving all data related to it. More...
#include <mathscript.h>
Public Member Functions | |
csString | Dump () const |
iScriptableVar * | GetObject () const |
int | GetRoundValue () const |
csString | GetString () const |
double | GetValue () const |
MathVar (MathEnvironment *parent) | |
void | SetChangedCallback (MathScriptVarCallback callback, void *arg) |
void | SetObject (iScriptableVar *p) |
void | SetString (const char *p) |
void | SetValue (double v) |
csString | ToString () const |
MathType | Type () const |
Protected Types | |
typedef void(* | MathScriptVarCallback )(void *arg) |
Protected Attributes | |
MathScriptVarCallback | changedVarCallback |
void * | changedVarCallbackArg |
MathEnvironment * | parent |
double | value |
This holds information about a specific variable in a specific MathEnvironment to be used for MathScripts and allows setting/retrieving all data related to it.
Definition at line 270 of file mathscript.h.
typedef void(* MathVar::MathScriptVarCallback)(void *arg) [protected] |
Definition at line 276 of file mathscript.h.
MathVar::MathVar | ( | MathEnvironment * | parent | ) | [inline] |
Definition at line 281 of file mathscript.h.
csString MathVar::Dump | ( | ) | const |
iScriptableVar* MathVar::GetObject | ( | ) | const [inline] |
Definition at line 309 of file mathscript.h.
int MathVar::GetRoundValue | ( | ) | const [inline] |
Definition at line 299 of file mathscript.h.
csString MathVar::GetString | ( | ) | const [inline] |
Definition at line 314 of file mathscript.h.
double MathVar::GetValue | ( | ) | const [inline] |
Definition at line 304 of file mathscript.h.
void MathVar::SetChangedCallback | ( | MathScriptVarCallback | callback, |
void * | arg | ||
) | [inline] |
Definition at line 287 of file mathscript.h.
void MathVar::SetObject | ( | iScriptableVar * | p | ) |
void MathVar::SetString | ( | const char * | p | ) |
void MathVar::SetValue | ( | double | v | ) |
csString MathVar::ToString | ( | ) | const |
MathType MathVar::Type | ( | ) | const |
MathScriptVarCallback MathVar::changedVarCallback [protected] |
Definition at line 277 of file mathscript.h.
void* MathVar::changedVarCallbackArg [protected] |
Definition at line 278 of file mathscript.h.
MathEnvironment* MathVar::parent [protected] |
Definition at line 274 of file mathscript.h.
double MathVar::value [protected] |
Definition at line 273 of file mathscript.h.