6 using namespace HEPREP;
14 DefaultHepRep::DefaultHepRep() {
17 DefaultHepRep::~DefaultHepRep() {
18 for (vector<HepRepTypeTree*>::iterator i1 = typeTrees.begin(); i1 != typeTrees.end(); i1++) {
21 for (vector<HepRepInstanceTree*>::iterator i2 = instanceTrees.begin(); i2 != instanceTrees.end(); i2++) {
27 cerr <<
"DefaultHepRep::copy(HepRepSelectFilter*) not implemented." << endl;
31 vector<string> DefaultHepRep::getLayerOrder() {
35 void DefaultHepRep::addLayer(
string layer) {
36 layers.push_back(layer);
41 typeTrees.push_back(typeTree);
45 cerr <<
"DefaultHepRep::removeTypeTree(HepRepTypeTree*) not implemented." << endl;
49 cerr <<
"DefaultHepRep::getTypeTree(string, string) not implemented." << endl;
53 vector<HepRepTypeTree*> DefaultHepRep::getTypeTreeList() {
59 instanceTrees.push_back(instanceTree);
63 cerr <<
"DefaultHepRep::overlayInstanceTree(HepRepInstanceTree * instanceTree) not implemented." << endl;
67 cerr <<
"DefaultHepRep::removeInstanceTree(HepRepInstanceTree*) not implemented." << endl;
71 cerr <<
"DefaultHepRep::getInstanceTreeTop(string, string) not implemented." << endl;
77 cerr <<
"DefaultHepRep::getInstances(string, string, vector<string>) not implemented." << endl;
85 vector<HepRepAction*>,
90 cerr <<
"DefaultHepRep::getInstancesAfterAction(string, string, vector<string>, vector<HepRepAction*>, bool, bool, bool, vector<string>) not implemented." << endl;
94 string DefaultHepRep::checkForException() {
98 vector<HepRepInstanceTree*> DefaultHepRep::getInstanceTreeList() {