#include "RooFit.h"
#include <stdlib.h>
#include <stdlib.h>
#include "TClass.h"
#include "RooCatType.h"
#include "Riostream.h"
ClassImp(RooCatType)
;
void RooCatType::SetName(const Text_t* name)
{
if (strlen(name)>255) {
std::cout << "RooCatType::SetName warning: label '" << name << "' truncated at 255 chars" << std::endl ;
_label[255]=0 ;
}
strncpy(_label,name,255) ;
}
void RooCatType::printName(ostream& os) const
{
os << GetName() ;
}
void RooCatType::printTitle(ostream& os) const
{
os << GetTitle() ;
}
void RooCatType::printClassName(ostream& os) const
{
os << IsA()->GetName() ;
}
void RooCatType::printValue(ostream& os) const
{
os << getVal() ;
}
Last change: Tue May 13 17:04:10 2008
Last generated: 2008-05-13 17:04
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.