artefaktur
software engineer &        architecture

 
 
 
 

class NativeStackFrame

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

acdk::lang::NativeStackFrame Class Reference

#include <StackFrame.h>

Inheritance diagram for acdk::lang::NativeStackFrame:

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

Detailed Description

implements a StackFrame of native C++ code


Public Member Functions

 NativeStackFrame ()
 NativeStackFrame (int pc, IN(RString) funcName, IN(RString) libName, IN(RString) sourceFile=Nil, int sourceLine=-1)
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 RStackFrameLocalArray getLocals ()
 String -> Object if Object itself is Serializable insert the Object itself otherwise use toString().

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


Protected Attributes

int _programCounter
RString _functionName
RString _libraryName
RString _sourceFile
int _sourceLine

Constructor & Destructor Documentation

acdk::lang::NativeStackFrame::NativeStackFrame  )  [inline]
 

acdk::lang::NativeStackFrame::NativeStackFrame int  pc,
IN(RString funcName,
IN(RString libName,
IN(RString sourceFile = Nil,
int  sourceLine = -1
[inline]
 


Member Function Documentation

virtual RString acdk::lang::NativeStackFrame::getCurrentSourceLine  )  [inline, virtual]
 

return the source line of current code instruction

Implements acdk::lang::StackFrame.

virtual int acdk::lang::NativeStackFrame::getFileLineNo  )  [inline, virtual]
 

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

Implements acdk::lang::StackFrame.

virtual RString acdk::lang::NativeStackFrame::getFileName  )  [inline, virtual]
 

return the file name of source code

Implements acdk::lang::StackFrame.

virtual RString acdk::lang::NativeStackFrame::getFunctionSignature  )  [inline, virtual]
 

return the function signature

Implements acdk::lang::StackFrame.

virtual RString acdk::lang::NativeStackFrame::getLibraryName  )  [inline, virtual]
 

return library name

Implements acdk::lang::StackFrame.

virtual RStackFrameLocalArray acdk::lang::NativeStackFrame::getLocals  )  [virtual]
 

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

Implements acdk::lang::StackFrame.

virtual acdk::lang::reflect::RMethod acdk::lang::NativeStackFrame::getMethod  )  [virtual]
 

return the Method of current executed method

Implements acdk::lang::StackFrame.

virtual bool acdk::lang::NativeStackFrame::hasCurrentSourceLine  )  [inline, virtual]
 

return true if has current line line of instruction

See also:
getCurrentSourceLine()

Implements acdk::lang::StackFrame.

virtual bool acdk::lang::NativeStackFrame::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::lang::NativeStackFrame::hasFunctionSignature  )  [inline, virtual]
 

return true if a function signature is available

See also:
getFunctionSignature()

Implements acdk::lang::StackFrame.

virtual bool acdk::lang::NativeStackFrame::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::lang::NativeStackFrame::hasLocals  )  [inline, virtual]
 

should return true if frame has information of local variables

See also:
getLocals()

Implements acdk::lang::StackFrame.

virtual bool acdk::lang::NativeStackFrame::hasMethod  )  [inline, virtual]
 

return true if a Method is available

See also:
getMethod()

Implements acdk::lang::StackFrame.

virtual bool acdk::lang::NativeStackFrame::isNative  )  [inline, virtual]
 

return true if this frame is in native code

Implements acdk::lang::StackFrame.


Member Data Documentation

RString acdk::lang::NativeStackFrame::_functionName [protected]
 

RString acdk::lang::NativeStackFrame::_libraryName [protected]
 

int acdk::lang::NativeStackFrame::_programCounter [protected]
 

RString acdk::lang::NativeStackFrame::_sourceFile [protected]
 

int acdk::lang::NativeStackFrame::_sourceLine [protected]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer