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

#include <TGo4ParameterMember.h>

+ Inheritance diagram for TGo4ParameterMember:

Public Types

enum  { kTString_t = 10001 , kTGo4Fitter_t = 10002 , kTArray_t = 10003 }
 

Public Member Functions

 TGo4ParameterMember ()
 
 TGo4ParameterMember (const char *name, const char *title)
 
virtual ~TGo4ParameterMember ()
 
Bool_t CanStrEdit () const
 
Bool_t CheckArrayIndexes (Int_t ndim, Int_t indx1, Int_t indx2)
 
void Clear (Option_t *opt="") override
 
const char * GetFullName (TString &buf) const
 
Int_t GetIntValue () const
 
Int_t GetMemberId () const
 
TObject * GetObject () const
 
const char * GetStrValue () const
 
Int_t GetTypeId () const
 
const char * GetTypeName () const
 
void GetValue (char *addr)
 
Bool_t IsArrayItem () const
 
Bool_t IsFitterItem () const
 
Bool_t IsVisible () const
 
void Print (Option_t *opt="") const override
 
void SetArrayIndexes (Int_t ndim=0, Int_t indx1=-1, Int_t indx2=-1)
 
void SetIntValue (Int_t value)
 
void SetMemberId (Int_t id)
 
void SetObject (TObject *obj, Bool_t owner)
 
void SetStrValue (const char *value)
 
void SetToZero ()
 
void SetType (const char *name, Int_t id)
 
void SetValue (char *addr)
 
void SetVisible (Bool_t on=kTRUE)
 

Protected Member Functions

 ClassDefOverride (TGo4ParameterMember, 1)
 

Protected Attributes

Int_t fIndex1 {-1}
 first array index
 
Int_t fIndex2 {-1}
 second array index
 
Int_t fMemberId {0}
 data member id (sequence number)
 
TObject * fObject {nullptr}
 place for objects like fitter
 
Bool_t fObjectOwner {kTRUE}
 ! flag indicating ownership of object
 
Int_t fTypeId {0}
 type id of data member
 
TString fTypeName
 type name of data member
 
TString fValue
 value of data member
 
Bool_t fVisible {kTRUE}
 is visible, used by GUI
 

Detailed Description

Definition at line 19 of file TGo4ParameterMember.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kTString_t 
kTGo4Fitter_t 
kTArray_t 

Definition at line 22 of file TGo4ParameterMember.h.

Constructor & Destructor Documentation

◆ TGo4ParameterMember() [1/2]

TGo4ParameterMember::TGo4ParameterMember ( )

Definition at line 23 of file TGo4ParameterMember.cxx.

Referenced by ClassDefOverride().

◆ TGo4ParameterMember() [2/2]

TGo4ParameterMember::TGo4ParameterMember ( const char * name,
const char * title )

Definition at line 28 of file TGo4ParameterMember.cxx.

◆ ~TGo4ParameterMember()

TGo4ParameterMember::~TGo4ParameterMember ( )
virtual

Definition at line 33 of file TGo4ParameterMember.cxx.

References fObject, and fObjectOwner.

Member Function Documentation

◆ CanStrEdit()

Bool_t TGo4ParameterMember::CanStrEdit ( ) const
inline

Definition at line 40 of file TGo4ParameterMember.h.

References fTypeId, kTArray_t, and kTGo4Fitter_t.

Referenced by TGo4ParaEdit::ShowVisibleItems().

◆ CheckArrayIndexes()

Bool_t TGo4ParameterMember::CheckArrayIndexes ( Int_t ndim,
Int_t indx1,
Int_t indx2 )

Definition at line 59 of file TGo4ParameterMember.cxx.

References fIndex1, and fIndex2.

Referenced by TGo4Parameter::SetMemberValues().

◆ ClassDefOverride()

TGo4ParameterMember::ClassDefOverride ( TGo4ParameterMember ,
1  )
protected

References TGo4ParameterMember().

◆ Clear()

void TGo4ParameterMember::Clear ( Option_t * opt = "")
override

Definition at line 182 of file TGo4ParameterMember.cxx.

References SetToZero().

◆ GetFullName()

const char * TGo4ParameterMember::GetFullName ( TString & buf) const

Definition at line 70 of file TGo4ParameterMember.cxx.

References fIndex1, and fIndex2.

Referenced by TGo4ParaEdit::ShowVisibleItems().

◆ GetIntValue()

Int_t TGo4ParameterMember::GetIntValue ( ) const
inline

Definition at line 39 of file TGo4ParameterMember.h.

References fValue.

Referenced by TGo4Parameter::FindArrayLength().

◆ GetMemberId()

Int_t TGo4ParameterMember::GetMemberId ( ) const
inline

◆ GetObject()

TObject * TGo4ParameterMember::GetObject ( ) const
inline

Definition at line 50 of file TGo4ParameterMember.h.

References fObject.

Referenced by TGo4ParaEdit::EditFitter(), and TGo4ParaEdit::TableContextMenu().

◆ GetStrValue()

const char * TGo4ParameterMember::GetStrValue ( ) const
inline

Definition at line 38 of file TGo4ParameterMember.h.

References fValue.

Referenced by TGo4ParaEdit::ShowVisibleItems().

◆ GetTypeId()

Int_t TGo4ParameterMember::GetTypeId ( ) const
inline

◆ GetTypeName()

const char * TGo4ParameterMember::GetTypeName ( ) const
inline

Definition at line 29 of file TGo4ParameterMember.h.

References fTypeName.

