FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BoostDataSaver< TPayload, TArchiveIn, TArchiveOut > Class Template Reference

#include <BoostDataSaver.h>

Public Member Functions

 BoostDataSaver ()
 
virtual ~BoostDataSaver ()
 
virtual void InitOutputFile ()
 
void Write (std::ofstream &outfile, TPayload *objArr, long sizeArr=1)
 
void Write (std::ofstream &outfile, std::vector< TPayload > dataVector)
 
void Write (std::ofstream &outfile, FairMQMessage *msg)
 
std::vector< std::vector
< TPayload > > 
Read (std::ifstream &infile)
 

Detailed Description

template<typename TPayload, typename TArchiveIn = boost::archive::binary_iarchive, typename TArchiveOut = TBoboost::archive::binary_oarchiveostOut>
class BoostDataSaver< TPayload, TArchiveIn, TArchiveOut >

Definition at line 34 of file BoostDataSaver.h.

Constructor & Destructor Documentation

template<typename TPayload , typename TArchiveIn = boost::archive::binary_iarchive, typename TArchiveOut = TBoboost::archive::binary_oarchiveostOut>
BoostDataSaver< TPayload, TArchiveIn, TArchiveOut >::BoostDataSaver ( )
inline

Definition at line 37 of file BoostDataSaver.h.

template<typename TPayload , typename TArchiveIn = boost::archive::binary_iarchive, typename TArchiveOut = TBoboost::archive::binary_oarchiveostOut>
virtual BoostDataSaver< TPayload, TArchiveIn, TArchiveOut >::~BoostDataSaver ( )
inlinevirtual

Definition at line 38 of file BoostDataSaver.h.

Member Function Documentation

template<typename TPayload , typename TArchiveIn = boost::archive::binary_iarchive, typename TArchiveOut = TBoboost::archive::binary_oarchiveostOut>
virtual void BoostDataSaver< TPayload, TArchiveIn, TArchiveOut >::InitOutputFile ( )
inlinevirtual

Definition at line 40 of file BoostDataSaver.h.

template<typename TPayload , typename TArchiveIn = boost::archive::binary_iarchive, typename TArchiveOut = TBoboost::archive::binary_oarchiveostOut>
std::vector<std::vector<TPayload> > BoostDataSaver< TPayload, TArchiveIn, TArchiveOut >::Read ( std::ifstream &  infile)
inline

Definition at line 70 of file BoostDataSaver.h.

template<typename TPayload , typename TArchiveIn = boost::archive::binary_iarchive, typename TArchiveOut = TBoboost::archive::binary_oarchiveostOut>
void BoostDataSaver< TPayload, TArchiveIn, TArchiveOut >::Write ( std::ofstream &  outfile,
TPayload *  objArr,
long  sizeArr = 1 
)
inline

Definition at line 42 of file BoostDataSaver.h.

template<typename TPayload , typename TArchiveIn = boost::archive::binary_iarchive, typename TArchiveOut = TBoboost::archive::binary_oarchiveostOut>
void BoostDataSaver< TPayload, TArchiveIn, TArchiveOut >::Write ( std::ofstream &  outfile,
std::vector< TPayload >  dataVector 
)
inline

Definition at line 49 of file BoostDataSaver.h.

template<typename TPayload , typename TArchiveIn = boost::archive::binary_iarchive, typename TArchiveOut = TBoboost::archive::binary_oarchiveostOut>
void BoostDataSaver< TPayload, TArchiveIn, TArchiveOut >::Write ( std::ofstream &  outfile,
FairMQMessage *  msg 
)
inline

Definition at line 55 of file BoostDataSaver.h.


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