VarArray::GetVar()
Get i-th variable object.
Synopsis
Var &GetVar(int i)
Arguments
i
: index of the variable.Return
variable object with index i.
VarArray::PushBack()
Add a variable object to variable array.
Synopsis
void PushBack(const Var &var)
Arguments
var
: a variable object.
VarArray::Reserve()
Reserve capacity to contain at least n items.
Synopsis
void Reserve(int n)
Arguments
n
: minimum capacity for variable object.
VarArray::Size()
Get the number of variable objects.
Synopsis
int Size()
Return
number of variable objects.