48 if (strlen(name)>255) {
49 std::cout <<
"RooCatType::SetName warning: label '" << name <<
"' truncated at 255 chars" << std::endl ;
52 strncpy(_label,name,255) ;
virtual void printName(std::ostream &os) const
Print the name of the state.
virtual void printValue(std::ostream &os) const
Print the value (index integer) of the state.
virtual const char * GetName() const
Returns name of object.
virtual void SetName(const Text_t *name)
Constructor with name argument.
virtual void printTitle(std::ostream &os) const
Print the title of the state.
virtual void printClassName(std::ostream &os) const
Print the class name of the state.