UnivesalDisassembler(2003)

Tables Class Reference

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

#include <instrset.h>

List of all members.

Public Member Functions

 Tables (Variables *v)
 ~Tables ()
TableAdd (string name)
 Add(name) creates new table (Table) and returns it.
AbstractTable *& Add (string name, AbstractTable *table)
 Add(name, table) - useful for builtin tables.
AbstractTable *& operator[] (string index)
 Returns appropriate table. Throws exception when table does not exist.
void Reset ()
 Resets all tables to their default values (because of lengths of the items)
void Clear ()
 Clears all tables from memory.

Public Attributes

Variablesvariables

Detailed Description

Map of Table indexed by its name. (Builder)

Definition at line 178 of file instrset.h.


Constructor & Destructor Documentation

Tables::Tables ( Variables v) [inline]

Definition at line 182 of file instrset.h.

Tables::~Tables ( )

Definition at line 409 of file instrset.cc.


Member Function Documentation

Table * Tables::Add ( string  name)

Add(name) creates new table (Table) and returns it.

Definition at line 420 of file instrset.cc.

References variables.

Referenced by Parser::Parse().

AbstractTable *& Tables::Add ( string  name,
AbstractTable table 
)

Add(name, table) - useful for builtin tables.

Definition at line 429 of file instrset.cc.

void Tables::Clear ( )

Clears all tables from memory.

Definition at line 454 of file instrset.cc.

AbstractTable *& Tables::operator[] ( string  index)

Returns appropriate table. Throws exception when table does not exist.

Definition at line 438 of file instrset.cc.

void Tables::Reset ( )

Resets all tables to their default values (because of lengths of the items)

Definition at line 446 of file instrset.cc.

Referenced by Decoder::Decode().


Member Data Documentation

Definition at line 181 of file instrset.h.

Referenced by Add().


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