3 #include "cheprep/DefaultHepRep.h"
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);
39 void DefaultHepRep::addTypeTree(HepRepTypeTree* typeTree) {
41 typeTrees.push_back(typeTree);
44 void DefaultHepRep::removeTypeTree(HepRepTypeTree*) {
45 cerr <<
"DefaultHepRep::removeTypeTree(HepRepTypeTree*) not implemented." << endl;
48 HepRepTypeTree* DefaultHepRep::getTypeTree(
string,
string) {
49 cerr <<
"DefaultHepRep::getTypeTree(string, string) not implemented." << endl;
53 vector<HepRepTypeTree*> DefaultHepRep::getTypeTreeList() {
57 void DefaultHepRep::addInstanceTree(HepRepInstanceTree* instanceTree) {
59 instanceTrees.push_back(instanceTree);
62 void DefaultHepRep::overlayInstanceTree(HepRepInstanceTree *) {
63 cerr <<
"DefaultHepRep::overlayInstanceTree(HepRepInstanceTree * instanceTree) not implemented." << endl;
66 void DefaultHepRep::removeInstanceTree(HepRepInstanceTree*) {
67 cerr <<
"DefaultHepRep::removeInstanceTree(HepRepInstanceTree*) not implemented." << endl;
70 HepRepInstanceTree* DefaultHepRep::getInstanceTreeTop(
string,
string) {
71 cerr <<
"DefaultHepRep::getInstanceTreeTop(string, string) not implemented." << endl;
75 HepRepInstanceTree* DefaultHepRep::getInstances(
string,
string,
77 cerr <<
"DefaultHepRep::getInstances(string, string, vector<string>) not implemented." << endl;
81 HepRepInstanceTree* DefaultHepRep::getInstancesAfterAction(
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() {
void copy(std::vector< T > &main, const std::vector< T > &data)