torque Torque Game Engine Documentation
TGE Version 1.5.2

ExprEvalState Class Reference

#include <consoleInternal.h>


Expression Evaluation

SimObjectthisObject
Dictionary::EntrycurrentVariable
bool traceOn
 ExprEvalState ()
 ~ExprEvalState ()

Stack Management

Dictionary globalVars
Vector< Dictionary * > stack
void setCurVarName (StringTableEntry name)
void setCurVarNameCreate (StringTableEntry name)
S32 getIntVariable ()
F64 getFloatVariable ()
const char * getStringVariable ()
void setIntVariable (S32 val)
void setFloatVariable (F64 val)
void setStringVariable (const char *str)
void pushFrame (StringTableEntry frameName, Namespace *ns)
void popFrame ()
void pushFrameRef (S32 stackIndex)
 Puts a reference to an existing stack frame on the top of the stack.


Constructor & Destructor Documentation

ExprEvalState::ExprEvalState (  ) 

ExprEvalState::~ExprEvalState (  ) 


Member Function Documentation

void ExprEvalState::setCurVarName ( StringTableEntry  name  ) 

void ExprEvalState::setCurVarNameCreate ( StringTableEntry  name  ) 

S32 ExprEvalState::getIntVariable (  ) 

F64 ExprEvalState::getFloatVariable (  ) 

const char* ExprEvalState::getStringVariable (  ) 

void ExprEvalState::setIntVariable ( S32  val  ) 

void ExprEvalState::setFloatVariable ( F64  val  ) 

void ExprEvalState::setStringVariable ( const char *  str  ) 

void ExprEvalState::pushFrame ( StringTableEntry  frameName,
Namespace ns 
)

void ExprEvalState::popFrame (  ) 

void ExprEvalState::pushFrameRef ( S32  stackIndex  ) 

Puts a reference to an existing stack frame on the top of the stack.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen