CS::Debug::CallStack Class Reference
Convenience wrapper around csCallStack and csCallStackHelper. More...
#include <csutil/callstack.h>
Public Member Functions | |
| CallStack (int skip=0, bool fast=false) | |
| Create a new call stack. | |
| uint | GetHash () const |
| Return a hash value for this smart pointer. | |
| void | Invalidate () |
| Invalidate the smart pointer by setting it to null. | |
| bool | IsValid () const |
| Call stack validity check. | |
| operator csCallStack * () const | |
| Cast to the underlying call stack. | |
| csCallStack & | operator* () const |
| Dereference underlying call stack. | |
| csCallStack * | operator-> () const |
| Dereference underlying call stack. | |
Detailed Description
Convenience wrapper around csCallStack and csCallStackHelper.
Creates a new csCallStack instance on construction and acts like a smart pointer to a csCallStack.
Definition at line 193 of file callstack.h.
Constructor & Destructor Documentation
| CS::Debug::CallStack::CallStack | ( | int | skip = 0, |
|
| bool | fast = false | |||
| ) | [inline] |
Create a new call stack.
Arguments have the same meaning as those to csCallStackHelper::CreateCallStack().
Definition at line 202 of file callstack.h.
Member Function Documentation
| uint CS::Debug::CallStack::GetHash | ( | ) | const [inline] |
Return a hash value for this smart pointer.
Definition at line 237 of file callstack.h.
| void CS::Debug::CallStack::Invalidate | ( | ) | [inline] |
Invalidate the smart pointer by setting it to null.
Definition at line 230 of file callstack.h.
| bool CS::Debug::CallStack::IsValid | ( | ) | const [inline] |
Call stack validity check.
Returns true if a valid call stack is wrapped.
Definition at line 226 of file callstack.h.
| CS::Debug::CallStack::operator csCallStack * | ( | ) | const [inline] |
Cast to the underlying call stack.
Definition at line 216 of file callstack.h.
| csCallStack& CS::Debug::CallStack::operator* | ( | ) | const [inline] |
Dereference underlying call stack.
Definition at line 220 of file callstack.h.
| csCallStack* CS::Debug::CallStack::operator-> | ( | ) | const [inline] |
Dereference underlying call stack.
Definition at line 212 of file callstack.h.
The documentation for this class was generated from the following file:
- csutil/callstack.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
