49 if (strlen(name)>255) {
50 std::cout <<
"RooCatType::SetName warning: label '" << name <<
"' truncated at 255 chars" << std::endl ;
53 strncpy(_label,name,255) ;
83 os << IsA()->GetName() ;
virtual void printTitle(std::ostream &os) const
Print the title of the state.
std::string GetName(const std::string &scope_name)
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...
virtual void printName(std::ostream &os) const
Print the name of the state.
virtual void SetName(const Text_t *name)
Constructor with name argument.
virtual void printClassName(std::ostream &os) const
Print the class name of the state.