GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#include <TGo4FitNamed.h>
Public Member Functions | |
TGo4FitNamed () | |
TGo4FitNamed (const char *Name, const char *Title, TNamed *Owner=0) | |
virtual | ~TGo4FitNamed () |
const char * | GetFullName () |
const char * | GetOwnerFullName () |
void | SetOwner (TNamed *iOwner) |
TNamed * | GetOwner () |
void | Print (Option_t *option) const |
Private Attributes | |
TNamed * | fxOwner |
TString | fxFullName |
Extension of ROOT TNamed class. 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 24 of file TGo4FitNamed.h.
TGo4FitNamed::TGo4FitNamed | ( | ) |
Default constructor.
Definition at line 18 of file TGo4FitNamed.cxx.
TGo4FitNamed::TGo4FitNamed | ( | const char * | Name, |
const char * | Title, | ||
TNamed * | Owner = 0 |
||
) |
Creates TGo4FitNamed object and set name and title.
Definition at line 21 of file TGo4FitNamed.cxx.
|
virtual |
Destroy TGo4FitNamed object.
Definition at line 25 of file TGo4FitNamed.cxx.
const char * TGo4FitNamed::GetFullName | ( | ) |
Returns full name of object. Consist of name or full name (if exist) of owner, divided by dot.
Definition at line 36 of file TGo4FitNamed.cxx.
References fxFullName, and GetOwnerFullName().
Referenced by TGo4FitPanel::ChangeObjectName(), TGo4FitSlotList::ClearObjects(), TGo4FitterAbstract::CopyParsValuesFrom(), TGo4FitPanel::FillNamedWidget(), TGo4FitPanel::FillParsTable(), TGo4FitPanel::FillPopupForSlot(), TGo4FitParsList::Find(), TGo4FitSlotList::FindSlot(), TGo4FitComponent::GetAmplFullName(), GetOwnerFullName(), TGo4FitParsList::GetParFullName(), TGo4FitParameter::Print(), TGo4FitSlotList::SetObject(), and TGo4FitSlotList::SetSaveFlagForObjects().
|
inline |
Return owner of object.
Definition at line 63 of file TGo4FitNamed.h.
References fxOwner.
Referenced by TGo4FitPanel::ChangeObjectName(), TGo4FitSlot::CheckOwnership(), TGo4FitPanel::FillNamedWidget(), TGo4FitPanel::FillSlotsList(), QFitSlotWidget::FillSpecificData(), TGo4FitParsList::Find(), TGo4FitPanel::FindPadWhereData(), and GetOwnerFullName().
const char * TGo4FitNamed::GetOwnerFullName | ( | ) |
Return full name of owner. If not exist, return just name of owner.
Definition at line 28 of file TGo4FitNamed.cxx.
References GetFullName(), and GetOwner().
Referenced by TGo4FitSlotList::CheckObjects(), TGo4FitSlotList::ClearObjects(), TGo4FitParsList::Find(), GetFullName(), TGo4FitSlotList::SetObject(), and TGo4FitSlotList::SetSaveFlagForObjects().
void TGo4FitNamed::Print | ( | Option_t * | option | ) | const |
Definition at line 48 of file TGo4FitNamed.cxx.
Referenced by TGo4FitAmplEstimation::Print(), TGo4FitterOutput::Print(), TGo4FitPeakFinder::Print(), TGo4FitMinuit::Print(), TGo4FitterConfig::Print(), TGo4FitComponent::Print(), and TGo4FitterAbstract::Print().
|
inline |
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 58 of file TGo4FitNamed.h.
References fxOwner.
Referenced by TGo4FitParsList::AddPar(), TGo4FitModel::AssignToData(), TGo4FitSlot::CheckOwnership(), TGo4Fitter::Draw(), TGo4FitParsList::InsertPar(), TGo4FitSlot::SetDefaults(), TGo4FitParsList::SetParsOwner(), and TGo4FitSlot::TGo4FitSlot().
|
private |
String, containing full name of object.
Definition at line 77 of file TGo4FitNamed.h.
Referenced by GetFullName().
|
private |
Owner of object
Definition at line 72 of file TGo4FitNamed.h.
Referenced by GetOwner(), and SetOwner().