Jpp  16.0.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
JPrintHelper.hh File Reference
#include <ostream>
#include "JLang/JType.hh"
#include "JLang/JBool.hh"
#include "JLang/JTest.hh"
#include "JLang/JClass.hh"

Go to the source code of this file.

Classes

class  JLANG::JPrintHelper
 Auxiliary class to print via member method const char* str() const;. More...
 
struct  JLANG::JPrintHelper::JTypeout
 Print interface. More...
 
struct  JLANG::JPrintHelper::JTypewriter< T >
 Type writer implementation of interface JTypeout based on member method const char* str() const; More...
 
class  JLANG::JPrintHelper::JMemberMethod< T, is_primitive >
 Test for availability of member method const char* str() const;. More...
 
struct  JLANG::JPrintHelper::JMemberMethod< T, true >
 Specialisation of JMemberMethod for primitive data types. More...
 
struct  JLANG::JPrinter
 Auxiliary class to temporarily replace std::ostream. More...
 

Namespaces

 JLANG
 Auxiliary classes and methods for language specific functionality.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

JLANG::JPrinter operator<< (std::ostream &out, const JLANG::JPrintHelper &object)
 Print object via helper. More...
 

Function Documentation

JLANG::JPrinter operator<< ( std::ostream &  out,
const JLANG::JPrintHelper object 
)
inline

Print object via helper.

Parameters
outoutput stream
objectobject
Returns
output stream

Definition at line 203 of file JPrintHelper.hh.

204 {
205  return object.print(out);
206 }