Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
backward::Printer Class Reference

#include <ogdf/lib/backward/backward.hpp>

Public Member Functions

 Printer ()
 
template<typename IT >
FILEprint (IT begin, IT end, FILE *os=stderr, size_t thread_id=0)
 
template<typename IT >
void print (IT begin, IT end, std::ostream &os, size_t thread_id=0)
 
template<typename ST >
FILEprint (ST &st, FILE *os=stderr)
 
template<typename ST >
void print (ST &st, std::ostream &os)
 

Public Attributes

bool address
 
bool color
 
int inliner_context_size
 
bool object
 
bool snippet
 
int trace_context_size
 

Private Member Functions

template<typename IT >
void print (IT begin, IT end, std::ostream &os, size_t thread_id, Colorize &colorize)
 
template<typename ST >
void print (ST &st, std::ostream &os, Colorize &colorize)
 
void print_header (std::ostream &os, unsigned thread_id)
 
void print_snippet (std::ostream &os, const char *indent, const ResolvedTrace::SourceLoc &source_loc, Colorize &colorize, Color::type color_code, int context_size)
 
void print_source_loc (std::ostream &os, const char *indent, const ResolvedTrace::SourceLoc &source_loc, void *addr=0)
 
void print_trace (std::ostream &os, const ResolvedTrace &trace, Colorize &colorize)
 

Private Attributes

TraceResolver _resolver
 
SnippetFactory _snippets
 

Detailed Description

Definition at line 1733 of file backward.hpp.

Constructor & Destructor Documentation

◆ Printer()

backward::Printer::Printer ( )
inline

Definition at line 1742 of file backward.hpp.

Member Function Documentation

◆ print() [1/6]

template<typename IT >
FILE * backward::Printer::print ( IT  begin,
IT  end,
FILE os = stderr,
size_t  thread_id = 0 
)
inline

Definition at line 1773 of file backward.hpp.

◆ print() [2/6]

template<typename IT >
void backward::Printer::print ( IT  begin,
IT  end,
std::ostream &  os,
size_t  thread_id,
Colorize colorize 
)
inlineprivate

Definition at line 1807 of file backward.hpp.

◆ print() [3/6]

template<typename IT >
void backward::Printer::print ( IT  begin,
IT  end,
std::ostream &  os,
size_t  thread_id = 0 
)
inline

Definition at line 1785 of file backward.hpp.

◆ print() [4/6]

template<typename ST >
FILE * backward::Printer::print ( ST st,
FILE os = stderr 
)
inline

Definition at line 1752 of file backward.hpp.

◆ print() [5/6]

template<typename ST >
void backward::Printer::print ( ST st,
std::ostream &  os 
)
inline

Definition at line 1764 of file backward.hpp.

◆ print() [6/6]

template<typename ST >
void backward::Printer::print ( ST st,
std::ostream &  os,
Colorize colorize 
)
inlineprivate

Definition at line 1798 of file backward.hpp.

◆ print_header()

void backward::Printer::print_header ( std::ostream &  os,
unsigned  thread_id 
)
inlineprivate

Definition at line 1814 of file backward.hpp.

◆ print_snippet()

void backward::Printer::print_snippet ( std::ostream &  os,
const char indent,
const ResolvedTrace::SourceLoc source_loc,
Colorize colorize,
Color::type  color_code,
int  context_size 
)
inlineprivate

Definition at line 1867 of file backward.hpp.

◆ print_source_loc()

void backward::Printer::print_source_loc ( std::ostream &  os,
const char indent,
const ResolvedTrace::SourceLoc source_loc,
void addr = 0 
)
inlineprivate

Definition at line 1896 of file backward.hpp.

◆ print_trace()

void backward::Printer::print_trace ( std::ostream &  os,
const ResolvedTrace trace,
Colorize colorize 
)
inlineprivate

Definition at line 1822 of file backward.hpp.

Member Data Documentation

◆ _resolver

TraceResolver backward::Printer::_resolver
private

Definition at line 1794 of file backward.hpp.

◆ _snippets

SnippetFactory backward::Printer::_snippets
private

Definition at line 1795 of file backward.hpp.

◆ address

bool backward::Printer::address

Definition at line 1737 of file backward.hpp.

◆ color

bool backward::Printer::color

Definition at line 1736 of file backward.hpp.

◆ inliner_context_size

int backward::Printer::inliner_context_size

Definition at line 1739 of file backward.hpp.

◆ object

bool backward::Printer::object

Definition at line 1738 of file backward.hpp.

◆ snippet

bool backward::Printer::snippet

Definition at line 1735 of file backward.hpp.

◆ trace_context_size

int backward::Printer::trace_context_size

Definition at line 1740 of file backward.hpp.


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