ExceptionBacktraceTree Struct Reference

Public Member Functions

void addEntry (const Trace *t) noexcept
 
 ExceptionBacktraceTree (ExceptionBacktraceTree *parent)
 
void print (std::ostream &out, const std::string &prefix="", std::size_t levelOffset=0)
 

Static Public Member Functions

static void ClearExceptionBacktrace ()
 
static void PrintExceptionBacktrace (std::ostream &out, const std::string &pre)
 

Public Attributes

std::deque< ExceptionBacktraceTree > children
 
std::size_t currentStackSize
 
std::deque< LocationProvider > entries
 
ExceptionBacktraceTree *const parent
 
const std::size_t parentEntryOffset
 

Static Public Attributes

static thread_local ExceptionBacktraceTree * Active = nullptr
 
static thread_local std::deque< ExceptionBacktraceTree > All
 

Friends

class Trace
 

Constructor & Destructor Documentation

◆ ExceptionBacktraceTree()

Member Function Documentation

◆ addEntry()

void addEntry ( const Trace * t)
inlinenoexcept

◆ ClearExceptionBacktrace()

void ClearExceptionBacktrace ( )
static

◆ print()

void print ( std::ostream & out,
const std::string & prefix = "",
std::size_t levelOffset = 0 )

◆ PrintExceptionBacktrace()

void PrintExceptionBacktrace ( std::ostream & out,
const std::string & pre )
static

Friends And Related Symbol Documentation

◆ Trace

friend class Trace
friend

Member Data Documentation

◆ Active

thread_local ExceptionBacktraceTree * Active = nullptr
static

◆ All

thread_local std::deque< ExceptionBacktraceTree > All
static

◆ children

std::deque<ExceptionBacktraceTree> children

◆ currentStackSize

std::size_t currentStackSize

◆ entries

std::deque<LocationProvider> entries

◆ parent

ExceptionBacktraceTree* const parent

◆ parentEntryOffset

const std::size_t parentEntryOffset

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