ReFRACtor
boost::backtrace Class Reference

#include <backtrace.hpp>

+ Inheritance diagram for boost::backtrace:
+ Collaboration diagram for boost::backtrace:

Public Member Functions

 backtrace (size_t frames_no=default_stack_size)
 
virtual ~backtrace () throw ()
 
void * return_address (unsigned frame_no) const
 
size_t stack_size () const
 
std::string trace () const
 
void trace (std::ostream &out) const
 
void trace_line (unsigned frame_no, std::ostream &out) const
 
std::string trace_line (unsigned frame_no) const
 

Static Public Attributes

static size_t const default_stack_size = 32
 

Detailed Description

Definition at line 27 of file backtrace.hpp.

Constructor & Destructor Documentation

◆ backtrace()

boost::backtrace::backtrace ( size_t  frames_no = default_stack_size)
inline

Definition at line 32 of file backtrace.hpp.

◆ ~backtrace()

virtual boost::backtrace::~backtrace ( )
throw (
)
inlinevirtual

Definition at line 41 of file backtrace.hpp.

Member Function Documentation

◆ return_address()

void* boost::backtrace::return_address ( unsigned  frame_no) const
inline

Definition at line 50 of file backtrace.hpp.

◆ stack_size()

size_t boost::backtrace::stack_size ( ) const
inline

Definition at line 45 of file backtrace.hpp.

◆ trace() [1/2]

std::string boost::backtrace::trace ( ) const
inline

Definition at line 70 of file backtrace.hpp.

◆ trace() [2/2]

void boost::backtrace::trace ( std::ostream &  out) const
inline

Definition at line 77 of file backtrace.hpp.

◆ trace_line() [1/2]

void boost::backtrace::trace_line ( unsigned  frame_no,
std::ostream &  out 
) const
inline

Definition at line 57 of file backtrace.hpp.

◆ trace_line() [2/2]

std::string boost::backtrace::trace_line ( unsigned  frame_no) const
inline

Definition at line 63 of file backtrace.hpp.

Member Data Documentation

◆ default_stack_size

size_t const boost::backtrace::default_stack_size = 32
static

Definition at line 30 of file backtrace.hpp.


The documentation for this class was generated from the following file:

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:11