6 using namespace HEPREP;
13 DefaultHepRep::DefaultHepRep() {
16 DefaultHepRep::~DefaultHepRep() {
17 for (vector<HepRepTypeTree*>::iterator i1 = typeTrees.begin(); i1 != typeTrees.end(); i1++) {
20 for (vector<HepRepInstanceTree*>::iterator i2 = instanceTrees.begin(); i2 != instanceTrees.end(); i2++) {
26 cerr <<
"DefaultHepRep::copy(HepRepSelectFilter*) not implemented." << endl;
30 vector<string> DefaultHepRep::getLayerOrder() {
34 void DefaultHepRep::addLayer(
string layer) {
35 layers.push_back(layer);
40 typeTrees.push_back(typeTree);
44 cerr <<
"DefaultHepRep::removeTypeTree(HepRepTypeTree*) not implemented." << endl;
48 cerr <<
"DefaultHepRep::getTypeTree(string, string) not implemented." << endl;
52 vector<HepRepTypeTree*> DefaultHepRep::getTypeTreeList() {
58 instanceTrees.push_back(instanceTree);
62 cerr <<
"DefaultHepRep::overlayInstanceTree(HepRepInstanceTree * instanceTree) not implemented." << endl;
66 cerr <<
"DefaultHepRep::removeInstanceTree(HepRepInstanceTree*) not implemented." << endl;
70 cerr <<
"DefaultHepRep::getInstanceTreeTop(string, string) not implemented." << endl;
76 cerr <<
"DefaultHepRep::getInstances(string, string, vector<string>) not implemented." << endl;
84 vector<HepRepAction*>,
89 cerr <<
"DefaultHepRep::getInstancesAfterAction(string, string, vector<string>, vector<HepRepAction*>, bool, bool, bool, vector<string>) not implemented." << endl;
93 string DefaultHepRep::checkForException() {
97 vector<HepRepInstanceTree*> DefaultHepRep::getInstanceTreeList() {