Dictionary
Engine/source/console/consoleInternal.h
Classes:
Public Attributes
Public Functions
Entry *
add(StringTableEntry name)
addVariableNotify(const char * name, const Con::NotifyDelegate & callback)
deleteVariables(const char * varString)
exportVariables(const char * varString, const char * fileName, bool append)
getFloatVariable(StringTableEntry name, bool * entValid)
getIntVariable(StringTableEntry name, bool * valid)
const char *
getVariable(StringTableEntry name, bool * valid)
bool
isOwner()
Entry *
lookup(StringTableEntry name)
bool
removeVariableNotify(const char * name, const Con::NotifyDelegate & callback)
setState(ExprEvalState * state, Dictionary * ref)
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.
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)
see:
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.