#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 () |
void | SetType (const char *name, Int_t id) |
const char * | GetTypeName () const |
Int_t | GetTypeId () const |
Bool_t | IsFitterItem () const |
void | SetMemberId (Int_t id) |
Int_t | GetMemberId () const |
void | SetStrValue (const char *value) |
void | SetIntValue (Int_t value) |
const char * | GetStrValue () const |
Int_t | GetIntValue () const |
Bool_t | CanStrEdit () const |
void | SetArrayIndexes (Int_t ndim=0, Int_t indx1=-1, Int_t indx2=-1) |
Bool_t | CheckArrayIndexes (Int_t ndim, Int_t indx1, Int_t indx2) |
Bool_t | IsArrayItem () const |
const char * | GetFullName (TString &buf) |
void | SetVisible (Bool_t on=kTRUE) |
Bool_t | IsVisible () const |
TObject * | GetObject () const |
void | SetObject (TObject *obj, Bool_t owner) |
void | SetValue (char *addr) |
void | GetValue (char *addr) |
void | SetToZero () |
Int_t | PrintMember (Text_t *buffer=0, Int_t buflen=0) const |
virtual void | Clear (Option_t *opt="") |
virtual void | Print (Option_t *dummy="") const |
Protected Member Functions | |
ClassDef (TGo4ParameterMember, 1) | |
Protected Attributes | |
TString | fTypeName |
Int_t | fTypeId |
Int_t | fMemberId |
TString | fValue |
Int_t | fIndex1 |
Int_t | fIndex2 |
TObject * | fObject |
Bool_t | fObjectOwner |
Bool_t | fVisible |
flag indicating ownership of object |
Definition at line 19 of file TGo4ParameterMember.h.
anonymous enum |
Definition at line 22 of file TGo4ParameterMember.h.
TGo4ParameterMember::TGo4ParameterMember | ( | ) |
Definition at line 23 of file TGo4ParameterMember.cxx.
TGo4ParameterMember::TGo4ParameterMember | ( | const char * | name, | |
const char * | title | |||
) |
Definition at line 37 of file TGo4ParameterMember.cxx.
TGo4ParameterMember::~TGo4ParameterMember | ( | ) | [virtual] |
Definition at line 51 of file TGo4ParameterMember.cxx.
References fObject, and fObjectOwner.
Bool_t TGo4ParameterMember::CanStrEdit | ( | ) | const [inline] |
Definition at line 40 of file TGo4ParameterMember.h.
References fTypeId, and kTGo4Fitter_t.
Referenced by TGo4ParaEdit::ShowVisibleItems().
Bool_t TGo4ParameterMember::CheckArrayIndexes | ( | Int_t | ndim, | |
Int_t | indx1, | |||
Int_t | indx2 | |||
) |
Definition at line 77 of file TGo4ParameterMember.cxx.
References fIndex1, and fIndex2.
Referenced by TGo4Parameter::SetMemberValues().
TGo4ParameterMember::ClassDef | ( | TGo4ParameterMember | , | |
1 | ||||
) | [protected] |
void TGo4ParameterMember::Clear | ( | Option_t * | opt = "" |
) | [virtual] |
Definition at line 241 of file TGo4ParameterMember.cxx.
References SetToZero().
const char * TGo4ParameterMember::GetFullName | ( | TString & | buf | ) |
Definition at line 89 of file TGo4ParameterMember.cxx.
References fIndex1, and fIndex2.
Referenced by TGo4Parameter::SavePrimitive(), and TGo4ParaEdit::ShowVisibleItems().
Int_t TGo4ParameterMember::GetIntValue | ( | ) | const [inline] |
Definition at line 39 of file TGo4ParameterMember.h.
References fValue.
Referenced by TGo4Parameter::FindArrayLength(), and TGo4Parameter::SavePrimitive().
Int_t TGo4ParameterMember::GetMemberId | ( | ) | const [inline] |
Definition at line 34 of file TGo4ParameterMember.h.
References fMemberId.
Referenced by TGo4ParaEdit::ContextMenu(), TGo4ParaEdit::DecArrayIndex(), TGo4ParaEdit::ExpandShrinkArray(), and TGo4ParaEdit::IncArrayIndex().
TObject* TGo4ParameterMember::GetObject | ( | ) | const [inline] |
Definition at line 50 of file TGo4ParameterMember.h.
References fObject.
Referenced by TGo4ParaEdit::ContextMenu(), and TGo4ParaEdit::EditFitter().
const char* TGo4ParameterMember::GetStrValue | ( | ) | const [inline] |
Definition at line 38 of file TGo4ParameterMember.h.
References fValue.
Referenced by TGo4Parameter::SavePrimitive(), and TGo4ParaEdit::ShowVisibleItems().
Int_t TGo4ParameterMember::GetTypeId | ( | ) | const [inline] |
Definition at line 30 of file TGo4ParameterMember.h.
References fTypeId.
Referenced by TGo4Parameter::FindArrayLength(), IsFitterItem(), TGo4Parameter::SavePrimitive(), and TGo4Parameter::SetMemberValues().
const char* TGo4ParameterMember::GetTypeName | ( | ) | const [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 174 of file TGo4ParameterMember.cxx.
References fObject, fObjectOwner, fTypeId, fValue, kTGo4Fitter_t, and kTString_t.
Referenced by TGo4Parameter::SetMemberValues().
Bool_t TGo4ParameterMember::IsArrayItem | ( | ) | const [inline] |
Definition at line 44 of file TGo4ParameterMember.h.
References fIndex1.
Referenced by TGo4ParaEdit::ContextMenu(), and TGo4ParaEdit::TableDoubleClick().
Bool_t TGo4ParameterMember::IsFitterItem | ( | ) | const [inline] |
Definition at line 31 of file TGo4ParameterMember.h.
References GetTypeId().
Referenced by TGo4ParaEdit::ContextMenu(), TGo4ParaEdit::GetFitterFromEditor(), and TGo4ParaEdit::TableDoubleClick().
Bool_t TGo4ParameterMember::IsVisible | ( | ) | const [inline] |
Definition at line 48 of file TGo4ParameterMember.h.
References fVisible.
Referenced by TGo4ParaEdit::ContextMenu(), TGo4ParaEdit::ExpandShrinkArray(), and TGo4ParaEdit::ShowVisibleItems().
void TGo4ParameterMember::Print | ( | Option_t * | dummy = "" |
) | const [virtual] |
Definition at line 246 of file TGo4ParameterMember.cxx.
References PrintMember().
Int_t TGo4ParameterMember::PrintMember | ( | Text_t * | buffer = 0 , |
|
Int_t | buflen = 0 | |||
) | const |
Definition at line 204 of file TGo4ParameterMember.cxx.
References fIndex1, fIndex2, fObject, fTypeId, and fValue.
Referenced by Print(), and TGo4Parameter::PrintParameter().
void TGo4ParameterMember::SetArrayIndexes | ( | Int_t | ndim = 0 , |
|
Int_t | indx1 = -1 , |
|||
Int_t | indx2 = -1 | |||
) |
Definition at line 59 of file TGo4ParameterMember.cxx.
References fIndex1, and fIndex2.
Referenced by TGo4Parameter::GetMemberValues().
void TGo4ParameterMember::SetIntValue | ( | Int_t | value | ) | [inline] |
Definition at line 37 of file TGo4ParameterMember.h.
References fValue.
Referenced by TGo4Parameter::GetMemberValues().
void TGo4ParameterMember::SetMemberId | ( | Int_t | id | ) | [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 103 of file TGo4ParameterMember.cxx.
References fObject, and fObjectOwner.
Referenced by TGo4ParaEdit::EditFitter(), and TGo4ParaEdit::GetFitterFromEditor().
void TGo4ParameterMember::SetStrValue | ( | const char * | value | ) | [inline] |
Definition at line 36 of file TGo4ParameterMember.h.
References fValue.
Referenced by TGo4ParaEdit::ChangedTable(), and TGo4ParaEdit::clearTextFields().
void TGo4ParameterMember::SetToZero | ( | ) |
Definition at line 111 of file TGo4ParameterMember.cxx.
References fObject, fObjectOwner, fTypeId, fValue, kTGo4Fitter_t, and kTString_t.
Referenced by Clear(), and TGo4Parameter::Clear().
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().
void TGo4ParameterMember::SetValue | ( | char * | addr | ) |
Definition at line 144 of file TGo4ParameterMember.cxx.
References fObject, fObjectOwner, fTypeId, fValue, kTGo4Fitter_t, and kTString_t.
Referenced by TGo4Parameter::GetMemberValues().
void TGo4ParameterMember::SetVisible | ( | Bool_t | on = kTRUE |
) | [inline] |
Definition at line 47 of file TGo4ParameterMember.h.
References fVisible.
Referenced by TGo4ParaEdit::DecArrayIndex(), TGo4ParaEdit::ExpandShrinkArray(), TGo4Parameter::GetMemberValues(), and TGo4ParaEdit::IncArrayIndex().
Int_t TGo4ParameterMember::fIndex1 [protected] |
Definition at line 69 of file TGo4ParameterMember.h.
Referenced by CheckArrayIndexes(), GetFullName(), IsArrayItem(), PrintMember(), and SetArrayIndexes().
Int_t TGo4ParameterMember::fIndex2 [protected] |
Definition at line 70 of file TGo4ParameterMember.h.
Referenced by CheckArrayIndexes(), GetFullName(), PrintMember(), and SetArrayIndexes().
Int_t TGo4ParameterMember::fMemberId [protected] |
Definition at line 67 of file TGo4ParameterMember.h.
Referenced by GetMemberId(), and SetMemberId().
TObject* TGo4ParameterMember::fObject [protected] |
Definition at line 71 of file TGo4ParameterMember.h.
Referenced by GetObject(), GetValue(), PrintMember(), SetObject(), SetToZero(), SetValue(), and ~TGo4ParameterMember().
Bool_t TGo4ParameterMember::fObjectOwner [protected] |
Definition at line 72 of file TGo4ParameterMember.h.
Referenced by GetValue(), SetObject(), SetToZero(), SetValue(), and ~TGo4ParameterMember().
Int_t TGo4ParameterMember::fTypeId [protected] |
Definition at line 66 of file TGo4ParameterMember.h.
Referenced by CanStrEdit(), GetTypeId(), GetValue(), PrintMember(), SetToZero(), SetType(), and SetValue().
TString TGo4ParameterMember::fTypeName [protected] |
Definition at line 65 of file TGo4ParameterMember.h.
Referenced by GetTypeName(), and SetType().
TString TGo4ParameterMember::fValue [protected] |
Definition at line 68 of file TGo4ParameterMember.h.
Referenced by GetIntValue(), GetStrValue(), GetValue(), PrintMember(), SetIntValue(), SetStrValue(), SetToZero(), and SetValue().
Bool_t TGo4ParameterMember::fVisible [protected] |
flag indicating ownership of object
Definition at line 73 of file TGo4ParameterMember.h.
Referenced by IsVisible(), and SetVisible().