LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
dump::DumperBase::IndentSettings Struct Reference

Public Member Functions

void set (std::string const &newIndent, std::string const &newFirstIndent)
 
void set (std::string &&newIndent, std::string &&newFirstIndent)
 
void set (std::string const &newIndent)
 

Public Attributes

std::string indent = ""
 Default indentation string. More...
 
std::string firstIndent = ""
 Indentation string for the first line. More...
 

Detailed Description

Definition at line 39 of file DumperBase.h.

Member Function Documentation

void dump::DumperBase::IndentSettings::set ( std::string const &  newIndent,
std::string const &  newFirstIndent 
)
inline

Definition at line 43 of file DumperBase.h.

Referenced by dump::raw::OpDetWaveformDumper::dump().

44  {
45  indent = newIndent;
46  firstIndent = newFirstIndent;
47  }
std::string firstIndent
Indentation string for the first line.
Definition: DumperBase.h:41
std::string indent
Default indentation string.
Definition: DumperBase.h:40
void dump::DumperBase::IndentSettings::set ( std::string &&  newIndent,
std::string &&  newFirstIndent 
)
inline

Definition at line 48 of file DumperBase.h.

49  {
50  indent = std::move(newIndent);
51  firstIndent = std::move(newFirstIndent);
52  }
std::string firstIndent
Indentation string for the first line.
Definition: DumperBase.h:41
std::string indent
Default indentation string.
Definition: DumperBase.h:40
void dump::DumperBase::IndentSettings::set ( std::string const &  newIndent)
inline

Definition at line 53 of file DumperBase.h.

53 { set(newIndent, newIndent); }

Member Data Documentation

std::string dump::DumperBase::IndentSettings::firstIndent = ""

Indentation string for the first line.

Definition at line 41 of file DumperBase.h.

Referenced by dump::DumperBase::firstIndent(), and dump::DumperBase::indented().

std::string dump::DumperBase::IndentSettings::indent = ""

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