18 for (vector<HepRepInstance*>::iterator i1 = instances.begin(); i1 != instances.end(); i1++) {
25 cerr <<
"DefaultHepRepInstanceTree::overlay(HepRepInstanceTree * instanceTree) not implemented." << endl;
29 cerr <<
"DefaultHepRepInstanceTree::copy(HepRepTypeTree*, HepRepSelectFilter*) not implemented." << endl;
34 instances.push_back(instance);
38 cerr <<
"DefaultHepRepInstanceTree::removeInstance(HepRepInstance*) not implemented." << endl;
46 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)