UnivesalDisassembler(2003)
|
Map of Variable indexed by its name. (Builder) More...
#include <instrset.h>
Public Member Functions | |
Variable & | Add (string name, string defaultvalue="") |
Creates new variable. | |
Variable & | operator[] (string index) |
Returns appropriate variable, throws an exception if variable does not exist. | |
void | Reset () |
Resets all variables to their default value. | |
void | Clear () |
Clears all variables from memory. |
Map of Variable indexed by its name. (Builder)
Definition at line 252 of file instrset.h.
Variable & Variables::Add | ( | string | name, |
string | defaultvalue = "" |
||
) |
void Variables::Clear | ( | ) |
Clears all variables from memory.
Definition at line 711 of file instrset.cc.
Variable & Variables::operator[] | ( | string | index | ) |
Returns appropriate variable, throws an exception if variable does not exist.
Definition at line 694 of file instrset.cc.
void Variables::Reset | ( | ) |
Resets all variables to their default value.
Definition at line 703 of file instrset.cc.