All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
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 41 of file DumperBase.h.

Member Function Documentation

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

Definition at line 45 of file DumperBase.h.

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

Definition at line 47 of file DumperBase.h.

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

Definition at line 52 of file DumperBase.h.

52 { set(newIndent, newIndent); }
void set(std::string const &newIndent, std::string const &newFirstIndent)
Definition: DumperBase.h:45

Member Data Documentation

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

Indentation string for the first line.

Definition at line 43 of file DumperBase.h.

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

Default indentation string.

Definition at line 42 of file DumperBase.h.


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