GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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 ()
 
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) const
 
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 ()
 
void Clear (Option_t *opt="") override
 
void Print (Option_t *opt="") const override
 

Protected Member Functions

 ClassDefOverride (TGo4ParameterMember, 1)
 

Protected Attributes

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

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.

◆ 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

◆ 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 CanStrEdit(), and TGo4Parameter::SetMemberValues().

◆ ClassDefOverride()

TGo4ParameterMember::ClassDefOverride ( TGo4ParameterMember  ,
 
)
protected

◆ Clear()

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

Definition at line 182 of file TGo4ParameterMember.cxx.

References SetToZero().

Referenced by GetObject().

◆ GetFullName()

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

Definition at line 70 of file TGo4ParameterMember.cxx.

References fIndex1, and fIndex2.

Referenced by IsArrayItem(), and 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

◆ 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, and GetFullName().

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().

Referenced by GetObject().

◆ 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 CanStrEdit(), and 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 
)

◆ 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(), and GetObject().

◆ 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

Member Data 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 GetObject(), GetValue(), Print(), SetObject(), SetToZero(), SetValue(), and ~TGo4ParameterMember().

◆ fObjectOwner

Bool_t TGo4ParameterMember::fObjectOwner {kTRUE}
protected

! flag indicating ownership of object

Definition at line 71 of file TGo4ParameterMember.h.

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

◆ 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: