![]() |
Home | Libraries | People | FAQ | More |
boost::stacktrace::frame — Class that stores frame/function address and can get information about it at runtime.
// In header: <boost/stacktrace/detail/frame_decl.hpp> class frame { public: // types typedef ; // construct/copy/destruct () ; (const frame &) = ; () ; template<typename T> (T *) ; constexpr frame & (const frame &) = ; // public member functions () ; constexpr () ; () ; () ; constexpr bool () ; };
frame
public
construct/copy/destruct() ;Constructs frame that references NULL address. Calls to source_file() and source_line() will return empty string. Calls to source_line() will return 0.
Complexity: O(1).
Async-Handler-Safety: Safe.
Throws: |
Nothing. |
(const frame &) = ;Copy constructs frame.
Complexity: O(1).
Async-Handler-Safety: Safe.
Throws: |
Nothing. |
( addr) ;Constructs frame that references addr and could later generate information about that address using platform specific features.
Complexity: O(1).
Async-Handler-Safety: Safe.
Throws: |
Nothing. |
template<typename T> (T * function_addr) ;Constructs frame that references function_addr and could later generate information about that function using platform specific features.
Complexity: O(1).
Async-Handler-Safety: Safe.
Throws: |
Nothing. |
constexpr frame & (const frame &) = ;Copy assigns frame.
Complexity: O(1).
Async-Handler-Safety: Safe.
Throws: |
Nothing. |
frame
public member functions() ;
Complexity: unknown (lots of platform specific work).
Async-Handler-Safety: Unsafe.
Returns: |
Name of the frame (function name in a human readable form). |
Throws: |
std::bad_alloc if not enough memory to construct resulting string. |
constexpr () ;
Complexity: O(1).
Async-Handler-Safety: Safe.
Returns: |
Address of the frame function. |
Throws: |
Nothing. |
() ;
Complexity: unknown (lots of platform specific work).
Async-Handler-Safety: Unsafe.
Returns: |
Path to the source file, were the function of the frame is defined. Returns empty string if this->source_line() == 0. |
Throws: |
std::bad_alloc if not enough memory to construct resulting string. |
() ;
Complexity: unknown (lots of platform specific work).
Async-Handler-Safety: Unsafe.
Returns: |
Code line in the source file, were the function of the frame is defined. |
Throws: |
std::bad_alloc if not enough memory to construct string for internal needs. |
constexpr bool () ;Checks that frame is not references NULL address.
Complexity: O(1)
Async-Handler-Safety: Safe.
Checks that frame references NULL address. Complexity: O(1)
Async-Handler-Safety: Safe.
Returns: |
|
Returns: |
|