GSI Object Oriented Online Offline (Go4)
GO4-6.1.2
|
#include <TGo4HDF5DataHandle.h>
Public Member Functions | |
TGo4HDF5VectorDataHandle (const char *name, size_t datasize) | |
virtual | ~TGo4HDF5VectorDataHandle () |
void | SetElementSize (size_t len) |
virtual void | SetObjectPointer (void *memptr) |
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 *ile) |
![]() | |
TGo4HDF5BasicDataHandle (const char *name, size_t datasize) | |
virtual | ~TGo4HDF5BasicDataHandle () |
![]() | |
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) |
void | SetTopEvent (TGo4EventElement *eve) |
void | SetTopEventClass (const char *classname) |
void | SetMemberName (const char *name) |
void | SetMemberClass (const char *clname) |
TGo4HDF5DataHandle * | AddSubMember (const char *name, size_t datasize, const char *collectiontype=0) |
TGo4HDF5DataHandle * | GetSubMember (UInt_t ix) |
TGo4HDF5DataHandle * | FindSubMember (const char *name) |
void | SetActive (Bool_t on) |
void | SetAllSubMembersActive (Bool_t on) |
Protected Attributes | |
H5::CompType * | fxCollection |
TGo4HDF5VarContainer | fxVarHandle |
size_t | fiElementSize |
![]() | |
Char_t * | fxReadBuffer |
![]() | |
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 |
TGo4EventElement * | fxEvent |
TString | fxEventClass |
TGo4HDF5Source * | fxParentSource |
Bool_t | fbDataSetExists |
Bool_t | fbDataSetActive |
Additional Inherited Members | |
![]() | |
static TGo4HDF5DataHandleFactory | fxFactory |
![]() | |
void | AllocReadBuffer (size_t size) |
Handle object to access datasets in hdf5 formatted file with go4 event data implementation for std::vector collections
Definition at line 343 of file TGo4HDF5DataHandle.h.
TGo4HDF5VectorDataHandle::TGo4HDF5VectorDataHandle | ( | const char * | name, |
size_t | datasize | ||
) |
create new data handle
Definition at line 571 of file TGo4HDF5DataHandle.cxx.
References fxCollection, TGo4HDF5DataHandle::fxType, TGo4HDF5DataHandle::fxTypeName, and go4hdfdbg.
|
virtual |
Definition at line 594 of file TGo4HDF5DataHandle.cxx.
References fxCollection, TGo4HDF5DataHandle::fxTypeName, and go4hdfdbg.
|
virtual |
create datasets and buffers for reading this structure from hdf5 file. parent pointer is given for error handling case
Reimplemented from TGo4HDF5BasicDataHandle.
Reimplemented in TGo4HDF5SubVectorDataHandle.
Definition at line 660 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5BasicDataHandle::BuildReadDataset().
|
virtual |
create datasets for writing memory structure of type into file.
Reimplemented from TGo4HDF5BasicDataHandle.
Reimplemented in TGo4HDF5SubVectorDataHandle.
Definition at line 667 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::BuildWriteDataset(), TGo4HDF5DataHandle::fbDataSetExists, TGo4HDF5VarContainer::fxArray, TGo4HDF5DataHandle::fxDataSet, TGo4HDF5DataHandle::fxDataSpace, TGo4HDF5DataHandle::fxType, TGo4HDF5DataHandle::fxTypeName, fxVarHandle, and go4hdfdbg.
Referenced by Write().
|
virtual |
Read event of sequence number from file
Reimplemented from TGo4HDF5BasicDataHandle.
Reimplemented in TGo4HDF5SubVectorDataHandle.
Definition at line 697 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::fbDataSetActive, fiElementSize, TGo4HDF5VarContainer::fxArray, TGo4HDF5DataHandle::fxData, TGo4HDF5DataHandle::fxDataSet, TGo4HDF5DataHandle::fxDataSpace, TGo4HDF5DataHandle::fxEvent, TGo4HDF5DataHandle::fxEventClass, TGo4HDF5DataHandle::fxFileSpace, TGo4HDF5DataHandle::fxMemberClass, TGo4HDF5DataHandle::fxMemberHandle, TGo4HDF5DataHandle::fxType, TGo4HDF5DataHandle::fxTypeName, fxVarHandle, go4hdfdbg, and TGo4HDF5DataHandle::Read().
|
inline |
remember size of a single element (structure) in this collection, if it is one. Otherwise this is size of this class itself
Definition at line 356 of file TGo4HDF5DataHandle.h.
References fiElementSize.
Referenced by TGo4HDF5DataHandleFactory::CreateDataHandle().
|
virtual |
define location of corresponding object in memory. This is base pointer for all member specific offsets.
Reimplemented from TGo4HDF5DataHandle.
Reimplemented in TGo4HDF5SubVectorDataHandle.
Definition at line 602 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::fbDataSetActive, fiElementSize, TGo4HDF5VarContainer::fxArray, TGo4HDF5DataHandle::fxData, fxVarHandle, go4hdfdbg, and TGo4HDF5DataHandle::SetObjectPointer().
Referenced by TGo4HDF5SubVectorDataHandle::SetObjectPointer().
|
virtual |
Write event of sequence number from file
Reimplemented from TGo4HDF5BasicDataHandle.
Reimplemented in TGo4HDF5SubVectorDataHandle.
Definition at line 808 of file TGo4HDF5DataHandle.cxx.
References BuildWriteDataset(), TGo4HDF5DataHandle::fbDataSetActive, TGo4HDF5VarContainer::fxArray, TGo4HDF5DataHandle::fxDataSet, TGo4HDF5DataHandle::fxDataSpace, TGo4HDF5DataHandle::fxFileSpace, TGo4HDF5DataHandle::fxType, TGo4HDF5DataHandle::fxTypeName, fxVarHandle, go4hdfdbg, TGo4HDF5DataHandle::SetActive(), and TGo4HDF5DataHandle::Write().
|
protected |
size of the (collection element) structure
Definition at line 393 of file TGo4HDF5DataHandle.h.
Referenced by Read(), SetElementSize(), SetObjectPointer(), and TGo4HDF5SubVectorDataHandle::SetObjectPointer().
|
protected |
collection type with fxType as entries
Definition at line 383 of file TGo4HDF5DataHandle.h.
Referenced by TGo4HDF5VectorDataHandle(), and ~TGo4HDF5VectorDataHandle().
|
protected |
handle for variable arrays
Definition at line 387 of file TGo4HDF5DataHandle.h.
Referenced by BuildWriteDataset(), Read(), SetObjectPointer(), TGo4HDF5SubVectorDataHandle::SetObjectPointer(), and Write().