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

#include <TGo4UserStoreParameter.h>

+ Inheritance diagram for TGo4UserStoreParameter:

Public Member Functions

 TGo4UserStoreParameter ()
 
 TGo4UserStoreParameter (const char *name)
 
virtual ~TGo4UserStoreParameter ()
 
const char * GetExpression () const
 User expression as string.
 
void Print (Option_t *opt="") const override
 basic method to printout object
 
void SetExpression (const char *name)
 
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

TString fxExpression
 Any user defined expression as string.
 

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 27 of file TGo4UserStoreParameter.h.

Constructor & Destructor Documentation

◆ TGo4UserStoreParameter() [1/2]

TGo4UserStoreParameter::TGo4UserStoreParameter ( )

◆ TGo4UserStoreParameter() [2/2]

TGo4UserStoreParameter::TGo4UserStoreParameter ( const char * name)

◆ ~TGo4UserStoreParameter()

TGo4UserStoreParameter::~TGo4UserStoreParameter ( )
virtual

Definition at line 31 of file TGo4UserStoreParameter.cxx.

Member Function Documentation

◆ GetExpression()

const char * TGo4UserStoreParameter::GetExpression ( ) const
inline

User expression as string.

Definition at line 43 of file TGo4UserStoreParameter.h.

References fxExpression.

Referenced by Print().

◆ Print()

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

basic method to printout object

Definition at line 35 of file TGo4UserStoreParameter.cxx.

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

◆ SetExpression()

void TGo4UserStoreParameter::SetExpression ( const char * name)
inline

Definition at line 44 of file TGo4UserStoreParameter.h.

References fxExpression.

Referenced by UpdateFrom().

◆ UpdateFrom()

Bool_t TGo4UserStoreParameter::UpdateFrom ( TGo4Parameter * rhs)
overridevirtual

update contents of parameter class with external object.

Reimplemented from TGo4EventStoreParameter.

Definition at line 42 of file TGo4UserStoreParameter.cxx.

References TGo4Parameter::TGo4Parameter(), TGo4UserStoreParameter(), SetExpression(), and TGo4EventStoreParameter::UpdateFrom().

Field Documentation

◆ fxExpression

TString TGo4UserStoreParameter::fxExpression
private

Any user defined expression as string.

Definition at line 49 of file TGo4UserStoreParameter.h.

Referenced by GetExpression(), and SetExpression().


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