Auxiliary class to temporarily replace std::ostream.  
 More...
#include <JPrintHelper.hh>
 | 
| typedef std::ostream &(*)  | io_manip(std::ostream &) | 
|   | Type definition of I/O operator.  
  | 
|   | 
 | 
|   | JPrinter (std::ostream &out) | 
|   | Constructor.  
  | 
|   | 
| std::ostream &  | operator<< (io_manip manip) | 
|   | Parse I/O manipulator.  
  | 
|   | 
| template<class T >  | 
| std::ostream &  | operator<< (const T &object) | 
|   | Parse object.  
  | 
|   | 
Auxiliary class to temporarily replace std::ostream. 
Definition at line 155 of file JPrintHelper.hh.
 
◆ io_manip
      
        
          | std::ostream &(*) JLANG::JPrinter::io_manip(std::ostream &) | 
        
      
 
 
◆ JPrinter()
  
  
      
        
          | JLANG::JPrinter::JPrinter  | 
          ( | 
          std::ostream & |           out | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator<<() [1/2]
  
  
      
        
          | std::ostream & JLANG::JPrinter::operator<<  | 
          ( | 
          io_manip |           manip | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Parse I/O manipulator. 
- Parameters
 - 
  
  
 
- Returns
 - output stream 
 
Definition at line 178 of file JPrintHelper.hh.
  179    { 
  180      return __out << manip;
 
  181    }
 
 
 
◆ operator<<() [2/2]
template<class T > 
  
  
      
        
          | std::ostream & JLANG::JPrinter::operator<<  | 
          ( | 
          const T & |           object | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Parse object. 
- Parameters
 - 
  
  
 
- Returns
 - output stream 
 
Definition at line 191 of file JPrintHelper.hh.
  192    {
  193      return __out << object;
 
  194    }   
 
 
 
◆ __out
  
  
      
        
          | std::ostream& JLANG::JPrinter::__out | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this struct was generated from the following file: