Jpp
17.1.1
the software that should make you happy
|
Auxiliary class to print via member method const char* str() const;
.
More...
#include <JPrintHelper.hh>
Classes | |
class | JMemberMethod |
Test for availability of member method const char* str() const; . More... | |
struct | JMemberMethod< T, true > |
Specialisation of JMemberMethod for primitive data types. More... | |
struct | JTypeout |
Print interface. More... | |
struct | JTypewriter |
Type writer implementation of interface JTypeout based on member method const char* str() const; More... | |
Public Member Functions | |
template<class T > | |
JPrintHelper (const T &object) | |
Constructor. More... | |
~JPrintHelper () | |
Destructor. More... | |
std::ostream & | print (std::ostream &out) const |
Print object. More... | |
Private Member Functions | |
JPrintHelper (const JPrintHelper &) | |
JPrintHelper (JPrintHelper &&) | |
JPrintHelper & | operator= (const JPrintHelper &) |
JPrintHelper & | operator= (JPrintHelper &&) |
Static Private Member Functions | |
template<class T > | |
static JTypeout * | get (JType< T > type, JBool< true > option) |
Get type writer. More... | |
Private Attributes | |
const void * | p |
pointer to object More... | |
JTypeout * | typeout |
pointer to printer interface More... | |
Auxiliary class to print via member method const char* str() const;
.
Definition at line 24 of file JPrintHelper.hh.
|
inline |
Constructor.
object | object |
Definition at line 118 of file JPrintHelper.hh.
|
inline |
Destructor.
Definition at line 127 of file JPrintHelper.hh.
|
private |
|
private |
|
inlinestaticprivate |
|
inline |
Print object.
out | output stream |
Definition at line 139 of file JPrintHelper.hh.
|
private |
|
private |
|
private |
pointer to object
Definition at line 80 of file JPrintHelper.hh.
|
private |
pointer to printer interface
Definition at line 81 of file JPrintHelper.hh.