Jpp 19.3.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JLANG::JNullOutput< T > Struct Template Reference

Implementation of null output for single data type. More...

#include <JObjectOutput.hh>

Inheritance diagram for JLANG::JNullOutput< T >:
JLANG::JSingleton< JNullOutput< T > > JLANG::JObjectOutput< T > JSUPPORT::JMonteCarloStreamObjectOutput< JHead_t > JSUPPORT::JMonteCarloStreamObjectOutput< JTail_t > JIO::JBinaryWriterObjectOutput< T, false > JLANG::JNullAccessibleOutput< T > JSUPPORT::JDAQWriterObjectOutput< T, false > JSUPPORT::JMonteCarloStreamObjectOutput< T > JSUPPORT::JMonteCarloStreamObjectOutput< JTypeList< JHead_t, JNullType > > JSUPPORT::JMonteCarloStreamObjectOutput< JTypeList< JHead_t, JTail_t > > JSUPPORT::JMonteCarloStreamObjectOutput< JTypeList< JHead_t, JTail_t > > JSUPPORT::JMonteCarloFileWriter< 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.
 

Detailed Description

template<class T>
struct JLANG::JNullOutput< T >

Implementation of null output for single data type.

Definition at line 143 of file JObjectOutput.hh.

Member Typedef Documentation

◆ data_type

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

Definition at line 20 of file JSingleton.hh.

Member Function Documentation

◆ put()

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

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 struct was generated from the following file: