Jpp
17.0.0-rc.1
the software that should make you happy
|
Facet interface to specify text color. More...
#include <JColorFacet.hh>
Public Member Functions | |
JColorFacet (std::size_t refs=0) | |
Constructor. More... | |
virtual const char * | c_str (const JColor_t color) const =0 |
Print color. More... | |
virtual JColorFacet * | clone () const =0 |
Clone this facet. More... | |
Static Public Member Functions | |
static bool | is_color (const int color) |
Check color. More... | |
static bool | is_bold (const int color) |
Check bold. More... | |
static bool | is_reset (const int color) |
Check reset. More... | |
Static Public Attributes | |
static std::locale::id | id |
Private Member Functions | |
JColorFacet (const JColorFacet &) | |
void | operator= (const JColorFacet &) |
Facet interface to specify text color.
This class extends the std::locale::facet class.
Definition at line 46 of file JColorFacet.hh.
|
inline |
|
private |
|
pure virtual |
Print color.
color | code |
Implemented in JLANG::JColorFacetELcode, and JLANG::JColorFacetASCII.
|
pure virtual |
Clone this facet.
Implemented in JLANG::JColorFacetELcode, and JLANG::JColorFacetASCII.
|
inlinestatic |
Check color.
color | code |
Definition at line 85 of file JColorFacet.hh.
|
inlinestatic |
Check bold.
color | code |
Definition at line 97 of file JColorFacet.hh.
|
inlinestatic |
Check reset.
color | code |
Definition at line 109 of file JColorFacet.hh.
|
private |
|
static |
Definition at line 49 of file JColorFacet.hh.