Dictionary Class Reference#include <consoleInternal.h>
|
Public Member Functions |
| Dictionary () |
| Dictionary (ExprEvalState *state, Dictionary *ref=NULL) |
| ~Dictionary () |
Entry * | lookup (StringTableEntry name) |
Entry * | add (StringTableEntry name) |
void | setState (ExprEvalState *state, Dictionary *ref=NULL) |
void | remove (Entry *) |
void | reset () |
void | exportVariables (const char *varString, const char *fileName, bool append) |
void | deleteVariables (const char *varString) |
void | setVariable (StringTableEntry name, const char *value) |
const char * | getVariable (StringTableEntry name, bool *valid=NULL) |
void | addVariable (const char *name, S32 type, void *dataPtr) |
bool | removeVariable (StringTableEntry name) |
const char * | tabComplete (const char *prevText, S32 baseLen, bool) |
| Return the best tab completion for prevText, with the length of the pre-tab string in baseLen.
|
Data Fields |
StringTableEntry | scopeName |
Namespace * | scopeNamespace |
CodeBlock * | code |
U32 | ip |
Private Attributes |
HashTableData * | hashTable |
ExprEvalState * | exprState |
Data Structures |
struct | Entry |
struct | HashTableData |
Constructor & Destructor Documentation
Dictionary::Dictionary |
( |
|
) |
|
Dictionary::~Dictionary |
( |
|
) |
|
Member Function Documentation
void Dictionary::reset |
( |
|
) |
|
void Dictionary::exportVariables |
( |
const char * |
varString, |
|
|
const char * |
fileName, |
|
|
bool |
append | |
|
) |
| | |
void Dictionary::deleteVariables |
( |
const char * |
varString |
) |
|
void Dictionary::addVariable |
( |
const char * |
name, |
|
|
S32 |
type, |
|
|
void * |
dataPtr | |
|
) |
| | |
const char* Dictionary::tabComplete |
( |
const char * |
prevText, |
|
|
S32 |
baseLen, |
|
|
bool |
| |
|
) |
| | |
Return the best tab completion for prevText, with the length of the pre-tab string in baseLen.
Field Documentation
|