16 this->description =
"No Description";
17 this->infoURL =
"No Info URL";
27 this->description =
"No Description";
28 this->infoURL =
"No Info URL";
34 for (vector<HepRepType*>::iterator i1 = types.begin(); i1 != types.end(); i1++) {
46 while ((def == NULL) && (type != NULL)) {
51 cerr <<
"ERROR: No HepRepDefaults, trying to get definition for: " << defName << endl;
63 while ((value == NULL) && (type != NULL)) {
68 cerr <<
"ERROR: No HepRepDefaults, trying to get value for: " << attName << endl;
75 cerr <<
"DefaultHepRepType::copy(HepRepType*) not implemented." << endl;
92 this->description = desc;
100 this->infoURL = info;
105 types.push_back(type);
virtual HepRepAttValue * getAttValueFromNode(std::string lowerCaseName)=0
virtual HepRepAttDef * getAttDefFromNode(std::string lowerCaseName)=0
virtual void addType(HepRepType *type)=0
virtual std::string getFullName()=0
virtual HepRepType * getSuperType()=0
virtual void addType(HepRepType *type)=0
HEPREP::HepRepType * copy(HEPREP::HepRepType *parent)
void addType(HEPREP::HepRepType *type)
void setInfoURL(std::string infoURL)
HEPREP::HepRepAttValue * getAttValue(std::string name)
HEPREP::HepRepType * getSuperType()
HEPREP::HepRepAttDef * getAttDef(std::string name)
void setDescription(std::string description)
DefaultHepRepType(HEPREP::HepRepType *parent, std::string name)
std::string getFullName()
std::string getDescription()
std::vector< HEPREP::HepRepType * > getTypeList()