Captures the current callstack.
More...
#include <Radiant/CallStack.hpp>
|
|
| CallStack () |
| | Constructor. |
| |
| stackptr_t | operator[] (size_t index) const |
| | Get given frame from the callstack. More... |
| |
|
void | print () const |
| | Prints a human-readable version of the stack to the log. |
| |
| size_t | size () const |
| | Get the size of the callstacks. More... |
| |
| const stackptr_t * | stack () const |
| | Returns the pointer to the raw callstack. More... |
| |
| QStringList | toStringList () const |
| | Returns a human-readable version of the stack. More... |
| |
|
| ~CallStack () |
| | Destructor. |
| |
Captures the current callstack.
| stackptr_t Radiant::CallStack::operator[] |
( |
size_t |
index | ) |
const |
|
inline |
Get given frame from the callstack.
- Parameters
-
| index | The requested element in the callstack |
- Returns
- the requested element in the callstack
| size_t Radiant::CallStack::size |
( |
| ) |
const |
|
inline |
Get the size of the callstacks.
- Returns
- the number of frames in the callstack
| const stackptr_t* Radiant::CallStack::stack |
( |
| ) |
const |
|
inline |
Returns the pointer to the raw callstack.
- Returns
- Pointer to raw callstack
| QStringList Radiant::CallStack::toStringList |
( |
| ) |
const |
Returns a human-readable version of the stack.
- Returns
- List of frames' textual representation