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

#include <BinaryOutFileManager.h>

Inheritance diagram for BinaryOutFileManager< TPayload, TStoragePolicy >:

Public Member Functions

 BinaryOutFileManager ()
 
virtual ~BinaryOutFileManager ()
 
std::string GetPolicyID ()
 
void SetFileProperties (const std::string &filename)
 
void AddToFile (FairMQMessage *msg)
 
void AddToFile (TPayload *objArr, long size)
 
template<typename T >
void AppendObjArray (std::ofstream &outfile, T *objArr, long size)
 
std::vector< std::vector
< TPayload > > 
GetAllObj (const std::string &filename)
 
virtual void InitOutputFile ()
 

Protected Attributes

std::string fFileName
 
std::ofstream fOutfile
 

Detailed Description

template<typename TPayload, typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
class BinaryOutFileManager< TPayload, TStoragePolicy >

Definition at line 43 of file BinaryOutFileManager.h.

Constructor & Destructor Documentation

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
BinaryOutFileManager< TPayload, TStoragePolicy >::BinaryOutFileManager ( )
inline

Definition at line 49 of file BinaryOutFileManager.h.

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
virtual BinaryOutFileManager< TPayload, TStoragePolicy >::~BinaryOutFileManager ( )
inlinevirtual

Definition at line 55 of file BinaryOutFileManager.h.

Member Function Documentation

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
void BinaryOutFileManager< TPayload, TStoragePolicy >::AddToFile ( FairMQMessage *  msg)
inline

Definition at line 65 of file BinaryOutFileManager.h.

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
void BinaryOutFileManager< TPayload, TStoragePolicy >::AddToFile ( TPayload *  objArr,
long  size 
)
inline

Definition at line 67 of file BinaryOutFileManager.h.

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
template<typename T >
void BinaryOutFileManager< TPayload, TStoragePolicy >::AppendObjArray ( std::ofstream &  outfile,
T *  objArr,
long  size 
)
inline

Definition at line 70 of file BinaryOutFileManager.h.

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
std::vector<std::vector<TPayload> > BinaryOutFileManager< TPayload, TStoragePolicy >::GetAllObj ( const std::string &  filename)
inline

Definition at line 75 of file BinaryOutFileManager.h.

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
std::string BinaryOutFileManager< TPayload, TStoragePolicy >::GetPolicyID ( )
inline

Definition at line 57 of file BinaryOutFileManager.h.

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
virtual void BinaryOutFileManager< TPayload, TStoragePolicy >::InitOutputFile ( )
inlinevirtual

Definition at line 84 of file BinaryOutFileManager.h.

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
void BinaryOutFileManager< TPayload, TStoragePolicy >::SetFileProperties ( const std::string &  filename)
inline

Definition at line 63 of file BinaryOutFileManager.h.

Member Data Documentation

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
std::string BinaryOutFileManager< TPayload, TStoragePolicy >::fFileName
protected

Definition at line 90 of file BinaryOutFileManager.h.

template<typename TPayload , typename TStoragePolicy = TriviallyCopyableDataSaver<TPayload>>
std::ofstream BinaryOutFileManager< TPayload, TStoragePolicy >::fOutfile
protected

Definition at line 91 of file BinaryOutFileManager.h.


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