Namespaces | Classes | Functions
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 233 of file DumperBase.h.

234  { dumper.setIndent(indent, firstIndent); return dumper; }
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 239 of file DumperBase.h.

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