hpp-util
4.9.0
Debugging tools for the HPP project.
|
Namespaces | |
debug | |
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. More... | |
HPP_UTIL_DLLAPI long & | indent (std::ostream &o) |
The current indentation level for o. More... | |
HPP_UTIL_DLLAPI std::ostream & | incindent (std::ostream &o) |
Increment the indentation. More... | |
HPP_UTIL_DLLAPI std::ostream & | decindent (std::ostream &o) |
Decrement the indentation. More... | |
HPP_UTIL_DLLAPI std::ostream & | resetindent (std::ostream &o) |
Reset the indentation. More... | |
HPP_UTIL_DLLAPI std::ostream & | iendl (std::ostream &o) |
Print an end of line, then set the indentation. More... | |
HPP_UTIL_DLLAPI std::ostream & | incendl (std::ostream &o) |
Increment the indentation, print an end of line, and set the indentation. More... | |
HPP_UTIL_DLLAPI std::ostream & | decendl (std::ostream &o) |
Decrement the indentation, print an end of line, and set the indentation. More... | |
std::ostream & hpp::decendl | ( | std::ostream & | o | ) |
Decrement the indentation, print an end of line, and set the indentation.
std::ostream & hpp::decindent | ( | std::ostream & | o | ) |
Decrement the indentation.
hpp::HPP_MAKE_EXCEPTION | ( | HPP_UTIL_DLLAPI | , |
AssertionError | |||
) |
std::ostream & hpp::iendl | ( | std::ostream & | o | ) |
Print an end of line, then set the indentation.
std::ostream & hpp::incendl | ( | std::ostream & | o | ) |
Increment the indentation, print an end of line, and set the indentation.
std::ostream & hpp::incindent | ( | std::ostream & | o | ) |
Increment the indentation.
|
inline |
The current indentation level for o.
std::ostream & hpp::operator<< | ( | std::ostream & | o, |
const Exception & | exception | ||
) |
Override operator<< to handle exception display.
o | output stream used for display |
exception | exception to be displayed |
std::ostream & hpp::resetindent | ( | std::ostream & | o | ) |
Reset the indentation.