LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 201 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 213 of file DebugUtils.h.

References lar::debug::printBacktrace().

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

Member Data Documentation

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

Options for each single backtrace call information line.

Definition at line 210 of file DebugUtils.h.

Referenced by lar::debug::printBacktrace().

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

Whether to print number of omitted lines.

Definition at line 205 of file DebugUtils.h.

Referenced by lar::debug::printBacktrace().

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

Special indentation for the first line.

Definition at line 207 of file DebugUtils.h.

Referenced by lar::debug::printBacktrace().

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

Indentation string for all lines.

Definition at line 206 of file DebugUtils.h.

Referenced by lar::debug::printBacktrace().

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

Total number of lines to print.

Definition at line 203 of file DebugUtils.h.

Referenced by lar::debug::printBacktrace().

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

Number of lines to skip.

Definition at line 204 of file DebugUtils.h.

Referenced by lar::debug::printBacktrace().


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