Classes Utilities Scripts Speech Search Up Home
ISIP IFC Index
Name Synopsis Quick Start Description Dependencies Public Constants Error Codes Protected Data Required Public Methods Class-specific Public Methods Private Methods Examples Notes
Manual Page Sections
Title Bar

name: SofSymbolTable

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_io.a

#include <SofSymbolTable.h>

SofSymbolTable();
long add(const SysString& name);
boolean remove(long number);
long getIndex(const SysString& name) const;
quick start:

SofSymbolTable table0;
SysString n1(L"Long")
table0.add(n1);
table0.remove(n1);

SysString bad_name(L"oscar had");
if (table0.checkName(bad_name)) {
  return Error::handle(name(), L"checkName", Error::TEST, __FILE__, __LINE__);
}
description:

SofSymbolTable is a class used to keep track of a symbol table for Sof's use. the symbol table is an array of SysStrings which are the symbol names. Programmers should never use the SofSymbolTable class directly, the
HashTable class provided in the DSTR library is much safer and more user friendly.

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods:

examples:

notes: