C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
CppUtilities::Indentation Class Reference

The Indentation class allows printing indentation conveniently, eg. More...

#include <commandlineutils.h>

Public Member Functions

 Indentation (unsigned char level=4, char character=' ')
 
Indentation operator+ (unsigned char level)
 

Public Attributes

unsigned char level
 
char character
 

Detailed Description

The Indentation class allows printing indentation conveniently, eg.

cout << Indentation(4) << ...

Definition at line 71 of file commandlineutils.h.

Constructor & Destructor Documentation

◆ Indentation()

CppUtilities::Indentation::Indentation ( unsigned char level = 4,
char character = ' ' )
inline

Definition at line 73 of file commandlineutils.h.

Member Function Documentation

◆ operator+()

Indentation CppUtilities::Indentation::operator+ ( unsigned char level)
inline

Definition at line 79 of file commandlineutils.h.

Member Data Documentation

◆ character

char CppUtilities::Indentation::character

Definition at line 85 of file commandlineutils.h.

◆ level

unsigned char CppUtilities::Indentation::level

Definition at line 84 of file commandlineutils.h.


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