GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Private Attributes | Friends | List of all members
TGo4TreeStoreParameter Class Reference

#include <TGo4TreeStoreParameter.h>

+ Inheritance diagram for TGo4TreeStoreParameter:

Public Member Functions

 TGo4TreeStoreParameter ()
 
 TGo4TreeStoreParameter (const char *name, Int_t splitlevel=1, Int_t bufsize=64000, const char *filename=nullptr, Int_t compression=5)
 
virtual ~TGo4TreeStoreParameter ()
 
void Print (Option_t *opt="") const override
 
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 
- 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 ()
 
virtual Int_t PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0)
 
void Print (Option_t *opt="") const override
 
Bool_t UpdateFromUrl (const char *rest_url_opt)
 
virtual Bool_t CustomUpdateFrom () const
 
void Clear (Option_t *opt="") override
 
void GetMemberValues (TObjArray *fItems)
 
Bool_t SetMemberValues (TObjArray *fItems)
 
void SavePrimitive (std::ostream &fs, Option_t *opt="") override
 
TGo4ParameterStatusCreateStatus ()
 
Bool_t SetStatus (TGo4ParameterStatus *status)
 

Private Attributes

Int_t fiSplit {1}
 
Int_t fiBufsize {64000}
 
Int_t fiCompression {5}
 
TString fxBranchFile
 

Friends

class TGo4TreeStore
 

Additional Inherited Members

- Protected Member Functions inherited from TGo4Parameter
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)
 
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)
 

Detailed Description

Definition at line 20 of file TGo4TreeStoreParameter.h.

Constructor & Destructor Documentation

◆ TGo4TreeStoreParameter() [1/2]

TGo4TreeStoreParameter::TGo4TreeStoreParameter ( )

Definition at line 30 of file TGo4TreeStoreParameter.cxx.

◆ TGo4TreeStoreParameter() [2/2]

TGo4TreeStoreParameter::TGo4TreeStoreParameter ( const char *  name,
Int_t  splitlevel = 1,
Int_t  bufsize = 64000,
const char *  filename = nullptr,
Int_t  compression = 5 
)

Definition at line 19 of file TGo4TreeStoreParameter.cxx.

References fxBranchFile.

◆ ~TGo4TreeStoreParameter()

TGo4TreeStoreParameter::~TGo4TreeStoreParameter ( )
virtual

Definition at line 36 of file TGo4TreeStoreParameter.cxx.

Member Function Documentation

◆ Print()

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

basic method to printout object

Definition at line 40 of file TGo4TreeStoreParameter.cxx.

References fiBufsize, fiCompression, fiSplit, fxBranchFile, TGo4EventStoreParameter::Print(), and TGo4Status::PrintLine().

◆ UpdateFrom()

Bool_t TGo4TreeStoreParameter::UpdateFrom ( TGo4Parameter rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4EventStoreParameter.

Definition at line 50 of file TGo4TreeStoreParameter.cxx.

References fiBufsize, fiCompression, fiSplit, and TGo4EventStoreParameter::UpdateFrom().

Friends And Related Function Documentation

◆ TGo4TreeStore

friend class TGo4TreeStore
friend

Definition at line 21 of file TGo4TreeStoreParameter.h.

Member Data Documentation

◆ fiBufsize

Int_t TGo4TreeStoreParameter::fiBufsize {64000}
private

Definition at line 42 of file TGo4TreeStoreParameter.h.

Referenced by Print(), and UpdateFrom().

◆ fiCompression

Int_t TGo4TreeStoreParameter::fiCompression {5}
private

Definition at line 43 of file TGo4TreeStoreParameter.h.

Referenced by Print(), TGo4TreeStore::TGo4TreeStore(), and UpdateFrom().

◆ fiSplit

Int_t TGo4TreeStoreParameter::fiSplit {1}
private

Definition at line 41 of file TGo4TreeStoreParameter.h.

Referenced by Print(), and UpdateFrom().

◆ fxBranchFile

TString TGo4TreeStoreParameter::fxBranchFile
private

Filename for branch file. If Null, the branch is stored in the maintree file.

Definition at line 47 of file TGo4TreeStoreParameter.h.

Referenced by Print(), TGo4TreeStore::TGo4TreeStore(), and TGo4TreeStoreParameter().


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