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

#include <GIDI.hpp>

Inheritance diagram for GIDI::Component:

Public Member Functions

 Component (Construction::Settings const &a_construction, std::string const &a_moniker, std::string const &a_keyName, HAPI::Node const &a_node, SetupInfo &a_setupInfo, PoPI::Database const &a_pops, PoPI::Database const &a_internalPoPs, parseSuite a_parseSuite, Styles::Suite const *a_styles)
 Component (std::string const &a_moniker, std::string const &a_keyName=GIDI_labelChars)
Public Member Functions inherited from GIDI::Suite
 Suite (std::string const &a_keyName=GIDI_labelChars)
 Suite (std::string const &a_moniker, std::string const &a_keyName)
 Suite (Construction::Settings const &a_construction, std::string const &a_moniker, std::string const &a_keyName, HAPI::Node const &a_node, SetupInfo &a_setupInfo, PoPI::Database const &a_pops, PoPI::Database const &a_internalPoPs, parseSuite a_parseSuite, Styles::Suite const *a_styles, bool a_allowsLazyParsing=false)
 ~Suite ()
std::string const & keyName () const
std::size_t size () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
std::size_t operator[] (std::string const &a_label) const
template<typename T>
T * get (std::size_t a_Index)
template<typename T>
T const * get (std::size_t a_Index) const
template<typename T>
T * get (std::string const &a_label)
template<typename T>
T const * get (std::string const &a_label) const
template<typename T>
T * getViaLineage (std::string const &a_label)
template<typename T>
T * getViaLineage (std::string const &a_label) const
template<typename T>
T * pop (std::size_t a_Index)
template<typename T>
T * pop (std::string const &a_label)
Styles::Suite const * styles ()
std::string const & href () const
void parse (Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo, PoPI::Database const &a_pops, PoPI::Database const &a_internalPoPs, parseSuite a_parseSuite, Styles::Suite const *a_styles)
void add (Form *a_form)
iterator find (std::string const &a_label, bool a_convertLazyParsingHelperForm=false)
const_iterator find (std::string const &a_label, bool a_convertLazyParsingHelperForm=false) const
bool has (std::string const &a_label) const
FormcheckLazyParsingHelperForm (std::size_t a_index)
FormcheckLazyParsingHelperForm (std::size_t a_index) const
iterator checkLazyParsingHelperFormIterator (iterator a_iter)
const_iterator checkLazyParsingHelperFormIterator (const_iterator a_iter) const
void modifiedMultiGroupElasticForTNSL (std::map< std::string, std::size_t > const &a_maximumTNSL_MultiGroupIndex)
GUPI::AncestryfindInAncestry3 (std::string const &a_item)
GUPI::Ancestry const * findInAncestry3 (std::string const &a_item) const
std::vector< iteratorfindAllOfMoniker (std::string const &a_moniker)
std::vector< const_iteratorfindAllOfMoniker (std::string const &a_moniker) const
Form const * findInstanceOfTypeInLineage (std::string const &_label, std::string const &a_moniker) const
FormfindInstanceOfTypeInLineage (Styles::Suite const &a_styles, std::string const &_label, std::string const &a_moniker)
void toXMLList (GUPI::WriteInfo &a_writeInfo, std::string const &a_indent="") const
void printFormLabels (std::string const &a_header) const
template<typename T>
T const * get (std::size_t a_index) const
template<typename T>
T const * get (std::string const &a_label) const
template<typename T>
T const * get (std::size_t a_index) const
template<typename T>
T const * get (std::string const &a_label) const
Public Member Functions inherited from GUPI::Ancestry
 Ancestry (std::string const &a_moniker, std::string const &a_attribute="")
virtual ~Ancestry ()
Ancestryoperator= (Ancestry const &a_ancestry)
std::string const & moniker () const
void setMoniker (std::string const &a_moniker)
Ancestryancestor ()
Ancestry const * ancestor () const
void setAncestor (Ancestry *a_ancestor)
std::string attribute () const
Ancestryroot ()
Ancestry const * root () const
bool isChild (Ancestry *a_instance)
bool isParent (Ancestry *a_parent)
bool isRoot () const
AncestryfindInAncestry (std::string const &a_href)
Ancestry const * findInAncestry (std::string const &a_href) const
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::Suite
typedef std::vector< Form * > Forms
typedef Forms::iterator iterator
typedef Forms::const_iterator const_iterator
Static Public Member Functions inherited from GUPI::Ancestry
static std::string buildXLinkItemKey (std::string const &a_name, std::string const &a_key)

Detailed Description

This class is used to store a list (i.e., suite) of similar type GNDS form nodes.

Definition at line 2765 of file GIDI.hpp.

Constructor & Destructor Documentation

◆ Component() [1/2]

GIDI::Component::Component ( Construction::Settings const & a_construction,
std::string const & a_moniker,
std::string const & a_keyName,
HAPI::Node const & a_node,
SetupInfo & a_setupInfo,
PoPI::Database const & a_pops,
PoPI::Database const & a_internalPoPs,
parseSuite a_parseSuite,
Styles::Suite const * a_styles )
Parameters
a_construction[in] Used to pass user options to the constructor.
a_moniker[in] The GNDS moniker for the Suite instance.
a_keyName[in] The key name for elements of this.
a_node[in] The HAPI::Node to be parsed and used to construct the Product.
a_setupInfo[in] Information create my the Protare constructor to help in parsing.
a_pops[in] The external PoPI::Database instance used to get particle indices and possibly other particle information.
a_internalPoPs[in] The internal PoPI::Database instance used to get particle indices and possibly other particle information. This is the <PoPs> node under the <reactionSuite> node.
a_parseSuite[in] This function to call to parse each sub-node.
a_styles[in] The <styles> node under the <reactionSuite> node.

Definition at line 487 of file GIDI_suite.cc.

489 :
490 Suite( a_construction, a_moniker, a_keyName, a_node, a_setupInfo, a_pops, a_internalPoPs, a_parseSuite, a_styles, true ) {
491
492}
Suite(std::string const &a_keyName=GIDI_labelChars)
Definition GIDI_suite.cc:22

◆ Component() [2/2]

GIDI::Component::Component ( std::string const & a_moniker,
std::string const & a_keyName = GIDI_labelChars )
Parameters
a_moniker[in] The GNDS moniker for the Suite instance.
a_keyName[in] The key name for elements of this.

Definition at line 499 of file GIDI_suite.cc.

499 :
500 Suite( a_moniker, a_keyName ) {
501
502}

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