Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
@@ -55,7 +55,7 @@
}
public:
const T& variable() const {return m_leaf->variable();}
T& variable() {return m_leaf->variable();}
T& variable() {return m_leaf->variable();}
protected:
branch& m_branch;
leaf_ref<T>* m_leaf;
@@ -169,7 +169,7 @@
}
public:
const std::string& variable() const {return m_leaf->variable();}
std::string& variable() {return m_leaf->variable();}
std::string& variable() {return m_leaf->variable();}
protected:
branch& m_branch;
leaf_string_ref* m_leaf;
@@ -284,7 +284,7 @@
}
public:
const std::vector<std::string>& variable() const {return m_ref;}
std::vector<std::string>& variable() {return const_cast< std::vector<std::string>& >(m_ref);}
std::vector<std::string>& variable() {return const_cast< std::vector<std::string>& >(m_ref);}
protected:
const std::vector<std::string>& m_ref;
char m_sep;
@@ -412,7 +412,7 @@
}
public:
const std::vector<T>& variable() const {return m_ref;}
std::vector<T>& variable() {return const_cast< std::vector<T>& >(m_ref);}
std::vector<T>& variable() {return const_cast< std::vector<T>& >(m_ref);}
protected:
branch& m_branch;
const std::vector<T>& m_ref;