24 for (map<string, HepRepAttValue*>::iterator i = attValues.begin(); i != attValues.end(); i++) {
30 set<HepRepAttValue*> attSet;
31 for (map<string, HepRepAttValue*>::iterator i = attValues.begin(); i != attValues.end(); i++) {
32 if ((*i).first !=
"layer") attSet.insert((*i).second);
39 if (attValues[lowerCaseName] != NULL)
delete attValues[lowerCaseName];
40 attValues[lowerCaseName] = hepRepAttValue;
74 color.push_back(green);
75 color.push_back(blue);
76 color.push_back(alpha);
82 transform(s.begin(), s.end(), s.begin(), (
int(*)(
int)) tolower);
83 return (attValues.count(s) > 0) ? attValues[s] : NULL;
88 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()