Auxiliary class for format stream.  
 More...
#include <JStreamAvailable.hh>
 | 
| template<class T >  | 
| std::ostream &  | print (std::ostream &out, const T &value, const JLANG::JBool< true > &option) | 
|   | Print value if given option is true.  More...
  | 
|   | 
| template<class T >  | 
| std::ostream &  | print (std::ostream &out, const T &value, const JLANG::JBool< false > &option) | 
|   | Print value if given option is true.  More...
  | 
|   | 
Auxiliary class for format stream. 
Definition at line 86 of file JStreamAvailable.hh.
 
  
  
      
        
          | STREAM::JStream::JStream  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const std::string &  | 
          message  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | out | output stream  | 
    | message | message printed in case operator std::ostream<< is unavailable  | 
  
   
Definition at line 94 of file JStreamAvailable.hh.
 
 
template<class T > 
  
  
      
        
          | std::ostream& STREAM::JStream::operator<<  | 
          ( | 
          const T &  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Write value to output stream. 
- Parameters
 - 
  
  
 
- Returns
 - this JStream 
 
Definition at line 107 of file JStreamAvailable.hh.
std::ostream & print(std::ostream &out, const T &value, const JLANG::JBool< true > &option)
Print value if given option is true. 
 
Test availability of stream operators. 
 
 
 
 
template<class T > 
  
  
      
        
          | std::ostream& STREAM::JStream::print  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const T &  | 
          value,  | 
         
        
           | 
           | 
          const JLANG::JBool< true > &  | 
          option  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlineprivate   | 
  
 
Print value if given option is true. 
- Parameters
 - 
  
    | out | output stream  | 
    | value | value  | 
    | option | true  | 
  
   
- Returns
 - output stream 
 
Definition at line 124 of file JStreamAvailable.hh.
 
 
template<class T > 
  
  
      
        
          | std::ostream& STREAM::JStream::print  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const T &  | 
          value,  | 
         
        
           | 
           | 
          const JLANG::JBool< false > &  | 
          option  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlineprivate   | 
  
 
Print value if given option is true. 
- Parameters
 - 
  
    | out | output stream  | 
    | value | value  | 
    | option | false  | 
  
   
- Returns
 - output stream 
 
Definition at line 138 of file JStreamAvailable.hh.
 
 
  
  
      
        
          | std::ostream& STREAM::JStream::out | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this struct was generated from the following file: