|
hpp-util 6.0.0
Debugging tools for the HPP project.
|
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. | |
| 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.