Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -49,6 +49,8 @@ public:
}
}
virtual void search(search_action& a_action) {
parent::search(a_action);
if(a_action.done()) return;
if(a_action.do_path()) a_action.path_push(this);
tools_vforcit(node*,m_children,it) {
(*it)->search(a_action);
@@ -229,11 +231,15 @@ public:
//touch();
}
void clear() {safe_clear<node>(m_children);}
//void clear() {safe_clear<node>(m_children);}
void clear() {safe_reverse_clear<node>(m_children);}
void raw_clear(){ //used for sg coming from exlib/rroot/vis_volume.
void raw_clear() { //used for sg coming from exlib/rroot/vis_volume.
tools::raw_clear<node>(m_children); //inlib:: is needed.
}
//void children_clear() {m_children.clear();} //warning : nodes are not deleted. Used in [hep_]cone_anim.
size_t size() const {return m_children.size();}
bool empty() const {return m_children.size()?false:true;}
node* operator[](size_t a_index) const{