Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

TGo4ParameterMember Class Reference

#include <TGo4ParameterMember.h>

List of all members.

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

Detailed Description

Definition at line 19 of file TGo4ParameterMember.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kTString_t 
kTGo4Fitter_t 
kTArray_t 

Definition at line 22 of file TGo4ParameterMember.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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  ,
 
) [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]
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]
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  ) 
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]
Bool_t TGo4ParameterMember::IsVisible (  )  const [inline]
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  ) 
void TGo4ParameterMember::SetVisible ( Bool_t  on = kTRUE  )  [inline]

Member Data Documentation

Int_t TGo4ParameterMember::fIndex1 [protected]
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 72 of file TGo4ParameterMember.h.

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

Int_t TGo4ParameterMember::fTypeId [protected]
TString TGo4ParameterMember::fTypeName [protected]

Definition at line 65 of file TGo4ParameterMember.h.

Referenced by GetTypeName(), and SetType().

TString TGo4ParameterMember::fValue [protected]
Bool_t TGo4ParameterMember::fVisible [protected]

flag indicating ownership of object

Definition at line 73 of file TGo4ParameterMember.h.

Referenced by IsVisible(), and SetVisible().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines