Facet interface to specify text color.  
 More...
#include <JColorFacet.hh>
 | 
| static std::locale::id  | id | 
|   | 
Facet interface to specify text color. 
This class extends the std::locale::facet class. 
Definition at line 46 of file JColorFacet.hh.
 
◆ JColorFacet() [1/2]
  
  
      
        
          | JLANG::JColorFacet::JColorFacet  | 
          ( | 
          std::size_t  | 
          refs = 0 | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
  
 
Definition at line 57 of file JColorFacet.hh.
   58       std::locale::facet(refs)
 
 
 
 
◆ JColorFacet() [2/2]
  
  
      
        
          | JLANG::JColorFacet::JColorFacet  | 
          ( | 
          const JColorFacet &  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ c_str()
  
  
      
        
          | virtual const char* JLANG::JColorFacet::c_str  | 
          ( | 
          const JColor_t  | 
          color | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ clone()
  
  
      
        
          | virtual JColorFacet* JLANG::JColorFacet::clone  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ is_color()
  
  
      
        
          | static bool JLANG::JColorFacet::is_color  | 
          ( | 
          const int  | 
          color | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Check color. 
- Parameters
 - 
  
  
 
- Returns
 - true if color; else false 
 
Definition at line 85 of file JColorFacet.hh.
 
 
◆ is_bold()
  
  
      
        
          | static bool JLANG::JColorFacet::is_bold  | 
          ( | 
          const int  | 
          color | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Check bold. 
- Parameters
 - 
  
  
 
- Returns
 - true if bold; else false 
 
Definition at line 97 of file JColorFacet.hh.
 
 
◆ is_reset()
  
  
      
        
          | static bool JLANG::JColorFacet::is_reset  | 
          ( | 
          const int  | 
          color | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Check reset. 
- Parameters
 - 
  
  
 
- Returns
 - true if reset; else false 
 
Definition at line 109 of file JColorFacet.hh.
  111       return color == 
RESET;
 
 
 
 
◆ operator=()
  
  
      
        
          | void JLANG::JColorFacet::operator=  | 
          ( | 
          const JColorFacet &  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ id
  
  
      
        
          | std::locale::id JLANG::JColorFacet::id | 
         
       
   | 
  
static   | 
  
 
 
The documentation for this struct was generated from the following files: