|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <GIDI.hpp>
Public Types | |
| enum class | PathForm { entered , cumulative , real } |
Public Member Functions | |
| 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 ProtareBase const * | findProtareEntry (std::string const &a_projectileID, std::string const &a_targetID, std::string const &a_library="", std::string const &a_evaluation="") const =0 |
| virtual 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 =0 |
| 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 | |
| Static Public Member Functions inherited from GUPI::Ancestry | |
| static std::string | buildXLinkItemKey (std::string const &a_name, std::string const &a_key) |
This is the virtual base class inherited by all map entry classes.
|
strong |
| GIDI::Map::BaseEntry::BaseEntry | ( | HAPI::Node const & | a_node, |
| std::string const & | a_basePath, | ||
| Map 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 110 of file GIDI_map.cc.
Referenced by GIDI::Map::Import::Import(), and GIDI::Map::ProtareBase::ProtareBase().
|
pure virtual |
Definition at line 122 of file GIDI_map.cc.
|
pure virtual |
Implemented in GIDI::Map::Import, GIDI::Map::Protare, and GIDI::Map::TNSL.
Referenced by GIDI::Map::Map::isTNSL_target(), and GIDI::Map::Map::protare().
|
pure virtual |
Implemented in GIDI::Map::Import, and GIDI::Map::ProtareBase.
|
pure virtual |
Implemented in GIDI::Map::Import, and GIDI::Map::ProtareBase.
| void GIDI::Map::BaseEntry::libraries | ( | std::vector< std::string > & | a_libraries | ) | const |
Fills a_libraries with the name of all the libraries this is contained in. The first library in the list is the library this is defined in and the last is the starting library.
| a_libraries | [out] The instances that is filled with the library names. |
Definition at line 147 of file GIDI_map.cc.
Referenced by GIDI::Map::TNSL::protare(), GIDI::Map::Protare::protareSingle(), and GIDI::Map::TNSL::protareSingle().
|
inline |
Returns the value of the m_name member.
Definition at line 5189 of file GIDI.hpp.
Referenced by BaseEntry(), and GIDI::Map::Map::walk().
|
inline |
Returns the value of the m_parent member.
Definition at line 5190 of file GIDI.hpp.
Referenced by GIDI::Map::ProtareBase::findProtareEntries(), GIDI::Map::ProtareBase::findProtareEntry(), libraries(), GIDI::Map::ProtareBase::library(), GIDI::Map::TNSL::protare(), and GIDI::Map::ProtareBase::resolvedLibrary().
| std::string GIDI::Map::BaseEntry::path | ( | PathForm | a_form = PathForm::real | ) | const |
Returns either the entered, cumulative or realPath path for the entry.
| a_form | [in] The type of path to return. |
Definition at line 133 of file GIDI_map.cc.
Referenced by GIDI::Map::Import::Import(), GIDI::Map::TNSL::protare(), GIDI::Map::Map::protareFilename(), GIDI::Map::Protare::protareSingle(), GIDI::Map::TNSL::protareSingle(), GIDI::Map::Import::toXMLList(), GIDI::Map::Protare::toXMLList(), GIDI::Map::TNSL::toXMLList(), and GIDI::Map::Map::walk().
|
pure virtual |
Fills the argument a_writeInfo with the XML lines that represent this. Recursively enters each sub-node.
| a_writeInfo | [in/out] Instance containing incremental indentation and other information and stores the appended lines. |
| a_indent | [in] The amount to indent this node. |
Reimplemented from GUPI::Ancestry.
Implemented in GIDI::Map::Import, GIDI::Map::Protare, and GIDI::Map::TNSL.