GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4HDF5StoreParameter Class Reference

#include <TGo4HDF5StoreParameter.h>

+ Inheritance diagram for TGo4HDF5StoreParameter:

Public Member Functions

 TGo4HDF5StoreParameter ()
 
 TGo4HDF5StoreParameter (const char *name, Go4_H5_File_Flags flags=GO4_H5F_ACC_TRUNC)
 
virtual ~TGo4HDF5StoreParameter ()
 
Go4_H5_File_Flags GetHDF5Flags () const
 
void Print (Option_t *opt="") const override
 basic method to printout object
 
void SetHDF5Flags (Go4_H5_File_Flags flags)
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
 
- Public Member Functions inherited from TGo4EventStoreParameter
 TGo4EventStoreParameter ()
 
 TGo4EventStoreParameter (const char *name, Int_t id=0)
 
virtual ~TGo4EventStoreParameter ()
 
Int_t GetID () const
 
void Print (Option_t *opt="") const override
 
- Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 
virtual ~TGo4Parameter ()
 
void Clear (Option_t *opt="") override
 
TGo4ParameterStatusCreateStatus ()
 Creates parameter status object.
 
virtual Bool_t CustomUpdateFrom () const
 Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other.
 
void GetMemberValues (TObjArray *fItems)
 
void Print (Option_t *opt="") const override
 
virtual Int_t PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED!
 
void SavePrimitive (std::ostream &fs, Option_t *opt="") override
 Standard way to store parameter in form of macro,.
 
Bool_t SetMemberValues (TObjArray *fItems)
 
Bool_t SetStatus (TGo4ParameterStatus *status)
 Set status object - apply member values to the parameter.
 
Bool_t UpdateFromUrl (const char *rest_url_opt)
 Method used by HTTP server to update some fields, specified in URL syntax.
 

Private Attributes

Go4_H5_File_Flags fiFlags {GO4_H5F_ACC_NONE}
 Flags for HDF5 file mode.
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Parameter
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)
 
void GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset)
 
Bool_t SetMemberValues (TObjArray *items, Int_t &itemsindx, TClass *cl, char *ptr, unsigned long int cloffset)
 

Detailed Description

Definition at line 20 of file TGo4HDF5StoreParameter.h.

Constructor & Destructor Documentation

◆ TGo4HDF5StoreParameter() [1/2]

TGo4HDF5StoreParameter::TGo4HDF5StoreParameter ( )

◆ TGo4HDF5StoreParameter() [2/2]

TGo4HDF5StoreParameter::TGo4HDF5StoreParameter ( const char * name,
Go4_H5_File_Flags flags = GO4_H5F_ACC_TRUNC )

◆ ~TGo4HDF5StoreParameter()

TGo4HDF5StoreParameter::~TGo4HDF5StoreParameter ( )
virtual

Definition at line 32 of file TGo4HDF5StoreParameter.cxx.

Member Function Documentation

◆ GetHDF5Flags()

Go4_H5_File_Flags TGo4HDF5StoreParameter::GetHDF5Flags ( ) const
inline

Definition at line 35 of file TGo4HDF5StoreParameter.h.

References fiFlags.

Referenced by TGo4HDF5Store::TGo4HDF5Store(), and TGo4ConfigStep::SetStepStatus().

◆ Print()

void TGo4HDF5StoreParameter::Print ( Option_t * opt = "") const
override

basic method to printout object

Definition at line 36 of file TGo4HDF5StoreParameter.cxx.

References fiFlags, TGo4EventStoreParameter::Print(), and TGo4Status::PrintLine().

◆ SetHDF5Flags()

void TGo4HDF5StoreParameter::SetHDF5Flags ( Go4_H5_File_Flags flags)
inline

Definition at line 36 of file TGo4HDF5StoreParameter.h.

References fiFlags.

Referenced by TGo4ConfigStep::StoreOverWrite(), and UpdateFrom().

◆ UpdateFrom()

Bool_t TGo4HDF5StoreParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4EventStoreParameter.

Definition at line 42 of file TGo4HDF5StoreParameter.cxx.

References TGo4HDF5StoreParameter(), TGo4Parameter::TGo4Parameter(), SetHDF5Flags(), and TGo4EventStoreParameter::UpdateFrom().

Field Documentation

◆ fiFlags

Go4_H5_File_Flags TGo4HDF5StoreParameter::fiFlags {GO4_H5F_ACC_NONE}
private

Flags for HDF5 file mode.

Definition at line 41 of file TGo4HDF5StoreParameter.h.

Referenced by TGo4HDF5StoreParameter(), GetHDF5Flags(), Print(), and SetHDF5Flags().


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