hpp-util 7.0.0
Debugging tools for the HPP project.
Loading...
Searching...
No Matches
hpp Namespace Reference

Namespaces

namespace  debug
namespace  serialization
namespace  util

Classes

class  Exception
 Main exception class for HPP. More...
struct  ExceptionFactory
 Class to ease exception creation. More...

Functions

 HPP_MAKE_EXCEPTION (HPP_UTIL_DLLAPI, AssertionError)
HPP_UTIL_DLLAPI std::ostream & operator<< (std::ostream &o, const Exception &exception)
 Override operator<< to handle exception display.
HPP_UTIL_DLLAPI long & indent (std::ostream &o)
 The current indentation level for o.
HPP_UTIL_DLLAPI std::ostream & incindent (std::ostream &o)
 Increment the indentation.
HPP_UTIL_DLLAPI std::ostream & decindent (std::ostream &o)
 Decrement the indentation.
HPP_UTIL_DLLAPI std::ostream & resetindent (std::ostream &o)
 Reset the indentation.
HPP_UTIL_DLLAPI std::ostream & iendl (std::ostream &o)
 Print an end of line, then set the indentation.
HPP_UTIL_DLLAPI std::ostream & incendl (std::ostream &o)
 Increment the indentation, print an end of line, and set the indentation.
HPP_UTIL_DLLAPI std::ostream & decendl (std::ostream &o)
 Decrement the indentation, print an end of line, and set the indentation.

Function Documentation

◆ decendl()

std::ostream & hpp::decendl(std::ostream &o)

Decrement the indentation, print an end of line, and set the indentation.

◆ decindent()

std::ostream & hpp::decindent(std::ostream &o)

Decrement the indentation.

◆ HPP_MAKE_EXCEPTION()

hpp::HPP_MAKE_EXCEPTION(HPP_UTIL_DLLAPI,
AssertionError )

◆ iendl()

std::ostream & hpp::iendl(std::ostream &o)

Print an end of line, then set the indentation.

◆ incendl()

std::ostream & hpp::incendl(std::ostream &o)

Increment the indentation, print an end of line, and set the indentation.

◆ incindent()

std::ostream & hpp::incindent(std::ostream &o)

Increment the indentation.

◆ indent()

long & hpp::indent(std::ostream &o)
inline

The current indentation level for o.

◆ operator<<()

std::ostream & hpp::operator<<(std::ostream &o,
const Exception &exception )

Override operator<< to handle exception display.

Parameters
ooutput stream used for display
exceptionexception to be displayed
Returns
output stream

◆ resetindent()

std::ostream & hpp::resetindent(std::ostream &o)

Reset the indentation.