GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TGo4HDF5BasicDataHandle Class Reference

#include <TGo4HDF5DataHandle.h>

+ Inheritance diagram for TGo4HDF5BasicDataHandle:

Public Member Functions

 TGo4HDF5BasicDataHandle (const char *name, size_t datasize)
virtual ~TGo4HDF5BasicDataHandle ()
virtual void BuildReadDataset (H5::H5File *file, TGo4HDF5Source *parent)
virtual void BuildWriteDataset (H5::H5File *file)
virtual void Read (hsize_t sequencenum, H5::H5File *file)
virtual void Write (hsize_t sequencenum, H5::H5File *file)
- Public Member Functions inherited from TGo4HDF5DataHandle
 TGo4HDF5DataHandle (const char *name, size_t datasize)
virtual ~TGo4HDF5DataHandle ()
H5::CompType * GetType ()
const char * GetTypeName ()
void * Data ()
void InsertTypeMember (const H5std_string &name, size_t offset, const H5::DataType &new_member)
void SetParentOffset (size_t off)
virtual void SetObjectPointer (void *memptr)
void SetTopEvent (TGo4EventElement *eve)
void SetTopEventClass (const char *classname)
void SetMemberName (const char *name)
void SetMemberClass (const char *clname)
TGo4HDF5DataHandleAddSubMember (const char *name, size_t datasize, const char *collectiontype=0)
TGo4HDF5DataHandleGetSubMember (UInt_t ix)
TGo4HDF5DataHandleFindSubMember (const char *name)
void SetActive (Bool_t on)
void SetAllSubMembersActive (Bool_t on)

Protected Member Functions

void AllocReadBuffer (size_t size)

Protected Attributes

Char_t * fxReadBuffer
- Protected Attributes inherited from TGo4HDF5DataHandle
TString fxTypeName
H5::CompType * fxType
H5::DataSet fxDataSet
H5::DataSpace * fxDataSpace
H5::DataSpace fxFileSpace
ULong_t fiEntries
void * fxData
size_t fiParentOffset
size_t fiDataSize
size_t fiReadOffset
std::vector< TGo4HDF5DataHandle * > fxSubcomponents
TString fxMemberHandle
TString fxMemberClass
TString fxEventClass
Bool_t fbDataSetExists
Bool_t fbDataSetActive

Additional Inherited Members

- Static Public Attributes inherited from TGo4HDF5DataHandle
static TGo4HDF5DataHandleFactory fxFactory

Detailed Description

Handle object to access basic event type datasets in hdf5 formatted file with go4 event data

Definition at line 224 of file TGo4HDF5DataHandle.h.

Constructor & Destructor Documentation

TGo4HDF5BasicDataHandle::TGo4HDF5BasicDataHandle ( const char *  name,
size_t  datasize 

create new data handle

Definition at line 247 of file TGo4HDF5DataHandle.cxx.

References go4hdfdbg.

TGo4HDF5BasicDataHandle::~TGo4HDF5BasicDataHandle ( )

Definition at line 255 of file TGo4HDF5DataHandle.cxx.

References TGo4HDF5DataHandle::fxTypeName, and go4hdfdbg.

Member Function Documentation

void TGo4HDF5BasicDataHandle::AllocReadBuffer ( size_t  size)

(Re-)allocate read buffer depending on the object size read from file

Definition at line 262 of file TGo4HDF5DataHandle.cxx.

References TGo4HDF5DataHandle::fiDataSize, fxReadBuffer, and go4hdfdbg.

Referenced by BuildReadDataset().

void TGo4HDF5BasicDataHandle::BuildReadDataset ( H5::H5File *  file,
TGo4HDF5Source parent 
void TGo4HDF5BasicDataHandle::BuildWriteDataset ( H5::H5File *  file)
void TGo4HDF5BasicDataHandle::Read ( hsize_t  sequencenum,
H5::H5File *  file 
void TGo4HDF5BasicDataHandle::Write ( hsize_t  sequencenum,
H5::H5File *  file 

Member Data Documentation

Char_t* TGo4HDF5BasicDataHandle::fxReadBuffer

secondary read bounce buffer for hdf5

Definition at line 261 of file TGo4HDF5DataHandle.h.

Referenced by AllocReadBuffer(), and Read().

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