24 for (set<HepRepAttDef*>::iterator i1 = list.begin(); i1 != list.end(); i1++) {
30 set<HepRepAttDef*> attSet;
31 for (map<string, HepRepAttDef*>::iterator i = attDefs.begin(); i != attDefs.end(); i++) {
32 attSet.insert((*i).second);
39 if (attDefs[lowerCaseName] != NULL)
delete attDefs[lowerCaseName];
40 attDefs[lowerCaseName] = hepRepAttDef;
49 transform(s.begin(), s.end(), s.begin(), (
int(*)(
int)) tolower);
50 return (attDefs.count(s) > 0) ? attDefs[s] : NULL;
virtual std::string getLowerCaseName()=0
DefaultHepRepDefinition()
std::set< HEPREP::HepRepAttDef * > getAttDefsFromNode()
HEPREP::HepRepAttDef * getAttDefFromNode(std::string lowerCaseName)
void addAttDef(HEPREP::HepRepAttDef *hepRepAttDef)
~DefaultHepRepDefinition()