Classes | |
| class | Color |
| Console output color manipulator. More... | |
| class | Error |
| streamable error object More... | |
Enumerations | |
| enum | EColor { C_NO_COLOR = 0, C_BLUE, C_GREEN, C_CYAN, C_RED, C_PURPLE, C_BROWN, C_LIGHT_GRAY, C_DARK_GRAY, C_LIGHT_BLUE, C_LIGHT_GREEN, C_LIGHT_CYAN, C_LIGHT_RED, C_LIGHT_PURPLE, C_YELLOW, C_WHITE } |
| Console ouput colors enumeration. Zero means default color. More... | |
| enum | EError { E_NO_ERROR = 0, E_ERROR, E_WARNING, E_NOTE } |
| error types enumeration More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &, const Color &) |
| This behaves as standard stream manipulators. | |
| std::ostream & | operator<< (std::ostream &, const Error &) |
| print error to stream (no new lines) | |
| enum EColor |
| enum EError |
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const Error & | err | |||
| ) |
print error to stream (no new lines)
Definition at line 118 of file vypIO.cc.
References C_LIGHT_BLUE, C_LIGHT_CYAN, C_LIGHT_GREEN, C_LIGHT_RED, C_NO_COLOR, C_YELLOW, Error::Private::category, Error::d, E_ERROR, E_NOTE, E_WARNING, ETOKEN_NULL, Error::Private::file, Error::Private::lineno, Error::Private::msg, Error::Private::token, Token::type, and Error::Private::type.
| std::ostream & operator<< | ( | std::ostream & | stream, | |
| const Color & | cObj | |||
| ) |
This behaves as standard stream manipulators.
Definition at line 56 of file vypIO.cc.
References C_BLUE, C_BROWN, C_CYAN, C_DARK_GRAY, C_GREEN, C_LIGHT_BLUE, C_LIGHT_CYAN, C_LIGHT_GRAY, C_LIGHT_GREEN, C_LIGHT_PURPLE, C_LIGHT_RED, C_NO_COLOR, C_PURPLE, C_RED, C_WHITE, C_YELLOW, Color::Private::color, Color::d, and Color::useColors.
1.5.4