LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 236 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 248 of file DebugUtils.h.

249  { indent = firstIndent = uniformIndent; }
std::string firstIndent
Special indentation for the first line.
Definition: DebugUtils.h:242
std::string indent
Indentation string for all lines.
Definition: DebugUtils.h:241

Member Data Documentation

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

Options for each single backtrace call information line.

Definition at line 245 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 240 of file DebugUtils.h.

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

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

Special indentation for the first line.

Definition at line 242 of file DebugUtils.h.

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

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

Indentation string for all lines.

Definition at line 241 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 238 of file DebugUtils.h.

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

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

Number of lines to skip.

Definition at line 239 of file DebugUtils.h.

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


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