#include <locale>
#include <ostream>
#include <string>
#include <vector>
#include <map>
#include "JLang/JType.hh"
#include "JLang/JTypeList.hh"
#include "JLang/JSinglePointer.hh"
#include "JLang/JException.hh"
 
Go to the source code of this file.
 | 
| namespace   | JLANG | 
|   | Auxiliary classes and methods for language specific functionality. 
  | 
|   | 
| namespace   | JPP | 
|   | This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). 
  | 
|   | 
◆ operator<<()
  
  
      
        
          | std::ostream & operator<<  | 
          ( | 
          std::ostream & |           out,  | 
         
        
           | 
           | 
          const JLANG::JColor_t |           color ) | 
         
       
   | 
  
inline   | 
  
 
Print color. 
- Parameters
 - 
  
    | out | output stream  | 
    | color | color  | 
  
   
- Returns
 - output stream 
 
Definition at line 343 of file JColorFacet.hh.
  344{
  347 
  348  const locale& 
loc = out.getloc();
 
  349          
  350  if      (has_facet<JColorFacetASCII>(
loc)) 
 
  351    return out << use_facet<JColorFacetASCII> (
loc).c_str(color);
 
  352  else if (has_facet<JColorFacetELcode>(
loc)) 
 
  353    return out << use_facet<JColorFacetELcode>(
loc).c_str(color);
 
  354  else
  356}
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Facet class to specify text color for ASCII.
 
virtual const char * c_str(const JColor_t color) const override
Print color.