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

Tree store parameter. More...

#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
 basic method to printout object
 
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

Int_t fiBufsize {64000}
 
Int_t fiCompression {5}
 
Int_t fiSplit {1}
 
TString fxBranchFile
 Filename for branch file.
 

Friends

class TGo4TreeStore
 

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

Tree store parameter.

Definition at line 23 of file TGo4TreeStoreParameter.h.

Constructor & Destructor Documentation

◆ TGo4TreeStoreParameter() [1/2]

TGo4TreeStoreParameter::TGo4TreeStoreParameter ( )

◆ TGo4TreeStoreParameter() [2/2]

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

◆ ~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 TGo4Parameter::TGo4Parameter(), TGo4TreeStoreParameter(), fiBufsize, fiCompression, fiSplit, and TGo4EventStoreParameter::UpdateFrom().

Friends And Related Symbol Documentation

◆ TGo4TreeStore

friend class TGo4TreeStore
friend

Definition at line 24 of file TGo4TreeStoreParameter.h.

References TGo4Parameter::TGo4Parameter(), and TGo4TreeStore.

Referenced by TGo4TreeStore.

Field Documentation

◆ fiBufsize

Int_t TGo4TreeStoreParameter::fiBufsize {64000}
private

Definition at line 45 of file TGo4TreeStoreParameter.h.

Referenced by TGo4TreeStoreParameter(), Print(), and UpdateFrom().

◆ fiCompression

Int_t TGo4TreeStoreParameter::fiCompression {5}
private

◆ fiSplit

Int_t TGo4TreeStoreParameter::fiSplit {1}
private

Definition at line 44 of file TGo4TreeStoreParameter.h.

Referenced by TGo4TreeStoreParameter(), 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 50 of file TGo4TreeStoreParameter.h.

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


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