Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Color Class Reference

Define ANSI colors (including foreground, background, bold and underline) for global use in std C/elm strings/outstreams, using implicit type conversions. More...

#include <elm/log/Log.h>

Public Member Functions

 Color (const elm::CString &str)
 
elm::CString operator() () const
 
 operator elm::CString () const
 
 operator const char * () const
 

Detailed Description

Define ANSI colors (including foreground, background, bold and underline) for global use in std C/elm strings/outstreams, using implicit type conversions.

Constructor & Destructor Documentation

◆ Color()

Color ( const elm::CString str)
inline

Member Function Documentation

◆ operator const char *()

operator const char * ( ) const
inline

◆ operator elm::CString()

operator elm::CString ( ) const
inline

◆ operator()()

elm::CString operator() ( ) const
inline

References Debug::getColorFlag().


The documentation for this class was generated from the following file: