CppCommon  1.0.4.1
C++ Common Library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Enumerations | Functions
console.h File Reference

Console management definition. More...

#include <ostream>
#include "console.inl"

Go to the source code of this file.

Classes

class  CppCommon::Console
 Console management static class. More...
 

Namespaces

 CppCommon
 C++ Common project definitions.
 

Enumerations

enum class  CppCommon::Color {
  CppCommon::BLACK , CppCommon::BLUE , CppCommon::GREEN , CppCommon::CYAN ,
  CppCommon::RED , CppCommon::MAGENTA , CppCommon::BROWN , CppCommon::GREY ,
  CppCommon::DARKGREY , CppCommon::LIGHTBLUE , CppCommon::LIGHTGREEN , CppCommon::LIGHTCYAN ,
  CppCommon::LIGHTRED , CppCommon::LIGHTMAGENTA , CppCommon::YELLOW , CppCommon::WHITE
}
 Supported console colors. More...
 

Functions

template<class TOutputStream >
TOutputStream & CppCommon::operator<< (TOutputStream &stream, Color color)
 Stream manipulator: change console text color. More...
 
template<class TOutputStream >
TOutputStream & CppCommon::operator<< (TOutputStream &stream, std::pair< Color, Color > colors)
 Stream manipulator: change console text and background colors. More...
 

Detailed Description

Console management definition.

Author
Ivan Shynkarenka
Date
27.07.2016

Definition in file console.h.