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

File store parameter. More...

#include <TGo4FileStoreParameter.h>

+ Inheritance diagram for TGo4FileStoreParameter:

Public Member Functions

 TGo4FileStoreParameter ()
 
 TGo4FileStoreParameter (const char *name, Int_t splitlevel=99, Int_t bufsize=32000, Int_t compression=5, Int_t autosave=10000)
 
virtual ~TGo4FileStoreParameter ()
 
Int_t GetAutosaveSize () const
 
Int_t GetBufsize () const
 
Int_t GetCompression () const
 
Int_t GetSplitlevel () const
 
Int_t IsOverwriteMode () const
 
void Print (Option_t *opt="") const override
 
void SetAutosaveSize (Int_t interval)
 
void SetBufsize (Int_t bufsize)
 
void SetCompression (Int_t comp)
 
void SetOverwriteMode (Bool_t over=kTRUE)
 
void SetSplitlevel (Int_t split)
 
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 fbOverwrite {1}
 True if old filestore of same name shall be overwritten.
 
Int_t fiAutosavesize {10000}
 Autosave interval for the Tree.
 
Int_t fiBufsize {64000}
 Size of the root io buffer.
 
Int_t fiCompression {5}
 Compression level of the root file.
 
Int_t fiSplit {99}
 Splitlevel for Tree.
 

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

File store parameter.

Definition at line 22 of file TGo4FileStoreParameter.h.

Constructor & Destructor Documentation

◆ TGo4FileStoreParameter() [1/2]

TGo4FileStoreParameter::TGo4FileStoreParameter ( )

◆ TGo4FileStoreParameter() [2/2]

TGo4FileStoreParameter::TGo4FileStoreParameter ( const char * name,
Int_t splitlevel = 99,
Int_t bufsize = 32000,
Int_t compression = 5,
Int_t autosave = 10000 )

◆ ~TGo4FileStoreParameter()

TGo4FileStoreParameter::~TGo4FileStoreParameter ( )
virtual

Definition at line 37 of file TGo4FileStoreParameter.cxx.

Member Function Documentation

◆ GetAutosaveSize()

Int_t TGo4FileStoreParameter::GetAutosaveSize ( ) const
inline

◆ GetBufsize()

Int_t TGo4FileStoreParameter::GetBufsize ( ) const
inline

◆ GetCompression()

Int_t TGo4FileStoreParameter::GetCompression ( ) const
inline

◆ GetSplitlevel()

Int_t TGo4FileStoreParameter::GetSplitlevel ( ) const
inline

◆ IsOverwriteMode()

Int_t TGo4FileStoreParameter::IsOverwriteMode ( ) const
inline

◆ Print()

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

◆ SetAutosaveSize()

void TGo4FileStoreParameter::SetAutosaveSize ( Int_t interval)
inline

◆ SetBufsize()

void TGo4FileStoreParameter::SetBufsize ( Int_t bufsize)
inline

◆ SetCompression()

void TGo4FileStoreParameter::SetCompression ( Int_t comp)
inline

◆ SetOverwriteMode()

void TGo4FileStoreParameter::SetOverwriteMode ( Bool_t over = kTRUE)
inline

◆ SetSplitlevel()

void TGo4FileStoreParameter::SetSplitlevel ( Int_t split)
inline

◆ UpdateFrom()

Bool_t TGo4FileStoreParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

Field Documentation

◆ fbOverwrite

Int_t TGo4FileStoreParameter::fbOverwrite {1}
private

True if old filestore of same name shall be overwritten.

False if old filestore should be opened in append (update) mode. internally, we use Int_t for root streamer problems.

Definition at line 72 of file TGo4FileStoreParameter.h.

Referenced by TGo4FileStoreParameter(), IsOverwriteMode(), and SetOverwriteMode().

◆ fiAutosavesize

Int_t TGo4FileStoreParameter::fiAutosavesize {10000}
private

Autosave interval for the Tree.

Definition at line 67 of file TGo4FileStoreParameter.h.

Referenced by TGo4FileStoreParameter(), GetAutosaveSize(), Print(), and SetAutosaveSize().

◆ fiBufsize

Int_t TGo4FileStoreParameter::fiBufsize {64000}
private

Size of the root io buffer.

Definition at line 61 of file TGo4FileStoreParameter.h.

Referenced by TGo4FileStoreParameter(), GetBufsize(), Print(), and SetBufsize().

◆ fiCompression

Int_t TGo4FileStoreParameter::fiCompression {5}
private

Compression level of the root file.

Default is 5.

Definition at line 64 of file TGo4FileStoreParameter.h.

Referenced by TGo4FileStoreParameter(), GetCompression(), Print(), and SetCompression().

◆ fiSplit

Int_t TGo4FileStoreParameter::fiSplit {99}
private

Splitlevel for Tree.

Default is 1.

Definition at line 58 of file TGo4FileStoreParameter.h.

Referenced by TGo4FileStoreParameter(), GetSplitlevel(), Print(), and SetSplitlevel().


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