GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4HDF5DataHandle.h>
Public Member Functions | |
TGo4HDF5SubVectorDataHandle (const char *name, size_t datasize) | |
virtual | ~TGo4HDF5SubVectorDataHandle () |
void | SetObjectPointer (void *memptr) override |
void | BuildReadDataset (H5::H5File *file, TGo4HDF5Source *parent) override |
void | BuildWriteDataset (H5::H5File *file) override |
void | Read (hsize_t sequencenum, H5::H5File *file) override |
void | Write (hsize_t sequencenum, H5::H5File *file) override |
void | SetInnerClassName (const char *nm) |
![]() | |
TGo4HDF5VectorDataHandle (const char *name, size_t datasize) | |
virtual | ~TGo4HDF5VectorDataHandle () |
void | SetElementSize (size_t len) |
![]() | |
TGo4HDF5BasicDataHandle (const char *name, size_t datasize) | |
virtual | ~TGo4HDF5BasicDataHandle () |
![]() | |
TGo4HDF5DataHandle (const char *name, size_t datasize) | |
virtual | ~TGo4HDF5DataHandle () |
H5::CompType * | GetType () const |
const char * | GetTypeName () const |
void * | Data () const |
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=nullptr) |
TGo4HDF5DataHandle * | GetSubMember (UInt_t ix) |
TGo4HDF5DataHandle * | FindSubMember (const char *name) |
void | SetActive (Bool_t on) |
void | SetAllSubMembersActive (Bool_t on) |
Protected Attributes | |
TString | fxInnerClassName |
![]() | |
H5::CompType * | fxCollection {nullptr} |
TGo4HDF5VarContainer | fxVarHandle |
size_t | fiElementSize {0} |
![]() | |
Char_t * | fxReadBuffer {nullptr} |
![]() | |
TString | fxTypeName |
H5::CompType * | fxType {nullptr} |
H5::DataSet | fxDataSet |
H5::DataSpace * | fxDataSpace {nullptr} |
H5::DataSpace | fxFileSpace |
ULong_t | fiEntries {0} |
void * | fxData {nullptr} |
size_t | fiParentOffset {0} |
size_t | fiDataSize {0} |
size_t | fiReadOffset {0} |
std::vector< TGo4HDF5DataHandle * > | fxSubcomponents |
TString | fxMemberHandle |
TString | fxMemberClass |
TGo4EventElement * | fxEvent {nullptr} |
TString | fxEventClass |
TGo4HDF5Source * | fxParentSource {nullptr} |
Bool_t | fbDataSetExists {kFALSE} |
Bool_t | fbDataSetActive {kFALSE} |
Additional Inherited Members | |
![]() | |
static TGo4HDF5DataHandleFactory | fxFactory |
![]() | |
void | AllocReadBuffer (size_t size) |
Handle object to access datasets in hdf5 formatted file with go4 event data trial implementation for std::vectors of std::vector collections may not work...
Definition at line 358 of file TGo4HDF5DataHandle.h.
TGo4HDF5SubVectorDataHandle::TGo4HDF5SubVectorDataHandle | ( | const char * | name, |
size_t | datasize | ||
) |
create new data handle
Definition at line 750 of file TGo4HDF5DataHandle.cxx.
References go4hdfdbg.
Referenced by TGo4HDF5DataHandleFactory::CreateDataHandle().
|
virtual |
Definition at line 758 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::fxTypeName, and go4hdfdbg.
|
overridevirtual |
create datasets and buffers for reading this structure from hdf5 file. parent pointer is given for error handling case
Reimplemented from TGo4HDF5VectorDataHandle.
Definition at line 843 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::BuildReadDataset(), and TGo4HDF5DataHandle::SetActive().
|
overridevirtual |
create datasets for writing memory structure of type into file.
Reimplemented from TGo4HDF5VectorDataHandle.
Definition at line 850 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::fxTypeName, go4hdfdbg, and TGo4HDF5DataHandle::SetActive().
|
overridevirtual |
Read event of sequence number from file
Reimplemented from TGo4HDF5VectorDataHandle.
Definition at line 861 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::BuildReadDataset(), TGo4HDF5DataHandle::fxParentSource, TGo4HDF5DataHandle::fxTypeName, go4hdfdbg, and TGo4HDF5DataHandle::Read().
|
inline |
Definition at line 383 of file TGo4HDF5DataHandle.h.
Referenced by TGo4HDF5DataHandleFactory::CreateDataHandle().
|
overridevirtual |
define location of corresponding object in memory. This is base pointer for all member specific offsets.
Reimplemented from TGo4HDF5VectorDataHandle.
Definition at line 763 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::AddSubMember(), TGo4HDF5DataHandle::Data(), TGo4HDF5VectorDataHandle::fiElementSize, TGo4HDF5Adapter::FillTypeInfo(), TGo4HDF5DataHandle::FindSubMember(), TGo4HDF5VarContainer::fxArray, fxInnerClassName, TGo4HDF5DataHandle::fxMemberHandle, TGo4HDF5VectorDataHandle::fxVarHandle, TGo4HDF5DataHandle::GetTypeName(), go4hdfdbg, TGo4HDF5DataHandle::SetAllSubMembersActive(), TGo4HDF5DataHandle::SetMemberName(), and TGo4HDF5VectorDataHandle::SetObjectPointer().
|
overridevirtual |
Write event of sequence number from file
Reimplemented from TGo4HDF5VectorDataHandle.
Definition at line 875 of file TGo4HDF5DataHandle.cxx.
References TGo4HDF5DataHandle::Write().
|
protected |
class that is contained in innermost vector
Definition at line 389 of file TGo4HDF5DataHandle.h.
Referenced by SetObjectPointer().