2005/5/9

     
 

class StackFrame

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

acdk::lang::StackFrame Class Reference

#include <StackFrame.h>

Inheritance diagram for acdk::lang::StackFrame:

acdk::io::Serializable acdk::cfgscript::ExecutionStackFrame acdk::lang::NativeStackFrame List of all members.

Detailed Description

interface for a Stack Trace description


Public Member Functions

virtual bool hasFileAndLine ()=0
 should return true if frame has information about file and line

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

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

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

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

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

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

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

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

virtual RString getFunctionSignature ()=0
 return the function signature

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

virtual RString getLibraryName ()=0
 return library name

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

virtual RStackFrameLocalArray getLocals ()=0
 String -> Object if Object itself is Serializable insert the Object itself otherwise use toString().


Member Function Documentation

virtual RString acdk::lang::StackFrame::getCurrentSourceLine  )  [pure virtual]
 

return the source line of current code instruction

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual int acdk::lang::StackFrame::getFileLineNo  )  [pure virtual]
 

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

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual RString acdk::lang::StackFrame::getFileName  )  [pure virtual]
 

return the file name of source code

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual RString acdk::lang::StackFrame::getFunctionSignature  )  [pure virtual]
 

return the function signature

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual RString acdk::lang::StackFrame::getLibraryName  )  [pure virtual]
 

return library name

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual RStackFrameLocalArray acdk::lang::StackFrame::getLocals  )  [pure virtual]
 

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

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual acdk::lang::reflect::RMethod acdk::lang::StackFrame::getMethod  )  [pure virtual]
 

return the Method of current executed method

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual bool acdk::lang::StackFrame::hasCurrentSourceLine  )  [pure virtual]
 

return true if has current line line of instruction

See also:
getCurrentSourceLine()

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual bool acdk::lang::StackFrame::hasFileAndLine  )  [pure virtual]
 

should return true if frame has information about file and line

See also:
getFileName()

getCurrentSourceLine()

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual bool acdk::lang::StackFrame::hasFunctionSignature  )  [pure virtual]
 

return true if a function signature is available

See also:
getFunctionSignature()

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual bool acdk::lang::StackFrame::hasLibararyName  )  [pure virtual]
 

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

See also:
getLibraryName()

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual bool acdk::lang::StackFrame::hasLocals  )  [pure virtual]
 

should return true if frame has information of local variables

See also:
getLocals()

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual bool acdk::lang::StackFrame::hasMethod  )  [pure virtual]
 

return true if a Method is available

See also:
getMethod()

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.

virtual bool acdk::lang::StackFrame::isNative  )  [pure virtual]
 

return true if this frame is in native code

Implemented in acdk::cfgscript::ExecutionStackFrame, and acdk::lang::NativeStackFrame.