Dictionary

Engine/source/console/consoleInternal.h

More...

Classes:

Public Functions

addVariable(const char * name, S32 type, void * dataPtr, const char * usage)
deleteVariables(const char * varString)
exportVariables(const char * varString, const char * fileName, bool append)
exportVariables(const char * varString, Vector< String > * names, Vector< String > * values)
getFloatVariable(StringTableEntry name, bool * entValid)
getIntVariable(StringTableEntry name, bool * valid)
const char *
getVariable(StringTableEntry name, bool * valid)
bool
setVariable(StringTableEntry name, const char * value)
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.

Run integrity checks for debugging.

Detailed Description

Public Attributes

CodeBlock * code 
ExprEvalState * exprState 
HashTableData * hashTable 
U32 ip 
HashTableData ownHashTable 
StringTableEntry scopeName 
Namespace * scopeNamespace 

Public Functions

Dictionary()

~Dictionary()

add(StringTableEntry name)

addVariable(const char * name, S32 type, void * dataPtr, const char * usage)

addVariableNotify(const char * name, const Con::NotifyDelegate & callback)

deleteVariables(const char * varString)

exportVariables(const char * varString, const char * fileName, bool append)

exportVariables(const char * varString, Vector< String > * names, Vector< String > * values)

getCount()

getFloatVariable(StringTableEntry name, bool * entValid)

getIntVariable(StringTableEntry name, bool * valid)

getVariable(StringTableEntry name, bool * valid)

isOwner()

lookup(StringTableEntry name)

remove(Entry * )

removeVariable(StringTableEntry name)

removeVariableNotify(const char * name, const Con::NotifyDelegate & callback)

reset()

setState(ExprEvalState * state, Dictionary * ref)

setVariable(StringTableEntry name, const char * value)

tabComplete(const char * prevText, S32 baseLen, bool )

Return the best tab completion for prevText, with the length of the pre-tab string in baseLen.

validate()

Run integrity checks for debugging.