#include <TGo4FitNamed.h>
Inheritance diagram for TGo4FitNamed:
Public Methods | |
TGo4FitNamed () | |
Default constructor. More... | |
TGo4FitNamed (const char *Name, const char *Title, TNamed *Owner=0) | |
Creates TGo4FitNamed object and set name and title. More... | |
virtual | ~TGo4FitNamed () |
Destroy TGo4FitNamed object. More... | |
const char * | GetFullName () |
Returns full name of object. More... | |
const char * | GetOwnerFullName () |
Return full name of owner. More... | |
void | SetOwner (TNamed *iOwner) |
Sets owner of object. More... | |
TNamed * | GetOwner () |
Return owner of object. More... | |
void | Print (Option_t *option) const |
Private Attributes | |
TNamed * | fxOwner |
Owner of object. More... | |
TString | fxFullName |
String, containing full name of object. More... |
In addition to TNamed class property has owner and provides additional GetFullName() method. Full name consist of full name (if exists) of owner and name of object itself, divided by dot. For instance: "OwnerName.ObjectName". If owner has its owner, the full name will look like: "Owner1Name.Owner2Name.ObjectName". Any level of ownership is supported. Thus, full name shows hierarchy of ownership for given object.
Definition at line 26 of file TGo4FitNamed.h.
|
Default constructor.
Definition at line 19 of file TGo4FitNamed.cxx. |
|
Creates TGo4FitNamed object and set name and title.
Definition at line 22 of file TGo4FitNamed.cxx. |
|
Destroy TGo4FitNamed object.
Definition at line 26 of file TGo4FitNamed.cxx. |
|
Returns full name of object. Consist of name or full name (if exist) of owner, divided by dot. Definition at line 37 of file TGo4FitNamed.cxx. References fxFullName, and GetOwnerFullName(). Referenced by TGo4FitSlotList::ClearObjects(), TGo4FitterAbstract::CopyParsValuesFrom(), TGo4FitPanelSlots::FillPopupForSlot(), TGo4FitParsList::Find(), TGo4FitSlotList::FindSlot(), TGo4FitComponent::GetAmplFullName(), GetOwnerFullName(), TGo4FitParsList::GetParFullName(), TGo4FitParameter::Print(), TGo4FitSlotList::SetObject(), TGo4FitSlotList::SetSaveFlagForObjects(), and TGo4FitPanelSlots::Wiz_GetSlotSourceInfo(). |
|
Return full name of owner. If not exist, return just name of owner. Definition at line 29 of file TGo4FitNamed.cxx. References GetFullName(), and GetOwner(). Referenced by TGo4FitSlotList::CheckObjects(), TGo4FitSlotList::ClearObjects(), TGo4FitParsList::Find(), GetFullName(), TGo4FitSlotList::SetObject(), and TGo4FitSlotList::SetSaveFlagForObjects(). |
|
Sets owner of object. Owner should be a object of TNamed or derived classes. If owner derived from TGo4FitNamed class, full name of owner used for constracting of full name of object. Definition at line 60 of file TGo4FitNamed.h. References fxOwner. Referenced by TGo4FitParsList::AddPar(), TGo4FitModel::AssignToData(), TGo4FitSlot::CheckOwnership(), TGo4FitParsList::InsertPar(), TGo4FitSlot::SetDefaults(), TGo4FitParsList::SetParsOwner(), and TGo4FitSlot::TGo4FitSlot(). |
|
Return owner of object.
Definition at line 65 of file TGo4FitNamed.h. References fxOwner. Referenced by TGo4FitSlot::CheckOwnership(), TGo4FitPanelSlots::FillSlotsList(), TGo4FitParsList::Find(), TGo4FitPanelSlots::FindSlotStatusForData(), TGo4FitPanelSlots::FindSlotStatusForDraw(), GetOwnerFullName(), and TGo4FitPanelSlots::UpdateObjectReferenceInSlots(). |
|
|
Owner of object.
Definition at line 74 of file TGo4FitNamed.h. |
|
String, containing full name of object.
Definition at line 80 of file TGo4FitNamed.h. Referenced by GetFullName(). |