Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GIDI::Map::MapWalkDirectoryCallbackData Class Reference

Public Member Functions

 MapWalkDirectoryCallbackData (std::string const &a_projectileID, std::string const &a_targetID, std::string const &a_library, std::string const &a_evaluation)

Public Attributes

std::string const & m_projectileID
std::string const & m_targetID
std::string const & m_library
std::string const & m_evaluation
std::vector< ProtareBase const * > m_protareEntries

Detailed Description

User data passed to the Map::directory method. It stores the desired projectile, target, library and evalaute infomation as a list of found matches. An empty string for the projectile's id matches all projectiles. A empty string for the target's id matches all targets. An empty evaluation string matches all evaluations.

Definition at line 45 of file GIDI_map.cc.

Constructor & Destructor Documentation

◆ MapWalkDirectoryCallbackData()

GIDI::Map::MapWalkDirectoryCallbackData::MapWalkDirectoryCallbackData ( std::string const & a_projectileID,
std::string const & a_targetID,
std::string const & a_library,
std::string const & a_evaluation )
inline
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.

Definition at line 63 of file GIDI_map.cc.

63 :
64 m_projectileID( a_projectileID ),
65 m_targetID( a_targetID ),
66 m_library( a_library ),
67 m_evaluation( a_evaluation ) {
68
69 }

Member Data Documentation

◆ m_evaluation

std::string const& GIDI::Map::MapWalkDirectoryCallbackData::m_evaluation

The desired evaluation id.

Definition at line 51 of file GIDI_map.cc.

Referenced by GIDI::Map::MapWalkDirectoryCallback(), and MapWalkDirectoryCallbackData().

◆ m_library

std::string const& GIDI::Map::MapWalkDirectoryCallbackData::m_library

The desired library name.

Definition at line 50 of file GIDI_map.cc.

Referenced by GIDI::Map::MapWalkDirectoryCallback(), and MapWalkDirectoryCallbackData().

◆ m_projectileID

std::string const& GIDI::Map::MapWalkDirectoryCallbackData::m_projectileID

The desired projectile's id.

Definition at line 48 of file GIDI_map.cc.

Referenced by GIDI::Map::MapWalkDirectoryCallback(), and MapWalkDirectoryCallbackData().

◆ m_protareEntries

std::vector<ProtareBase const *> GIDI::Map::MapWalkDirectoryCallbackData::m_protareEntries

list of matched protare entries.

Definition at line 53 of file GIDI_map.cc.

Referenced by GIDI::Map::Map::directory(), and GIDI::Map::MapWalkDirectoryCallback().

◆ m_targetID

std::string const& GIDI::Map::MapWalkDirectoryCallbackData::m_targetID

The desired target's id.

Definition at line 49 of file GIDI_map.cc.

Referenced by GIDI::Map::MapWalkDirectoryCallback(), and MapWalkDirectoryCallbackData().


The documentation for this class was generated from the following file: