LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
dump Namespace Reference

Collection of utilities for dumping data on screen. More...

Namespaces

 raw
 

Classes

class  DumperBase
 Base class for data dumpers. More...
 

Functions

template<typename Dumper >
auto withIndentation (Dumper &&dumper, std::string const &indent, std::string const &firstIndent)
 Changes the indentation settings of a dumper class and returns it back. More...
 
template<typename Dumper >
auto withIndentation (Dumper &&dumper, std::string const &indent)
 Changes the indentation settings of a dumper class and returns it back. More...
 

Detailed Description

Collection of utilities for dumping data on screen.

Function Documentation

template<typename Dumper >
auto dump::withIndentation ( Dumper &&  dumper,
std::string const &  indent,
std::string const &  firstIndent 
)

Changes the indentation settings of a dumper class and returns it back.

Definition at line 244 of file DumperBase.h.

Referenced by withIndentation().

245  {
246  dumper.setIndent(indent, firstIndent);
247  return dumper;
248  }
std::string indent(std::size_t const i)
template<typename Dumper >
auto dump::withIndentation ( Dumper &&  dumper,
std::string const &  indent 
)

Changes the indentation settings of a dumper class and returns it back.

Definition at line 252 of file DumperBase.h.

References withIndentation().

253  {
254  return withIndentation(std::forward<Dumper>(dumper), indent, indent);
255  }
std::string indent(std::size_t const i)
auto withIndentation(Dumper &&dumper, std::string const &indent)
Changes the indentation settings of a dumper class and returns it back.
Definition: DumperBase.h:252