6 using namespace HEPREP;
14 DefaultHepRepInstanceTree::DefaultHepRepInstanceTree(
string aName,
string aVersion,
HepRepTreeID* aTypeTree)
19 for (vector<HepRepInstance*>::iterator i1 = instances.begin(); i1 != instances.end(); i1++) {
26 cerr <<
"DefaultHepRepInstanceTree::overlay(HepRepInstanceTree * instanceTree) not implemented." << endl;
30 cerr <<
"DefaultHepRepInstanceTree::copy(HepRepTypeTree*, HepRepSelectFilter*) not implemented." << endl;
35 instances.push_back(instance);
39 cerr <<
"DefaultHepRepInstanceTree::removeInstance(HepRepInstance*) not implemented." << endl;
47 instanceTrees.push_back(treeID);
std::vector< HEPREP::HepRepTreeID * > getInstanceTreeList()
std::vector< HEPREP::HepRepInstance * > getInstances()
HEPREP::HepRepTreeID * getTypeTree()
void overlay(HEPREP::HepRepInstanceTree *instanceTree)
void addInstanceTree(HEPREP::HepRepTreeID *treeID)
void addInstance(HEPREP::HepRepInstance *instance)
~DefaultHepRepInstanceTree()
void removeInstance(HEPREP::HepRepInstance *instance)
HEPREP::HepRepInstanceTree * copy(HEPREP::HepRepTypeTree *typeTree, HEPREP::HepRepSelectFilter *filter)