[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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::wstring s

Name of variable.

Variable of mglVar: mglVar * next
Variable of mglVar: mglVar * prev

Next and previous variable in the list.

Variable of mglVar: bool temp

Flag of the temporary variable. If true the this variable will be removed after script execution.

Variable of mglVar: void void (*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: void MoveAfter (mglVar *var)

Evaluates the formula for 'x','r'=x, 'y','n'=y, 'z','t'=z, 'a','u'=u.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Dimitrios Eftaxiopoulos on August 18, 2013 using texi2html 1.82.