2005/5/9

     
 

class ExecutionStackFrame

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::cfgscript::ExecutionStackFrame Class Reference

#include <ExecutionStack.h>

Inheritance diagram for acdk::cfgscript::ExecutionStackFrame:

acdk::lang::Object acdk::lang::StackFrame acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 ExecutionStackFrame (IN(RScript) script, int tokenIndex, const acdk::lang::dmi::ClazzMethodInfo *method, int executionFlags=0)
 ExecutionStackFrame (IN(RScript) script, int tokenIndex, const acdk::lang::dmi::ClazzInfo *clazzInfo, int executionFlags=0)
 ExecutionStackFrame (IN(RScript) script, int tokenIndex, int executionFlags=0)
bool inConstructor ()
RString getScriptBackTrace (bool withSourcePos=true, bool withLocals=false)
 OUT (RProps) getFrameProps()
void setFrameProps (IN(RProps) prop)
 OUT (RProps) getScopeProps()
void setScopeProps (IN(RProps) prop)
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default

int getSourceLine ()
RString getSourceFile ()
virtual bool hasFileAndLine ()
 should return true if frame has information about file and line

virtual bool hasLocals ()
 should return true if frame has information of local variables

virtual bool hasFunctionSignature ()
 return true if a function signature is available

virtual bool hasCurrentSourceLine ()
 return true if has current line line of instruction

virtual bool hasLibararyName ()
 return true if frame has name of the library executing this frame

virtual bool hasMethod ()
 return true if a Method is available

virtual bool isNative ()
 return true if this frame is in native code

virtual int getFileLineNo ()
 return the file number, where the method is defined/declared

virtual RString getFileName ()
 return the file name of source code

virtual RString getFunctionSignature ()
 return the function signature

virtual RString getCurrentSourceLine ()
 return the source line of current code instruction

virtual RString getLibraryName ()
 return library name

virtual acdk::lang::reflect::RMethod getMethod ()
 return the Method of current executed method

virtual RStackFrameLocalArray getLocals ()
 String -> acdk::lang::Object if acdk::lang::Object itself is Serializable insert the acdk::lang::Object itself otherwise use toString().


Public Attributes

RScript _script
const acdk::lang::dmi::ClazzMethodInfo_currentClazzMethodInfo
const acdk::lang::dmi::ClazzInfo_currentClazzInfo
int _executionFlags
int _curTokenIndex
 safed for backtrace

RProps _frameProps
RProps _scopeProps

Constructor & Destructor Documentation

acdk::cfgscript::ExecutionStackFrame::ExecutionStackFrame IN(RScript script,
int  tokenIndex,
const acdk::lang::dmi::ClazzMethodInfo method,
int  executionFlags = 0
 

acdk::cfgscript::ExecutionStackFrame::ExecutionStackFrame IN(RScript script,
int  tokenIndex,
const acdk::lang::dmi::ClazzInfo clazzInfo,
int  executionFlags = 0
 

acdk::cfgscript::ExecutionStackFrame::ExecutionStackFrame IN(RScript script,
int  tokenIndex,
int  executionFlags = 0
 


Member Function Documentation

virtual RString acdk::cfgscript::ExecutionStackFrame::getCurrentSourceLine  )  [virtual]
 

return the source line of current code instruction

Implements acdk::lang::StackFrame.

virtual int acdk::cfgscript::ExecutionStackFrame::getFileLineNo  )  [virtual]
 

return the file number, where the method is defined/declared

Implements acdk::lang::StackFrame.

virtual RString acdk::cfgscript::ExecutionStackFrame::getFileName  )  [virtual]
 

return the file name of source code

Implements acdk::lang::StackFrame.

virtual RString acdk::cfgscript::ExecutionStackFrame::getFunctionSignature  )  [virtual]
 

return the function signature

Implements acdk::lang::StackFrame.

virtual RString acdk::cfgscript::ExecutionStackFrame::getLibraryName  )  [virtual]
 

return library name

Implements acdk::lang::StackFrame.

virtual RStackFrameLocalArray acdk::cfgscript::ExecutionStackFrame::getLocals  )  [virtual]
 

String -> acdk::lang::Object if acdk::lang::Object itself is Serializable insert the acdk::lang::Object itself otherwise use toString().

Implements acdk::lang::StackFrame.

virtual acdk::lang::reflect::RMethod acdk::cfgscript::ExecutionStackFrame::getMethod  )  [virtual]
 

return the Method of current executed method

Implements acdk::lang::StackFrame.

RString acdk::cfgscript::ExecutionStackFrame::getScriptBackTrace bool  withSourcePos = true,
bool  withLocals = false
 

RString acdk::cfgscript::ExecutionStackFrame::getSourceFile  ) 
 

int acdk::cfgscript::ExecutionStackFrame::getSourceLine  ) 
 

virtual bool acdk::cfgscript::ExecutionStackFrame::hasCurrentSourceLine  )  [inline, virtual]
 

return true if has current line line of instruction

See also:
getCurrentSourceLine()

Implements acdk::lang::StackFrame.

virtual bool acdk::cfgscript::ExecutionStackFrame::hasFileAndLine  )  [inline, virtual]
 

should return true if frame has information about file and line

See also:
getFileName()

getCurrentSourceLine()

Implements acdk::lang::StackFrame.

virtual bool acdk::cfgscript::ExecutionStackFrame::hasFunctionSignature  )  [inline, virtual]
 

return true if a function signature is available

See also:
getFunctionSignature()

Implements acdk::lang::StackFrame.

virtual bool acdk::cfgscript::ExecutionStackFrame::hasLibararyName  )  [inline, virtual]
 

return true if frame has name of the library executing this frame

See also:
getLibraryName()

Implements acdk::lang::StackFrame.

virtual bool acdk::cfgscript::ExecutionStackFrame::hasLocals  )  [inline, virtual]
 

should return true if frame has information of local variables

See also:
getLocals()

Implements acdk::lang::StackFrame.

virtual bool acdk::cfgscript::ExecutionStackFrame::hasMethod  )  [inline, virtual]
 

return true if a Method is available

See also:
getMethod()

Implements acdk::lang::StackFrame.

bool acdk::cfgscript::ExecutionStackFrame::inConstructor  )  [inline]
 

virtual bool acdk::cfgscript::ExecutionStackFrame::isNative  )  [inline, virtual]
 

return true if this frame is in native code

Implements acdk::lang::StackFrame.

acdk::cfgscript::ExecutionStackFrame::OUT RProps   )  [inline]
 

acdk::cfgscript::ExecutionStackFrame::OUT RProps   )  [inline]
 

void acdk::cfgscript::ExecutionStackFrame::setFrameProps IN(RProps prop  )  [inline]
 

void acdk::cfgscript::ExecutionStackFrame::setScopeProps IN(RProps prop  )  [inline]
 

virtual RString acdk::cfgscript::ExecutionStackFrame::toString  )  [inline, virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.


Member Data Documentation

const acdk::lang::dmi::ClazzInfo* acdk::cfgscript::ExecutionStackFrame::_currentClazzInfo
 

const acdk::lang::dmi::ClazzMethodInfo* acdk::cfgscript::ExecutionStackFrame::_currentClazzMethodInfo
 

int acdk::cfgscript::ExecutionStackFrame::_curTokenIndex
 

safed for backtrace

int acdk::cfgscript::ExecutionStackFrame::_executionFlags
 

RProps acdk::cfgscript::ExecutionStackFrame::_frameProps
 

RProps acdk::cfgscript::ExecutionStackFrame::_scopeProps
 

RScript acdk::cfgscript::ExecutionStackFrame::_script