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.
References decindent(), and iendl().
| std::ostream & hpp::decindent | ( | std::ostream & | o | ) |
Decrement the indentation.
References indent().
Referenced by decendl(), hpp::debug::JournalOutput::write(), and hpp::debug::ConsoleOutput::write().
| hpp::HPP_MAKE_EXCEPTION | ( | HPP_UTIL_DLLAPI | , |
| AssertionError | |||
| ) |
| std::ostream & hpp::iendl | ( | std::ostream & | o | ) |
Print an end of line, then set the indentation.
References indent().
Referenced by decendl(), incendl(), and hpp::debug::JournalOutput::write().
| std::ostream & hpp::incendl | ( | std::ostream & | o | ) |
Increment the indentation, print an end of line, and set the indentation.
References iendl(), and incindent().
| std::ostream & hpp::incindent | ( | std::ostream & | o | ) |
Increment the indentation.
References indent().
Referenced by incendl(), hpp::debug::JournalOutput::write(), and hpp::debug::ConsoleOutput::write().
|
inline |
The current indentation level for o.
Referenced by decindent(), iendl(), incindent(), and resetindent().
| 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 |
References hpp::Exception::print().
| std::ostream & hpp::resetindent | ( | std::ostream & | o | ) |
Reset the indentation.
References indent().