15 this->description =
"No Description";
16 this->infoURL =
"No Info URL";
26 this->description =
"No Description";
27 this->infoURL =
"No Info URL";
33 for (vector<HepRepType*>::iterator i1 = types.begin(); i1 != types.end(); i1++) {
45 while ((def == NULL) && (type != NULL)) {
50 cerr <<
"ERROR: No HepRepDefaults, trying to get definition for: " << defName << endl;
62 while ((value == NULL) && (type != NULL)) {
67 cerr <<
"ERROR: No HepRepDefaults, trying to get value for: " << attName << endl;
74 cerr <<
"DefaultHepRepType::copy(HepRepType*) not implemented." << endl;
91 this->description = desc;
104 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()