csCallStack Class Reference
Call stack. More...
#include <csutil/callstack.h>
Public Member Functions | |
virtual void | Free ()=0 |
Release the memory for this call stack. | |
csString | GetEntryAll (size_t i, bool brief=false) |
Obtain complete text for an entry. | |
virtual size_t | GetEntryCount ()=0 |
Get number of entries in the stack. | |
virtual bool | GetFunctionName (size_t num, csString &str)=0 |
Get the function for an entry. | |
virtual bool | GetLineNumber (size_t num, csString &str)=0 |
Get file and line number for an entry. | |
virtual bool | GetParameters (size_t num, csString &str)=0 |
Get function parameter names and values. | |
void | Print (FILE *f=stdout, bool brief=false) |
Print the complete stack. | |
Protected Member Functions | |
virtual | ~csCallStack () |
Detailed Description
Call stack.
Definition at line 31 of file callstack.h.
Member Function Documentation
|
Release the memory for this call stack.
|
|
Obtain complete text for an entry.
Definition at line 85 of file callstack.h. |
|
Get number of entries in the stack.
|
|
Get the function for an entry. Contains usually raw address, function name and module name. Returns false if an error occured or a name is not available. |
|
Get file and line number for an entry. Returns false if an error occured or a line number is not available. |
|
Get function parameter names and values. Returns false if an error occured or if parameters are not available. |
|
Print the complete stack.
Definition at line 65 of file callstack.h. |
The documentation for this class was generated from the following file:
- csutil/callstack.h
Generated for Crystal Space by doxygen 1.4.6