|
| | Import (HAPI::Node const &a_node, PoPI::Database const &a_pops, std::string const &a_basePath, Map const *a_parent) |
| | ~Import () |
| EntryType | entryType () const |
| Map const * | map () 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 |
| std::string | protareFilename (std::string const &a_projectileID, std::string const &a_targetID, std::string const &a_library="", std::string const &a_evaluation="", PathForm a_form=PathForm::real) const |
| bool | isProtareAvailable (std::string const &a_projectileID, std::string const &a_targetID, std::string const &a_library="", std::string const &a_evaluation="") const |
| std::vector< std::string > | availableEvaluations (std::string const &a_projectileID, std::string const &a_targetID) const |
| GUPI::Ancestry * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) |
| GUPI::Ancestry const * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) const |
| void | toXMLList (GUPI::WriteInfo &a_writeInfo, std::string const &a_indent="") const |
| | 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 |
| void | libraries (std::vector< std::string > &a_libraries) const |
| | 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 |
Definition at line 5210 of file GIDI.hpp.
| void GIDI::Map::Import::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 |
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.
- Parameters
-
| 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 205 of file GIDI_map.cc.
206 {
207
208 return( m_map->findProtareEntries( a_protareEntries, a_projectileID, a_targetID, a_library, a_evaluation ) );
209}
| ProtareBase const * GIDI::Map::Import::findProtareEntry |
( |
std::string const & | a_projectileID, |
|
|
std::string const & | a_targetID, |
|
|
std::string const & | a_library = "", |
|
|
std::string const & | a_evaluation = "" ) const |
|
virtual |
Returns the Protare entry to the first protare to match a_projectileID, a_targetID, a_library and a_evaluation. If a_evaluation is an empty string, only a_projectileID and a_targetID are matched.
- Parameters
-
| 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. |
- Returns
- The const pointer ProtareBase for the matched protare.
Implements GIDI::Map::BaseEntry.
Definition at line 187 of file GIDI_map.cc.
188 {
189
190 return( m_map->findProtareEntry( a_projectileID, a_targetID, a_library, a_evaluation ) );
191}
| std::string GIDI::Map::Import::protareFilename |
( |
std::string const & | a_projectileID, |
|
|
std::string const & | a_targetID, |
|
|
std::string const & | a_library = "", |
|
|
std::string const & | a_evaluation = "", |
|
|
PathForm | a_form = PathForm::real ) const |
Returns the path to the first protare to match a_projectileID, a_targetID, a_library and a_evaluation. If a_evaluation is an empty string, only a_projectileID and a_targetID are matched.
- Parameters
-
| 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. |
| a_form | [in] Determines the form of the path returned. |
- Returns
- The path to the matched protare.
Definition at line 224 of file GIDI_map.cc.
225 {
226
227 return( m_map->protareFilename( a_projectileID, a_targetID, a_library, a_evaluation, a_form ) );
228}
Referenced by isProtareAvailable().