C++ Utilities  4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Public Member Functions | Public Attributes | List of all members
ApplicationUtilities::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 66 of file commandlineutils.h.

Constructor & Destructor Documentation

◆ Indentation()

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

Definition at line 68 of file commandlineutils.h.

Member Function Documentation

◆ operator+()

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

Definition at line 74 of file commandlineutils.h.

Member Data Documentation

◆ character

char ApplicationUtilities::Indentation::character

Definition at line 80 of file commandlineutils.h.

◆ level

unsigned char ApplicationUtilities::Indentation::level

Definition at line 79 of file commandlineutils.h.


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