Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
PythonIndent Class Reference

Public Member Functions

 PythonIndent (std::ostream &ostr=std::cout, int indentLevel=0, std::string indentStr=" ")
 
void setIndent (int indentLevel)
 
void operator++ ()
 
void operator-- ()
 
void indent () const
 
template<typename ... TT>
void write (TT... args) const
 
void writeTitle (const std::string &title) const
 

Public Attributes

std::ostream & ostr = std::cout
 
int indentLevel = 0
 
std::string indentStr = " "
 

Protected Member Functions

template<typename T , typename ... TT>
void flush (const T &arg, TT... args) const
 
void flush () const
 

Member Function Documentation

◆ writeTitle()

void writeTitle ( const std::string &  title) const

Writes a doc title - a string underlined with a hyphen.


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