6.13 MGL variables
Class mglVar represent MGL variables. It is needed for parsing MGL scripts (see mglParse class). This class is derived from mglData and is defined in #include <mgl2/mgl.h>.
- Variable of mglVar:
std::wstrings Name of variable.
- Variable of mglVar:
mglVar *next - Variable of mglVar:
mglVar *prev Next and previous variable in the list.
- Variable of mglVar:
booltemp Flag of the temporary variable. If
truethe this variable will be removed after script execution.
- Variable of mglVar:
voidvoid (*func)(void *) Callback function, which will be called at variable destroying.
- Variable of mglVar:
void *o Pointer to external object for callback function.
- Constructor on
mglVar: mglVar () Create variable with size 1*1*1.
- Destructor on
mglVar: ~mglVar () Deletes the instance of class mglVar.
- Method on
mglVar:voidMoveAfter (mglVar *var) Move variable after var in the list.
This document was generated on March 21, 2014 using texi2html 5.0.