GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4ParameterMember.h>
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 | |
Definition at line 19 of file TGo4ParameterMember.h.
anonymous enum |
Enumerator | |
---|---|
kTString_t | |
kTGo4Fitter_t | |
kTArray_t |
Definition at line 22 of file TGo4ParameterMember.h.
TGo4ParameterMember::TGo4ParameterMember | ( | ) |
Definition at line 23 of file TGo4ParameterMember.cxx.
Referenced by ClassDefOverride().
TGo4ParameterMember::TGo4ParameterMember | ( | const char * | name, |
const char * | title ) |
Definition at line 28 of file TGo4ParameterMember.cxx.
|
virtual |
Definition at line 33 of file TGo4ParameterMember.cxx.
References fObject, and fObjectOwner.
|
inline |
Definition at line 40 of file TGo4ParameterMember.h.
References fTypeId, kTArray_t, and kTGo4Fitter_t.
Referenced by TGo4ParaEdit::ShowVisibleItems().
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().
|
protected |
References TGo4ParameterMember().
|
override |
Definition at line 182 of file TGo4ParameterMember.cxx.
References SetToZero().
const char * TGo4ParameterMember::GetFullName | ( | TString & | buf | ) | const |
Definition at line 70 of file TGo4ParameterMember.cxx.
References fIndex1, and fIndex2.
Referenced by TGo4ParaEdit::ShowVisibleItems().
|
inline |
Definition at line 39 of file TGo4ParameterMember.h.
References fValue.
Referenced by TGo4Parameter::FindArrayLength().
|
inline |
Definition at line 34 of file TGo4ParameterMember.h.
References fMemberId.
Referenced by TGo4ParaEdit::DecArrayIndex(), TGo4ParaEdit::ExpandShrinkArray(), TGo4ParaEdit::IncArrayIndex(), and TGo4ParaEdit::TableContextMenu().
|
inline |
Definition at line 50 of file TGo4ParameterMember.h.
References fObject.
Referenced by TGo4ParaEdit::EditFitter(), and TGo4ParaEdit::TableContextMenu().
|
inline |
Definition at line 38 of file TGo4ParameterMember.h.
References fValue.
Referenced by TGo4ParaEdit::ShowVisibleItems().
|
inline |
Definition at line 30 of file TGo4ParameterMember.h.
References fTypeId.
Referenced by TGo4Parameter::FindArrayLength(), IsFitterItem(), and TGo4Parameter::SetMemberValues().
|
inline |
Definition at line 29 of file TGo4ParameterMember.h.
References fTypeName.
Referenced by TGo4Parameter::SetMemberValues(), and TGo4ParaEdit::ShowVisibleItems().
void TGo4ParameterMember::GetValue | ( | char * | addr | ) |
Definition at line 147 of file TGo4ParameterMember.cxx.
References fObject, fObjectOwner, fTypeId, fValue, kTGo4Fitter_t, and kTString_t.
Referenced by TGo4Parameter::SetMemberValues().
|
inline |
Definition at line 44 of file TGo4ParameterMember.h.
References fIndex1.
Referenced by TGo4ParaEdit::TableContextMenu(), and TGo4ParaEdit::TableDoubleClick().
|
inline |
Definition at line 31 of file TGo4ParameterMember.h.
References GetTypeId(), and kTGo4Fitter_t.
Referenced by TGo4ParaEdit::GetFitterFromEditor(), TGo4ParaEdit::TableContextMenu(), and TGo4ParaEdit::TableDoubleClick().
|
inline |
Definition at line 48 of file TGo4ParameterMember.h.
References fVisible.
Referenced by TGo4ParaEdit::ExpandShrinkArray(), TGo4ParaEdit::ShowVisibleItems(), and TGo4ParaEdit::TableContextMenu().
|
override |
Definition at line 187 of file TGo4ParameterMember.cxx.
References fIndex1, fIndex2, fObject, fTypeId, fValue, and TGo4Status::PrintLine().
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().
|
inline |
Definition at line 37 of file TGo4ParameterMember.h.
References fValue.
Referenced by TGo4Parameter::GetMemberValues().
|
inline |
Definition at line 33 of file TGo4ParameterMember.h.
References fMemberId.
Referenced by TGo4Parameter::GetMemberValues().
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().
|
inline |
Definition at line 36 of file TGo4ParameterMember.h.
References fValue.
Referenced by TGo4ParaEdit::ChangedTable(), and TGo4ParaEdit::clearTextFields().
void TGo4ParameterMember::SetToZero | ( | ) |
Definition at line 90 of file TGo4ParameterMember.cxx.
References fObject, fObjectOwner, fTypeId, fValue, kTGo4Fitter_t, and kTString_t.
Referenced by Clear().
|
inline |
Definition at line 28 of file TGo4ParameterMember.h.
References fTypeId, and fTypeName.
Referenced by TGo4Parameter::GetMemberValues().
void TGo4ParameterMember::SetValue | ( | char * | addr | ) |
Definition at line 119 of file TGo4ParameterMember.cxx.
References fObject, fObjectOwner, fTypeId, fValue, kTGo4Fitter_t, and kTString_t.
Referenced by TGo4Parameter::GetMemberValues().
|
inline |
Definition at line 47 of file TGo4ParameterMember.h.
References fVisible.
Referenced by TGo4ParaEdit::DecArrayIndex(), TGo4ParaEdit::ExpandShrinkArray(), TGo4Parameter::GetMemberValues(), and TGo4ParaEdit::IncArrayIndex().
|
protected |
first array index
Definition at line 68 of file TGo4ParameterMember.h.
Referenced by CheckArrayIndexes(), GetFullName(), IsArrayItem(), Print(), and SetArrayIndexes().
|
protected |
second array index
Definition at line 69 of file TGo4ParameterMember.h.
Referenced by CheckArrayIndexes(), GetFullName(), Print(), and SetArrayIndexes().
|
protected |
data member id (sequence number)
Definition at line 66 of file TGo4ParameterMember.h.
Referenced by GetMemberId(), and SetMemberId().
|
protected |
place for objects like fitter
Definition at line 70 of file TGo4ParameterMember.h.
Referenced by ~TGo4ParameterMember(), GetObject(), GetValue(), Print(), SetObject(), SetToZero(), and SetValue().
|
protected |
! flag indicating ownership of object
Definition at line 71 of file TGo4ParameterMember.h.
Referenced by ~TGo4ParameterMember(), GetValue(), SetObject(), SetToZero(), and SetValue().
|
protected |
type id of data member
Definition at line 65 of file TGo4ParameterMember.h.
Referenced by CanStrEdit(), GetTypeId(), GetValue(), Print(), SetToZero(), SetType(), and SetValue().
|
protected |
type name of data member
Definition at line 64 of file TGo4ParameterMember.h.
Referenced by GetTypeName(), and SetType().
|
protected |
value of data member
Definition at line 67 of file TGo4ParameterMember.h.
Referenced by GetIntValue(), GetStrValue(), GetValue(), Print(), SetIntValue(), SetStrValue(), SetToZero(), and SetValue().
|
protected |
is visible, used by GUI
Definition at line 72 of file TGo4ParameterMember.h.
Referenced by IsVisible(), and SetVisible().