xentara-utils v1.2.1
Xentara utilities library
Loading...
Searching...
No Matches
xentara::utils::ios::Indent Class Referencefinal

Automatic object that indents a stream. More...

#include <ios/Indent.hpp>

Public Member Functions

 Indent (std::ostream &stream)
 Constructor that increases the stream indent of a stream.
 
 ~Indent ()
 Destructor 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 ( )

Destructor that decreases the stream indent of a stream.