|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <GIDI.hpp>
Public Member Functions | |
| FlattenedArrayData (HAPI::Node const &a_node, SetupInfo &a_setupInfo, int a_dimensions, int a_useSystem_strtod) | |
| ~FlattenedArrayData () | |
| std::vector< std::size_t > const & | shape () const |
| void | setToValueInFlatRange (std::size_t a_start, std::size_t a_end, double a_value) |
| void | toXMLList (GUPI::WriteInfo &a_writeInfo, std::string const &a_indent) const |
| Public Member Functions inherited from GIDI::Form | |
| Form (FormType a_type) | |
| Form (std::string const &a_moniker, FormType a_type, std::string const &a_label) | |
| Form (HAPI::Node const &a_node, SetupInfo &a_setupInfo, FormType a_type, Suite *a_suite=nullptr) | |
| Form (Form const &a_form) | |
| virtual | ~Form () |
| Form & | operator= (Form const &a_rhs) |
| Suite * | parent () const |
| std::string const & | label () const |
| void | setLabel (std::string const &a_label) |
| virtual std::string | actualMoniker () const |
| std::string const & | keyName () const |
| void | setKeyName (std::string const &a_keyName) |
| std::string const & | keyValue () const |
| virtual void | setKeyValue (std::string const &a_keyName) const |
| FormType | type () const |
| Form const * | sibling (std::string a_label) const |
| GUPI::Ancestry * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) |
| GUPI::Ancestry const * | findInAncestry3 (LUPI_maybeUnused std::string const &a_item) const |
| std::string | xlinkItemKey () const |
| 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) |
| std::string | toXLink () const |
| void | printXML () const |
Public Attributes | |
| std::vector< std::size_t > | m_shape |
| std::size_t | m_numberOfStarts |
| std::size_t | m_numberOfLengths |
| nf_Buffer< int > | m_starts |
| nf_Buffer< int > | m_lengths |
| nf_Buffer< double > | m_dValues |
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) |
| GIDI::FlattenedArrayData::FlattenedArrayData | ( | HAPI::Node const & | a_node, |
| SetupInfo & | a_setupInfo, | ||
| int | a_dimensions, | ||
| int | a_useSystem_strtod ) |
Function to parse a flattened array of dimension a_dimensions.
| a_node | [in] The HAPI::Node to be parsed. |
| a_setupInfo | [in] Information create my the Protare constructor to help in parsing. |
| a_dimensions | [in] The dimension of the flattened array to be parsed. |
| a_useSystem_strtod | [in] Flag passed to the function nfu_stringToListOfDoubles. |
Definition at line 237 of file GIDI_arrays.cc.
| GIDI::FlattenedArrayData::~FlattenedArrayData | ( | ) |
Definition at line 284 of file GIDI_arrays.cc.
| void GIDI::FlattenedArrayData::setToValueInFlatRange | ( | std::size_t | a_start, |
| std::size_t | a_end, | ||
| double | a_value ) |
Sets all elements in the range [a_start,a_end) to a_value.
| a_start | [in] The starting flat-cell index of this to fill with a_value. |
| a_end | [in] One after the last flat-cell index of this to fill with a_value. |
| a_value | [in] The value to set each double in the range to. |
Definition at line 298 of file GIDI_arrays.cc.
|
inline |
|
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.
Definition at line 326 of file GIDI_arrays.cc.
| nf_Buffer<double> GIDI::FlattenedArrayData::m_dValues |
The given array data.
Definition at line 950 of file GIDI.hpp.
Referenced by FlattenedArrayData(), GIDI::parseFlattened1d(), setToValueInFlatRange(), and toXMLList().
| nf_Buffer<int> GIDI::FlattenedArrayData::m_lengths |
The length values.
Definition at line 949 of file GIDI.hpp.
Referenced by FlattenedArrayData(), GIDI::parseFlattened1d(), setToValueInFlatRange(), and toXMLList().
| std::size_t GIDI::FlattenedArrayData::m_numberOfLengths |
The number of length values.
Definition at line 947 of file GIDI.hpp.
Referenced by FlattenedArrayData(), and toXMLList().
| std::size_t GIDI::FlattenedArrayData::m_numberOfStarts |
The number of start values.
Definition at line 946 of file GIDI.hpp.
Referenced by FlattenedArrayData(), GIDI::parseFlattened1d(), setToValueInFlatRange(), and toXMLList().
| std::vector<std::size_t> GIDI::FlattenedArrayData::m_shape |
The shape of the flattened array.
Definition at line 945 of file GIDI.hpp.
Referenced by FlattenedArrayData(), GIDI::parseFlattened1d(), setToValueInFlatRange(), shape(), and toXMLList().
| nf_Buffer<int> GIDI::FlattenedArrayData::m_starts |
The start values.
Definition at line 948 of file GIDI.hpp.
Referenced by FlattenedArrayData(), GIDI::parseFlattened1d(), setToValueInFlatRange(), and toXMLList().