MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
cpptoml::fill_guard Class Reference

#include <cpptoml.h>

Collaboration diagram for cpptoml::fill_guard:
[legend]

Public Member Functions

 fill_guard (std::ostream &os)
 
 ~fill_guard ()
 

Private Attributes

std::ostream & os_
 
std::ostream::char_type fill_
 

Detailed Description

Definition at line 189 of file cpptoml.h.

Constructor & Destructor Documentation

◆ fill_guard()

cpptoml::fill_guard::fill_guard ( std::ostream &  os)
inlineexplicit

Definition at line 191 of file cpptoml.h.

191 : os_(os), fill_{os.fill()} {
192 // nothing
193 }
std::ostream::char_type fill_
Definition: cpptoml.h:199
std::ostream & os_
Definition: cpptoml.h:198

◆ ~fill_guard()

cpptoml::fill_guard::~fill_guard ( )
inline

Definition at line 195 of file cpptoml.h.

195{ os_.fill(fill_); }

Member Data Documentation

◆ fill_

std::ostream::char_type cpptoml::fill_guard::fill_
private

Definition at line 199 of file cpptoml.h.

◆ os_

std::ostream& cpptoml::fill_guard::os_
private

Definition at line 198 of file cpptoml.h.


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