52 if (&other==
this)
return *this ;
76 return !strcmp(
_label,label) ;
88 virtual void printName(std::ostream& os)
const ;
89 virtual void printTitle(std::ostream& os)
const ;
91 virtual void printValue(std::ostream& os)
const ;
virtual void printTitle(std::ostream &os) const
Print the title of the state.
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
RooCatType & operator=(const RooCatType &other)
Bool_t operator==(const RooCatType &other)
Bool_t operator==(const char *label)
#define ClassDef(name, id)
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
virtual void printValue(std::ostream &os) const
Print the value (index integer) of the state.
RooCatType is an auxilary class for RooAbsCategory and defines a a single category state...
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
RooCatType(const char *name, Int_t value)
virtual const Text_t * GetName() const
Returns name of object.
RooCatType(const RooCatType &other)
virtual void printName(std::ostream &os) const
Print the name of the state.
virtual Int_t defaultPrintContents(Option_t *opt) const
Default choice of contents to be printed (name and value)
virtual void Print(Option_t *options=0) const
This method must be overridden when a class wants to print itself.
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual void SetName(const Text_t *name)
Constructor with name argument.
virtual TObject * Clone(const char *) const
Make a clone of an object using the Streamer facility.
Mother of all ROOT objects.
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
void assignFast(const RooCatType &other)
void setVal(Int_t newValue)
Bool_t operator==(Int_t index)
virtual void printClassName(std::ostream &os) const
Print the class name of the state.