CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
StreamFormatGuard (std::ostream &out, std::ios_base::fmtflags flags, char fill) | |
Creates a guard around out that sets format flags and character fill. More... | |
~StreamFormatGuard () | |
Destroys the guard and restores original stream formatting settings. More... | |
Public Member Functions inherited from catapult::utils::NonCopyable | |
constexpr | NonCopyable ()=default |
Default constructor. More... | |
~NonCopyable ()=default | |
Default destructor. More... | |
NonCopyable (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
NonCopyable & | operator= (const NonCopyable &)=delete |
Disabled assignment operator. More... | |
Private Attributes | |
std::ostream & | m_out |
std::ios_base::fmtflags | m_flags |
char | m_fill |
RAII class for modifying and restoring ostream formatting options.
|
inline |
Creates a guard around out that sets format flags and character fill.
|
inline |
Destroys the guard and restores original stream formatting settings.
|
private |
|
private |
|
private |