UnivesalDisassembler(2003)

Variables Class Reference

Map of Variable indexed by its name. (Builder) More...

#include <instrset.h>

List of all members.

Public Member Functions

VariableAdd (string name, string defaultvalue="")
 Creates new variable.
Variableoperator[] (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.

Detailed Description

Map of Variable indexed by its name. (Builder)

Definition at line 252 of file instrset.h.


Member Function Documentation

Variable & Variables::Add ( string  name,
string  defaultvalue = "" 
)

Creates new variable.

Definition at line 682 of file instrset.cc.

Referenced by Parser::Parse().

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.


The documentation for this class was generated from the following files: