8 using namespace HEPREP;
19 if (type == NULL) cerr <<
"HepRepInstance cannot be created without a HepRepType." << endl;
26 if (type == NULL) cerr <<
"HepRepInstance cannot be created without a HepRepType." << endl;
33 for (vector<HepRepInstance*>::iterator i1 = instances.begin(); i1 != instances.end(); i1++) {
36 for (vector<HepRepPoint*>::iterator i2 = points.begin(); i2 != points.end(); i2++) {
42 cerr <<
"DefaultHepRepInstance::overlay(HepRepInstance * instance) not implemented." << endl;
46 cerr <<
"DefaultHepRepInstance::copy(HepRepTypeTree*, HepRepInstance*, HepRepSelectFilter*) not implemented." << endl;
51 cerr <<
"DefaultHepRepInstance::copy(HepRepTypeTree*, HepRepInstanceTree*, HepRepSelectFilter*) not implemented." << endl;
60 points.push_back(point);
72 instances.push_back(instance);
76 cerr <<
"DefaultHepRepInstance::removeInstance(HepRepInstance*) not implemented." << endl;
85 return (value != NULL) ? value : type->
getAttValue(name);