Referenced by TGo4Parameter::SetMemberValues(), and TGo4ParaEdit::ShowVisibleItems().

◆ GetValue()

void TGo4ParameterMember::GetValue ( char * addr)

◆ IsArrayItem()

Bool_t TGo4ParameterMember::IsArrayItem ( ) const
inline

Definition at line 44 of file TGo4ParameterMember.h.

References fIndex1.

Referenced by TGo4ParaEdit::TableContextMenu(), and TGo4ParaEdit::TableDoubleClick().

◆ IsFitterItem()

Bool_t TGo4ParameterMember::IsFitterItem ( ) const
inline

◆ IsVisible()

Bool_t TGo4ParameterMember::IsVisible ( ) const
inline

◆ Print()

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

Definition at line 187 of file TGo4ParameterMember.cxx.

References fIndex1, fIndex2, fObject, fTypeId, fValue, and TGo4Status::PrintLine().

◆ SetArrayIndexes()

void TGo4ParameterMember::SetArrayIndexes ( Int_t ndim = 0,
Int_t indx1 = -1,
Int_t indx2 = -1 )

Definition at line 41 of file TGo4ParameterMember.cxx.

References fIndex1, and fIndex2.

Referenced by TGo4Parameter::GetMemberValues().

◆ SetIntValue()

void TGo4ParameterMember::SetIntValue ( Int_t value)
inline

Definition at line 37 of file TGo4ParameterMember.h.

References fValue.

Referenced by TGo4Parameter::GetMemberValues().

◆ SetMemberId()

void TGo4ParameterMember::SetMemberId ( Int_t id)
inline

Definition at line 33 of file TGo4ParameterMember.h.

References fMemberId.

Referenced by TGo4Parameter::GetMemberValues().

◆ SetObject()

void TGo4ParameterMember::SetObject ( TObject * obj,
Bool_t owner )

Definition at line 82 of file TGo4ParameterMember.cxx.

References fObject, and fObjectOwner.

Referenced by TGo4ParaEdit::EditFitter(), and TGo4ParaEdit::GetFitterFromEditor().

◆ SetStrValue()

void TGo4ParameterMember::SetStrValue ( const char * value)
inline

Definition at line 36 of file TGo4ParameterMember.h.

References fValue.

Referenced by TGo4ParaEdit::ChangedTable(), and TGo4ParaEdit::clearTextFields().

◆ SetToZero()

void TGo4ParameterMember::SetToZero ( )

Definition at line 90 of file TGo4ParameterMember.cxx.

References fObject, fObjectOwner, fTypeId, fValue, kTGo4Fitter_t, and kTString_t.

Referenced by Clear().

◆ SetType()

void TGo4ParameterMember::SetType ( const char * name,
Int_t id )
inline

Definition at line 28 of file TGo4ParameterMember.h.

References fTypeId, and fTypeName.

Referenced by TGo4Parameter::GetMemberValues().

◆ SetValue()

void TGo4ParameterMember::SetValue ( char * addr)

◆ SetVisible()

void TGo4ParameterMember::SetVisible ( Bool_t on = kTRUE)
inline

Field Documentation

◆ fIndex1

Int_t TGo4ParameterMember::fIndex1 {-1}
protected

first array index

Definition at line 68 of file TGo4ParameterMember.h.

Referenced by CheckArrayIndexes(), GetFullName(), IsArrayItem(), Print(), and SetArrayIndexes().

◆ fIndex2

Int_t TGo4ParameterMember::fIndex2 {-1}
protected

second array index

Definition at line 69 of file TGo4ParameterMember.h.

Referenced by CheckArrayIndexes(), GetFullName(), Print(), and SetArrayIndexes().

◆ fMemberId

Int_t TGo4ParameterMember::fMemberId {0}
protected

data member id (sequence number)

Definition at line 66 of file TGo4ParameterMember.h.

Referenced by GetMemberId(), and SetMemberId().

◆ fObject

TObject* TGo4ParameterMember::fObject {nullptr}
protected

place for objects like fitter

Definition at line 70 of file TGo4ParameterMember.h.

Referenced by ~TGo4ParameterMember(), GetObject(), GetValue(), Print(), SetObject(), SetToZero(), and SetValue().

◆ fObjectOwner

Bool_t TGo4ParameterMember::fObjectOwner {kTRUE}
protected

! flag indicating ownership of object

Definition at line 71 of file TGo4ParameterMember.h.

Referenced by ~TGo4ParameterMember(), GetValue(), SetObject(), SetToZero(), and SetValue().

◆ fTypeId

Int_t TGo4ParameterMember::fTypeId {0}
protected

type id of data member

Definition at line 65 of file TGo4ParameterMember.h.

Referenced by CanStrEdit(), GetTypeId(), GetValue(), Print(), SetToZero(), SetType(), and SetValue().

◆ fTypeName

TString TGo4ParameterMember::fTypeName
protected

type name of data member

Definition at line 64 of file TGo4ParameterMember.h.

Referenced by GetTypeName(), and SetType().

◆ fValue

TString TGo4ParameterMember::fValue
protected

value of data member

Definition at line 67 of file TGo4ParameterMember.h.

Referenced by GetIntValue(), GetStrValue(), GetValue(), Print(), SetIntValue(), SetStrValue(), SetToZero(), and SetValue().

◆ fVisible

Bool_t TGo4ParameterMember::fVisible {kTRUE}
protected

is visible, used by GUI

Definition at line 72 of file TGo4ParameterMember.h.

Referenced by IsVisible(), and SetVisible().


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