C++ Utilities  5.10.5
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Namespaces | Functions
ansiescapecodes.cpp File Reference
#include "./ansiescapecodes.h"
Include dependency graph for ansiescapecodes.cpp:

Go to the source code of this file.

Namespaces

 CppUtilities
 Contains all utilities provides by the c++utilities library.
 
 CppUtilities::EscapeCodes
 Encapsulates functions for formatted terminal output using ANSI escape codes.
 

Functions

CPP_UTILITIES_EXPORT std::ostream & CppUtilities::EscapeCodes::operator<< (std::ostream &stream, Phrases phrase)
 Prints the specified phrase in a formatted manner using ANSI escape codes. More...
 
CPP_UTILITIES_EXPORT std::string_view CppUtilities::EscapeCodes::phraseString (Phrases phrase)
 Returns a string for the specified phrase without formatting. More...
 
CPP_UTILITIES_EXPORT std::string_view CppUtilities::EscapeCodes::formattedPhraseString (Phrases phrase)
 Returns a string for the specified phrase which is formatted using ANSI escape codes. More...