|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <GIDI.hpp>
Public Member Functions | |
| ProtareBase (HAPI::Node const &a_node, std::string const &a_basePath, Map const *const a_map) | |
| ~ProtareBase () | |
| std::string const & | projectileID () const |
| std::string const & | targetID () const |
| std::string const & | evaluation () const |
| std::string const & | interaction () const |
| void | setInteraction (std::string const &a_interaction) |
| bool | isMatch (std::string const &a_projectileID, std::string const &a_targetID, std::string const &a_evaluation="") const |
| std::string const & | library () const |
| std::string const & | resolvedLibrary () const |
| ProtareBase const * | findProtareEntry (std::string const &a_projectileID, std::string const &a_targetID, std::string const &a_library="", std::string const &a_evaluation="") const |
| void | findProtareEntries (FindProtareEntries &a_protareEntries, std::regex const &a_projectileID, std::regex const &a_targetID, std::regex const &a_library=std::regex(".*"), std::regex const &a_evaluation=std::regex(".*")) const |
| virtual GIDI::Protare * | protare (Construction::Settings const &a_construction, PoPI::Database const &a_pops, ParticleSubstitution const &a_particleSubstitution) const =0 |
| virtual GIDI::ProtareSingle * | protareSingle (Construction::Settings const &a_construction, PoPI::Database const &a_pops, ParticleSubstitution const &a_particleSubstitution) const =0 |
| GUPI::Ancestry * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) |
| GUPI::Ancestry const * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) const |
| Public Member Functions inherited from GIDI::Map::BaseEntry | |
| BaseEntry (HAPI::Node const &a_node, std::string const &a_basePath, Map const *a_parent) | |
| virtual | ~BaseEntry ()=0 |
| std::string const & | name () const |
| Map const * | parent () const |
| std::string | path (PathForm a_form=PathForm::real) const |
| virtual EntryType | entryType () const =0 |
| void | libraries (std::vector< std::string > &a_libraries) const |
| virtual void | toXMLList (GUPI::WriteInfo &a_writeInfo, std::string const &a_indent="") const =0 |
| Public Member Functions inherited from GUPI::Ancestry | |
| Ancestry (std::string const &a_moniker, std::string const &a_attribute="") | |
| virtual | ~Ancestry () |
| Ancestry & | operator= (Ancestry const &a_ancestry) |
| std::string const & | moniker () const |
| void | setMoniker (std::string const &a_moniker) |
| Ancestry * | ancestor () |
| Ancestry const * | ancestor () const |
| void | setAncestor (Ancestry *a_ancestor) |
| std::string | attribute () const |
| Ancestry * | root () |
| Ancestry const * | root () const |
| bool | isChild (Ancestry *a_instance) |
| bool | isParent (Ancestry *a_parent) |
| bool | isRoot () const |
| Ancestry * | findInAncestry (std::string const &a_href) |
| Ancestry const * | findInAncestry (std::string const &a_href) const |
| virtual Ancestry * | findInAncestry3 (std::string const &a_item)=0 |
| virtual Ancestry const * | findInAncestry3 (std::string const &a_item) const =0 |
| virtual LUPI_HOST void | serialize (LUPI::DataBuffer &a_buffer, LUPI::DataBuffer::Mode a_mode) |
| virtual std::string | xlinkItemKey () const |
| std::string | toXLink () const |
| void | printXML () const |
Additional Inherited Members | |
| Public Types inherited from GIDI::Map::BaseEntry | |
| enum class | PathForm { entered , cumulative , real } |
| Static Public Member Functions inherited from GUPI::Ancestry | |
| static std::string | buildXLinkItemKey (std::string const &a_name, std::string const &a_key) |
| GIDI::Map::ProtareBase::ProtareBase | ( | HAPI::Node const & | a_node, |
| std::string const & | a_basePath, | ||
| Map const *const | a_parent ) |
| a_node | [in] The HAPI::Node to be parsed. |
| a_basePath | [in] A path prepended to this entry's path. |
| a_parent | [in] Pointer to the Map containing this. |
Definition at line 264 of file GIDI_map.cc.
Referenced by findProtareEntry(), GIDI::Map::Protare::Protare(), and GIDI::Map::TNSL::TNSL().
| GIDI::Map::ProtareBase::~ProtareBase | ( | ) |
Definition at line 276 of file GIDI_map.cc.
|
inline |
Returns the value of the m_evaluation member.
Definition at line 5260 of file GIDI.hpp.
Referenced by GIDI::Map::Map::availableEvaluations(), findProtareEntry(), GIDI::Map::MapWalkDirectoryCallback(), GIDI::Map::Protare::toXMLList(), and GIDI::Map::TNSL::toXMLList().
|
inline |
|
inline |
|
virtual |
Returns the list of all Protare entries that match a_projectileID, a_targetID, a_library and a_evaluation. The arguments a_projectileID, a_targetID, a_library and a_evaluation can be an C++ regex string. An empty string for any of the arguments will match all.
| a_protareEntries | [out] The list of ProtareBase found. |
| a_projectileID | [in] The projectile's id to match. |
| a_targetID | [in] The target's id to match. |
| a_library | [in] The library to match. |
| a_evaluation | [in] The evaluation to match. |
Implements GIDI::Map::BaseEntry.
Definition at line 332 of file GIDI_map.cc.
|
virtual |
Compares a_projectileID, a_targetID and a_evaluation to this data and returns true if they match and false otherwise. If a_evaluation is an empty string, only a_projectileID and a_targetID are compared.
| a_projectileID | [in] The projectile's id to match. |
| a_targetID | [in] The target's id to match. |
| a_library | [in] The library to match. |
| a_evaluation | [in] The evaluation to match. |
Implements GIDI::Map::BaseEntry.
Definition at line 310 of file GIDI_map.cc.
Referenced by GIDI::Map::Map::findProtareEntry().
|
inline |
Returns the value of the m_interaction member.
Definition at line 5261 of file GIDI.hpp.
Referenced by GIDI::Map::Protare::Protare(), GIDI::Map::Protare::protareSingle(), and GIDI::Map::Protare::toXMLList().
| bool GIDI::Map::ProtareBase::isMatch | ( | std::string const & | a_projectileID, |
| std::string const & | a_targetID, | ||
| std::string const & | a_evaluation = "" ) const |
Compares a_projectileID, a_targetID and a_evaluation to this data and returns true if they match and false otherwise. If a_evaluation is an empty string, only a_projectileID and a_targetID are compared.
| a_projectileID | [in] The projectile's id to match. |
| a_targetID | [in] The target's id to match. |
| a_evaluation | [in] The evaluation to match. |
Definition at line 354 of file GIDI_map.cc.
Referenced by GIDI::Map::Map::availableEvaluations().
| std::string const & GIDI::Map::ProtareBase::library | ( | ) | const |
Returns the library this is contained in.
Definition at line 284 of file GIDI_map.cc.
Referenced by findProtareEntries(), findProtareEntry(), and library().
|
inline |
Returns the value of the m_projectileID member.
Definition at line 5258 of file GIDI.hpp.
Referenced by findProtareEntry(), GIDI::Map::MapWalkDirectoryCallback(), GIDI::Map::Protare::Protare(), GIDI::Map::Protare::toXMLList(), and GIDI::Map::TNSL::toXMLList().
|
pure virtual |
Implemented in GIDI::Map::Protare, and GIDI::Map::TNSL.
Referenced by GIDI::Map::Map::protare().
|
pure virtual |
Implemented in GIDI::Map::Protare, and GIDI::Map::TNSL.
| std::string const & GIDI::Map::ProtareBase::resolvedLibrary | ( | ) | const |
Returns the resolved library this is contained in.
Definition at line 293 of file GIDI_map.cc.
Referenced by resolvedLibrary().
|
inline |
Set the m_interaction member to a_interaction.
Definition at line 5262 of file GIDI.hpp.
Referenced by GIDI::Map::Protare::Protare(), and GIDI::Map::TNSL::TNSL().
|
inline |
Returns the value of the m_targetID member.
Definition at line 5259 of file GIDI.hpp.
Referenced by findProtareEntry(), GIDI::Map::MapWalkDirectoryCallback(), GIDI::Map::Protare::Protare(), GIDI::Map::Protare::toXMLList(), and GIDI::Map::TNSL::toXMLList().