53 if (&other==
this)
return *this ;
77 return !strcmp(
_label,label) ;
89 virtual void printName(std::ostream& os)
const ;
90 virtual void printTitle(std::ostream& os)
const ;
92 virtual void printValue(std::ostream& os)
const ;
virtual void printName(std::ostream &os) const
Print the name 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'.
virtual void printValue(std::ostream &os) const
Print the value (index integer) of the state.
RooCatType & operator=(const RooCatType &other)
Bool_t operator==(const RooCatType &other)
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual Int_t defaultPrintContents(Option_t *opt) const
Default choice of contents to be printed (name and value)
Bool_t operator==(const char *label)
#define ClassDef(name, id)
RooCatType(const char *name, Int_t value)
RooCatType(const RooCatType &other)
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
virtual void SetName(const Text_t *name)
Constructor with name argument.
virtual void Print(Option_t *options=0) const
This method must be overridden when a class wants to print itself.
Mother of all ROOT objects.
virtual void printTitle(std::ostream &os) const
Print the title of the state.
void assignFast(const RooCatType &other)
void setVal(Int_t newValue)
Bool_t operator==(Int_t index)
virtual const Text_t * GetName() const
Returns name of object.
virtual TObject * Clone(const char *) const
Make a clone of an object using the Streamer facility.
virtual void printClassName(std::ostream &os) const
Print the class name of the state.