TNamed
class description - source file - inheritance tree
public:
TNamed TNamed()
TNamed TNamed(Text_t* name, Text_t* title)
TNamed TNamed(TString& name, TString& title)
TNamed TNamed(TNamed& named)
virtual void ~TNamed()
TClass* Class()
virtual Int_t Compare(TObject* obj)
virtual void Copy(TObject& named)
virtual void FillBuffer(char*& buffer)
virtual const Text_t* GetName()
virtual const Text_t* GetTitle()
virtual ULong_t Hash()
virtual TClass* IsA()
virtual Bool_t IsSortable()
virtual void ls(Option_t* option)
TNamed& operator=(TNamed& rhs)
virtual void Print(Option_t* option)
virtual void SetName(Text_t* name)
virtual void SetObject(Text_t* name, Text_t* title)
virtual void SetTitle(Text_t* title)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual Int_t Sizeof()
virtual void Streamer(TBuffer& b)
protected:
TString fName object identifier
TString fTitle object title
See also
-
TAttParticle, TAxis, TBenchmark, TBranch, TBrowser, TChainElement, TColor, TContextMenu, TControlBarButton, TCut, TDatabasePDG, TDirectory, TEventList, TFormula, TGXW, TGenerator, TGeometry, TGraph, TGuiFactory, TH1, TInterpreter, TKey, TKeyMapFile, TLeaf, TMaterial, TMinuit, TNode, TParticlePDG, TPostScript, TRandom, TRotMatrix, TSelector, TShape, TSocket, TSpectrum, TStyle, TSystem, TSystemFile, TText, TToggle, TToggleGroup, TTree
TNamed
The TNamed class is the base class for all named ROOT classes
A TNamed contains the essential elements (name, title)
to identify a derived object in containers, directories and files.
Most member functions defined in this base class are in general
overridden by the derived classes.
TNamed(const TNamed &named)
TNamed copy ctor.
Int_t Compare(TObject *obj)
Compare two TNamed objects. Returns 0 when equal, -1 when this is
smaller and +1 when bigger (like strcmp).
void Copy(TObject &obj)
Copy this to obj.
void FillBuffer(char *&buffer)
Encode TNamed into output buffer.
void ls(Option_t *)
List TNamed name and title.
void Print(Option_t *)
Print TNamed name and title.
void SetName(const Text_t *name)
Change (i.e. set) the name of the TNamed.
void SetObject(const Text_t *name, const Text_t *title)
Change (i.e. set) all the TNamed parameters (name and title).
void SetTitle(const Text_t *title)
Change (i.e. set) the title of the TNamed.
Int_t Sizeof() const
Return size of the TNamed part of the TObject.
Inline Functions
TNamed TNamed(Text_t* name, Text_t* title)
TNamed TNamed(TString& name, TString& title)
TNamed TNamed(TNamed& named)
TNamed& operator=(TNamed& rhs)
const Text_t* GetName()
const Text_t* GetTitle()
ULong_t Hash()
Bool_t IsSortable()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void ~TNamed()
Author: Rene Brun 26/12/94
Last update: 1.03/09 07/12/97 13.13.34 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.