41 if (strlen(
name)>255) {
42 std::cerr <<
"RooCatType::SetName warning: label '" <<
name <<
"' truncated at 255 chars" << std::endl ;
RooCatType is an auxiliary class for RooAbsCategory and defines a a single category state.
void printName(std::ostream &os) const override
Print the name of the state.
void printValue(std::ostream &os) const override
Print the value (index integer) of the state.
void printClassName(std::ostream &os) const override
Print the class name of the state.
char _label[256]
State name.
void SetName(const Text_t *name)
Constructor with name argument.
void printTitle(std::ostream &os) const override
Print the title of the state.
const Text_t * GetName() const override
Returns name of object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual const char * GetTitle() const
Returns title of object.