#include <vm.h>

Definition at line 95 of file vm.h.
Public Member Functions | |
| VarSet () | |
| ~VarSet () | |
| VarSet & | operator= (const VarSet &) |
| deep copy of container | |
| bool | add (PVar) |
| add variable (or arg (or fnc)) to set | |
| unsigned | size () const |
| number of vars (or args (or fncs)) | |
| PVar | operator[] (unsigned) |
| return Var object by index | |
| PVar | operator[] (const std::string &) |
| return Var object by name | |
| const PVar | operator[] (unsigned pos) const |
| const to non-const wrapper | |
| const PVar | operator[] (const std::string &name) const |
| const to non-const wrapper | |
Private Member Functions | |
| VarSet (const VarSet &) | |
| disable copy constructor | |
Private Attributes | |
| Private * | d |
Classes | |
| struct | Private |
deep copy of container
Definition at line 235 of file vm.cc.
References d, size(), VarSet::Private::vect, and VarSet::Private::vMap.

| bool add | ( | PVar | var | ) |
add variable (or arg (or fnc)) to set
Definition at line 250 of file vm.cc.
References d, Var::name, VarSet::Private::vect, and VarSet::Private::vMap.
Referenced by Builder::fncDeclArg(), Builder::fncDefArg(), Builder::fncDefVar(), and Builder::glVar().

| unsigned size | ( | ) | const |
number of vars (or args (or fncs))
Definition at line 265 of file vm.cc.
References d, and VarSet::Private::vect.
Referenced by chkUnused(), VmRunner::Private::chkUnusedGlVars(), CallCmd::exec(), Builder::fncCall(), operator=(), operator==(), and operator[]().

| PVar operator[] | ( | unsigned | pos | ) |
| PVar operator[] | ( | const std::string & | name | ) |
return Var object by name
Definition at line 274 of file vm.cc.
References d, and VarSet::Private::vMap.
| const PVar operator[] | ( | unsigned | pos | ) | const [inline] |
| const PVar operator[] | ( | const std::string & | name | ) | const [inline] |
Definition at line 119 of file vm.h.
Referenced by add(), operator=(), operator[](), size(), and ~VarSet().
1.5.4