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

File store parameter. More...

#include <TGo4FileStoreParameter.h>

Inheritance diagram for TGo4FileStoreParameter:

Public Member Functions

 TGo4FileStoreParameter ()
 TGo4FileStoreParameter ()
 TGo4FileStoreParameter (const char *name, Int_t splitlevel=99, Int_t bufsize=32000, Int_t compression=5, Int_t autosave=10000)
 TGo4FileStoreParameter (const char *name, Int_t splitlevel=99, Int_t bufsize=32000, Int_t compression=5, Int_t autosave=10000)
virtual ~TGo4FileStoreParameter ()
virtual ~TGo4FileStoreParameter ()
Int_t GetAutosaveSize () const
Int_t GetAutosaveSize () const
Int_t GetBufsize () const
Int_t GetBufsize () const
Int_t GetCompression () const
Int_t GetCompression () const
Int_t GetSplitlevel () const
Int_t GetSplitlevel () const
Int_t IsOverwriteMode () const
Int_t IsOverwriteMode () const
void Print (Option_t *opt="") const override
void Print (Option_t *opt="") const override
void SetAutosaveSize (Int_t interval)
void SetAutosaveSize (Int_t interval)
void SetBufsize (Int_t bufsize)
void SetBufsize (Int_t bufsize)
void SetCompression (Int_t comp)
void SetCompression (Int_t comp)
void SetOverwriteMode (Bool_t over=kTRUE)
void SetOverwriteMode (Bool_t over=kTRUE)
void SetSplitlevel (Int_t split)
void SetSplitlevel (Int_t split)
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
Bool_t UpdateFrom (TGo4Parameter *rhs) override
 update contents of parameter class with external object.
Public Member Functions inherited from TGo4EventStoreParameter
 TGo4EventStoreParameter ()
 TGo4EventStoreParameter ()
 TGo4EventStoreParameter (const char *name, Int_t id=0)
 TGo4EventStoreParameter (const char *name, Int_t id=0)
virtual ~TGo4EventStoreParameter ()
virtual ~TGo4EventStoreParameter ()
Int_t GetID () const
Int_t GetID () const
void Print (Option_t *opt="") const override
void Print (Option_t *opt="") const override
Public Member Functions inherited from TGo4Parameter
 TGo4Parameter ()
 TGo4Parameter ()
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
virtual ~TGo4Parameter ()
virtual ~TGo4Parameter ()
void Clear (Option_t *opt="") override
void Clear (Option_t *opt="") override
TGo4ParameterStatusCreateStatus ()
 Creates parameter status object.
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.
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 GetMemberValues (TObjArray *fItems)
void Print (Option_t *opt="") const override
void Print (Option_t *opt="") const override
virtual Int_t PrintParameter (Text_t *buffer=nullptr, Int_t buflen=0)
 DEPRECATED!
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,.
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 SetMemberValues (TObjArray *fItems)
Bool_t SetStatus (TGo4ParameterStatus *status)
 Set status object - apply member values to the parameter.
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.
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)
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)
void GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset)
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)
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/4]

TGo4FileStoreParameter::TGo4FileStoreParameter ( )

◆ TGo4FileStoreParameter() [2/4]

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

◆ ~TGo4FileStoreParameter() [1/2]

TGo4FileStoreParameter::~TGo4FileStoreParameter ( )
virtual

Definition at line 37 of file TGo4FileStoreParameter.cxx.

◆ TGo4FileStoreParameter() [3/4]

TGo4FileStoreParameter::TGo4FileStoreParameter ( )

◆ TGo4FileStoreParameter() [4/4]

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

◆ ~TGo4FileStoreParameter() [2/2]

virtual TGo4FileStoreParameter::~TGo4FileStoreParameter ( )
virtual

Member Function Documentation

◆ GetAutosaveSize() [1/2]

Int_t TGo4FileStoreParameter::GetAutosaveSize ( ) const
inline

◆ GetAutosaveSize() [2/2]

Int_t TGo4FileStoreParameter::GetAutosaveSize ( ) const
inline

Definition at line 49 of file TGo4FileStoreParameter.h.

References fiAutosavesize.

◆ GetBufsize() [1/2]

Int_t TGo4FileStoreParameter::GetBufsize ( ) const
inline

◆ GetBufsize() [2/2]

Int_t TGo4FileStoreParameter::GetBufsize ( ) const
inline

Definition at line 43 of file TGo4FileStoreParameter.h.

References fiBufsize.

◆ GetCompression() [1/2]

Int_t TGo4FileStoreParameter::GetCompression ( ) const
inline

◆ GetCompression() [2/2]

Int_t TGo4FileStoreParameter::GetCompression ( ) const
inline

Definition at line 46 of file TGo4FileStoreParameter.h.

References fiCompression.

◆ GetSplitlevel() [1/2]

Int_t TGo4FileStoreParameter::GetSplitlevel ( ) const
inline

◆ GetSplitlevel() [2/2]

Int_t TGo4FileStoreParameter::GetSplitlevel ( ) const
inline

Definition at line 40 of file TGo4FileStoreParameter.h.

References fiSplit.

◆ IsOverwriteMode() [1/2]

Int_t TGo4FileStoreParameter::IsOverwriteMode ( ) const
inline

◆ IsOverwriteMode() [2/2]

Int_t TGo4FileStoreParameter::IsOverwriteMode ( ) const
inline

Definition at line 52 of file TGo4FileStoreParameter.h.

References fbOverwrite.

◆ Print() [1/2]

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

◆ Print() [2/2]

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

◆ SetAutosaveSize() [1/2]

void TGo4FileStoreParameter::SetAutosaveSize ( Int_t interval)
inline

◆ SetAutosaveSize() [2/2]

void TGo4FileStoreParameter::SetAutosaveSize ( Int_t interval)
inline

Definition at line 50 of file TGo4FileStoreParameter.h.

References fiAutosavesize.

◆ SetBufsize() [1/2]

void TGo4FileStoreParameter::SetBufsize ( Int_t bufsize)
inline

◆ SetBufsize() [2/2]

void TGo4FileStoreParameter::SetBufsize ( Int_t bufsize)
inline

Definition at line 44 of file TGo4FileStoreParameter.h.

References fiBufsize.

◆ SetCompression() [1/2]

void TGo4FileStoreParameter::SetCompression ( Int_t comp)
inline

◆ SetCompression() [2/2]

void TGo4FileStoreParameter::SetCompression ( Int_t comp)
inline

Definition at line 47 of file TGo4FileStoreParameter.h.

References fiCompression.

◆ SetOverwriteMode() [1/2]

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

◆ SetOverwriteMode() [2/2]

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

Definition at line 53 of file TGo4FileStoreParameter.h.

References fbOverwrite.

◆ SetSplitlevel() [1/2]

void TGo4FileStoreParameter::SetSplitlevel ( Int_t split)
inline

◆ SetSplitlevel() [2/2]

void TGo4FileStoreParameter::SetSplitlevel ( Int_t split)
inline

Definition at line 41 of file TGo4FileStoreParameter.h.

References fiSplit.

◆ UpdateFrom() [1/2]

Bool_t TGo4FileStoreParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

◆ UpdateFrom() [2/2]

Bool_t TGo4FileStoreParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4EventStoreParameter.

References TGo4Parameter::TGo4Parameter().

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: