Jpp
test_elongated_shower_pde
the software that should make you happy
|
Abstract interface for object writing with named access. More...
#include <JAbstractObjectWriter.hh>
Public Member Functions | |
virtual JAccessibleObjectOutput< T > * | getHelper () const =0 |
Get helper. More... | |
virtual bool | is_open () const override |
Check is device is open. More... | |
virtual void | open (const char *file_name) override |
Open device. More... | |
virtual void | close () override |
Close device. More... | |
virtual bool | put (const T &object)=0 |
Object output. More... | |
virtual bool | put (const T &object) override |
Object output. More... | |
Static Public Member Functions | |
static void | Throw (const bool option) |
Enable/disable throw option. More... | |
static int | Throw (const JException &error, const int value=-1) |
Throw exception or return error. More... | |
Static Protected Attributes | |
static bool | do_throw |
throw option More... | |
Abstract interface for object writing with named access.
This class implements the JAccessibleObjectOutput interface by transferring the interface methods to a helper object via a single interface method getHelper().
Definition at line 85 of file JAbstractObjectWriter.hh.
|
pure virtual |
Get helper.
Implements JLANG::JAbstractObjectWriter< T >.
Implemented in JLANG::JAccessibleObjectWriter< T >.
|
inlineoverridevirtual |
Check is device is open.
Implements JLANG::JAccessible.
Definition at line 102 of file JAbstractObjectWriter.hh.
|
inlineoverridevirtual |
Open device.
file_name | file name |
Implements JLANG::JAccessible.
Reimplemented in JSUPPORT::JFileRecorder< T >.
Definition at line 116 of file JAbstractObjectWriter.hh.
|
inlineoverridevirtual |
Close device.
Implements JLANG::JAccessible.
Definition at line 127 of file JAbstractObjectWriter.hh.
|
pure virtualinherited |
Object output.
object | object |
Implemented in JLANG::JNullOutput< T >, JLANG::JNullOutput< JTail_t >, JLANG::JNullOutput< JHead_t >, JROOT::JRootObjectOutput< T, false >, JLANG::JObjectDemultiplexer< JBase_t, JTypeList< JHead_t, JTail_t > >, JNET::JControlHostObjectOutput< T >, JNET::JControlHostObjectOutput< JTail_t >, JNET::JControlHostObjectOutput< JHead_t >, JROOT::JTreeWriterObjectOutput< T >, JROOT::JRootStreamObjectOutput< T >, JROOT::JSonObjectOutput< T >, JLANG::JStreamObjectOutput< T >, JLANG::JStreamObjectOutput< Head >, JLANG::JStreamObjectOutput< JTail_t >, JLANG::JStreamObjectOutput< JHead_t >, JLANG::JStreamObjectOutput< Evt >, JIO::JWriterObjectOutput< T >, JLANG::JObjectDemultiplexer< JBase_t, JDerived_t >, JLANG::JObjectDemultiplexer< JBase_t, JTail_t >, JLANG::JObjectDemultiplexer< JBase_t, JHead_t >, JLANG::JAbstractObjectWriter< T >, JLANG::JAbstractObjectWriter< JTail_t >, and JLANG::JAbstractObjectWriter< JHead_t >.
|
inlinestaticinherited |
|
inlinestaticinherited |
Throw exception or return error.
error | exception |
value | return code |
Definition at line 50 of file JThrow.hh.
|
inlineoverridevirtualinherited |
Object output.
object | object |
Implements JLANG::JObjectOutput< T >.
Definition at line 43 of file JAbstractObjectWriter.hh.
|
staticprotectedinherited |