Public Member Functions | Public Attributes | List of all members
lar::debug::BacktracePrintOptions Struct Reference

Backtrace printing options. More...

#include <DebugUtils.h>

Public Member Functions

void setUniformIndent (std::string uniformIndent)
 Sets all indentation to the same specified uniformIndent string. More...
 

Public Attributes

unsigned int maxLines = 5
 Total number of lines to print. More...
 
unsigned int skipLines = 1
 Number of lines to skip. More...
 
bool countOthers = true
 Whether to print number of omitted lines. More...
 
std::string indent
 Indentation string for all lines. More...
 
std::string firstIndent
 Special indentation for the first line. More...
 
CallInfoPrinter::opt callInfoOptions = CallInfoPrinter::defaultOptions()
 Options for each single backtrace call information line. More...
 

Detailed Description

Backtrace printing options.

Definition at line 202 of file DebugUtils.h.

Member Function Documentation

void lar::debug::BacktracePrintOptions::setUniformIndent ( std::string  uniformIndent)
inline

Sets all indentation to the same specified uniformIndent string.

Definition at line 214 of file DebugUtils.h.

215  { indent = firstIndent = uniformIndent; }
std::string firstIndent
Special indentation for the first line.
Definition: DebugUtils.h:208
std::string indent
Indentation string for all lines.
Definition: DebugUtils.h:207

Member Data Documentation

CallInfoPrinter::opt lar::debug::BacktracePrintOptions::callInfoOptions = CallInfoPrinter::defaultOptions()

Options for each single backtrace call information line.

Definition at line 211 of file DebugUtils.h.

bool lar::debug::BacktracePrintOptions::countOthers = true

Whether to print number of omitted lines.

Definition at line 206 of file DebugUtils.h.

std::string lar::debug::BacktracePrintOptions::firstIndent

Special indentation for the first line.

Definition at line 208 of file DebugUtils.h.

std::string lar::debug::BacktracePrintOptions::indent

Indentation string for all lines.

Definition at line 207 of file DebugUtils.h.

unsigned int lar::debug::BacktracePrintOptions::maxLines = 5

Total number of lines to print.

Definition at line 204 of file DebugUtils.h.

unsigned int lar::debug::BacktracePrintOptions::skipLines = 1

Number of lines to skip.

Definition at line 205 of file DebugUtils.h.


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