Auxiliary class to print via member method const char* str() const;.  
 More...
#include <JPrintHelper.hh>
 | 
| template<class T >  | 
|   | JPrintHelper (const T &object) | 
|   | Constructor.  
  | 
|   | 
|   | ~JPrintHelper () | 
|   | Destructor.  
  | 
|   | 
| std::ostream &  | print (std::ostream &out) const | 
|   | Print object.  
  | 
|   | 
 | 
| const void *  | p | 
|   | pointer to object  
  | 
|   | 
| JTypeout *  | typeout | 
|   | pointer to printer interface  
  | 
|   | 
Auxiliary class to print via member method const char* str() const;. 
Definition at line 24 of file JPrintHelper.hh.
 
◆ JPrintHelper() [1/3]
template<class T > 
  
  
      
        
          | JLANG::JPrintHelper::JPrintHelper  | 
          ( | 
          const T & |           object | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
  
 
Definition at line 118 of file JPrintHelper.hh.
  118                                  :
  121    {}
static const bool __str__
 
static JTypeout * get(JType< T > type, JBool< true > option)
Get type writer.
 
JTypeout * typeout
pointer to printer interface
 
const void * p
pointer to object
 
 
 
 
◆ ~JPrintHelper()
  
  
      
        
          | JLANG::JPrintHelper::~JPrintHelper  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JPrintHelper() [2/3]
◆ JPrintHelper() [3/3]
◆ get()
Get type writer. 
- Parameters
 - 
  
  
 
Definition at line 75 of file JPrintHelper.hh.
   76    {
   77      return new JTypewriter<T>();
   78    }
 
 
 
◆ print()
  
  
      
        
          | std::ostream & JLANG::JPrintHelper::print  | 
          ( | 
          std::ostream & |           out | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Print object. 
- Parameters
 - 
  
  
 
- Returns
 - output stream 
 
Definition at line 139 of file JPrintHelper.hh.
  140    {
  142    }
virtual std::ostream & print(std::ostream &out, const void *p) const =0
Print object.
 
 
 
 
◆ operator=() [1/2]
◆ operator=() [2/2]
  
  
      
        
          | const void* JLANG::JPrintHelper::p | 
         
       
   | 
  
private   | 
  
 
 
◆ typeout
The documentation for this class was generated from the following file: