25 for (map<string, HepRepAttValue*>::iterator i = attValues.begin(); i != attValues.end(); i++) {
31 set<HepRepAttValue*> attSet;
32 for (map<string, HepRepAttValue*>::iterator i = attValues.begin(); i != attValues.end(); i++) {
33 if ((*i).first !=
"layer") attSet.insert((*i).second);
40 if (attValues[lowerCaseName] != NULL)
delete attValues[lowerCaseName];
41 attValues[lowerCaseName] = hepRepAttValue;
75 color.push_back(green);
76 color.push_back(blue);
77 color.push_back(alpha);
83 transform(s.begin(), s.end(), s.begin(), (
int(*)(
int)) tolower);
84 return (attValues.count(s) > 0) ? attValues[s] : NULL;
89 transform(s.begin(), s.end(), s.begin(), (
int(*)(
int)) tolower);
virtual std::string getLowerCaseName()=0
HEPREP::HepRepAttValue * getAttValueFromNode(std::string lowerCaseName)
void addAttValue(HEPREP::HepRepAttValue *hepRepAttValue)
std::set< HEPREP::HepRepAttValue * > getAttValuesFromNode()
HEPREP::HepRepAttValue * removeAttValue(std::string key)
~DefaultHepRepAttribute()