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 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)
virtual void printValue(std::ostream &os) const
Print the value (index integer) of the state.
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.
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.