Jpp  15.0.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
JSUPPORT::JMonteCarloStreamObjectOutput< T > Class Template Referenceabstract

Template definition of Monte Carlo stream output for single data type. More...

#include <JMonteCarloFileWriter.hh>

Inheritance diagram for JSUPPORT::JMonteCarloStreamObjectOutput< T >:
JLANG::JObjectOutput< T > JLANG::JNullOutput< T > JLANG::JObjectOutput< T > JSUPPORT::JMonteCarloFileWriter< T >

Public Member Functions

virtual bool put (const T &object)=0
 Object output. More...
 
virtual bool put (const T &object)
 Object output. More...
 

Protected Member Functions

 JMonteCarloStreamObjectOutput (std::ostream &out)
 Constructor. More...
 

Detailed Description

template<class T>
class JSUPPORT::JMonteCarloStreamObjectOutput< T >

Template definition of Monte Carlo stream output for single data type.

This class provides for a null implementation of the JLANG::JObjectOutput interface. It should be specialised for the data types that will be written to a Monte Carlo file.

Definition at line 37 of file JMonteCarloFileWriter.hh.

Constructor & Destructor Documentation

template<class T>
JSUPPORT::JMonteCarloStreamObjectOutput< T >::JMonteCarloStreamObjectOutput ( std::ostream &  out)
inlineprotected

Constructor.

Parameters
outoutput stream

Definition at line 47 of file JMonteCarloFileWriter.hh.

48  {}

Member Function Documentation

template<class T>
virtual bool JLANG::JObjectOutput< T >::put ( const T object)
pure virtualinherited
template<class T>
virtual bool JLANG::JNullOutput< T >::put ( const T object)
inlinevirtualinherited

Object output.

Parameters
objectobject
Returns
false

Implements JLANG::JObjectOutput< T >.

Definition at line 151 of file JObjectOutput.hh.

152  {
153  return false;
154  }

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