xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::ios::Indent Class Referencefinal

Automatic object that indents a stream. More...

#include <xentara/utils/ios/Indent.hpp>

Public Member Functions

 Indent (std::ostream &stream)
 Constructor that increases the stream indent of a stream.
 
 ~Indent ()
 Descructor that decreases the stream indent of a stream.
 

Detailed Description

Automatic object that indents a stream.

Constructor & Destructor Documentation

◆ Indent()

xentara::utils::ios::Indent::Indent ( std::ostream stream)

Constructor that increases the stream indent of a stream.

Parameters
streamThe stream to indent

◆ ~Indent()

xentara::utils::ios::Indent::~Indent ( )

Descructor that decreases the stream indent of a stream.