Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JIO::JBinaryWriterObjectOutput< T, false > Class Template Reference

Implementation of object output for binary stream incompatible data types. More...

#include <JBinaryFileWriter.hh>

Inheritance diagram for JIO::JBinaryWriterObjectOutput< T, false >:
JLANG::JNullOutput< T > JLANG::JSingleton< JNullOutput< T > > JLANG::JObjectOutput< T >

Public Types

typedef T data_type
 

Public Member Functions

virtual bool put (const T &object) override
 Object output.
 

Static Public Member Functions

static data_typegetInstance ()
 Get unique instance of template class.
 

Protected Member Functions

 JBinaryWriterObjectOutput (JWriter &writer)
 Constructor.
 

Detailed Description

template<class T>
class JIO::JBinaryWriterObjectOutput< T, false >

Implementation of object output for binary stream incompatible data types.

This class implements the JLANG::JObjectOutput interface by doing nothing.

Definition at line 65 of file JBinaryFileWriter.hh.

Member Typedef Documentation

◆ data_type

T JLANG::JSingleton< T >::data_type
inherited

Definition at line 20 of file JSingleton.hh.

Constructor & Destructor Documentation

◆ JBinaryWriterObjectOutput()

template<class T >
JIO::JBinaryWriterObjectOutput< T, false >::JBinaryWriterObjectOutput ( JWriter & writer)
inlineprotected

Constructor.

Parameters
writerJWriter output

Definition at line 74 of file JBinaryFileWriter.hh.

75 {}

Member Function Documentation

◆ put()

template<class T >
virtual bool JLANG::JNullOutput< T >::put ( const T & object)
inlineoverridevirtualinherited

Object output.

Parameters
objectobject
Returns
false

Implements JLANG::JObjectOutput< T >.

Definition at line 153 of file JObjectOutput.hh.

154 {
155 return false;
156 }

◆ getInstance()

static data_type & JLANG::JSingleton< T >::getInstance ( )
inlinestaticinherited

Get unique instance of template class.

Returns
object

Definition at line 27 of file JSingleton.hh.

28 {
29 static data_type value;
30
31 return value;
32 }

The documentation for this class was generated from the following file: