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);
~DefaultHepRepInstanceTree()
std::vector< HEPREP::HepRepInstance * > getInstances()
void overlay(HEPREP::HepRepInstanceTree *instanceTree)
void removeInstance(HEPREP::HepRepInstance *instance)
std::vector< HEPREP::HepRepTreeID * > getInstanceTreeList()
void addInstance(HEPREP::HepRepInstance *instance)
HEPREP::HepRepInstanceTree * copy(HEPREP::HepRepTypeTree *typeTree, HEPREP::HepRepSelectFilter *filter)
DefaultHepRepInstanceTree(std::string name, std::string version, HEPREP::HepRepTreeID *typeTree)
HEPREP::HepRepTreeID * getTypeTree()
void addInstanceTree(HEPREP::HepRepTreeID *treeID)