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

#include <GIDI.hpp>

Inheritance diagram for GIDI::Sums::Summand::Base:

Public Member Functions

 Base (Construction::Settings const &a_construction, HAPI::Node const &a_node, SetupInfo &a_setupInfo)
 ~Base ()
std::string const & href () const
GUPI::AncestryfindInAncestry3 (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
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 AncestryfindInAncestry3 (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)

Detailed Description

Base class inherited by sub-nodes of Summands.

Definition at line 4384 of file GIDI.hpp.

Constructor & Destructor Documentation

◆ Base()

GIDI::Sums::Summand::Base::Base ( Construction::Settings const & a_construction,
HAPI::Node const & a_node,
SetupInfo & a_setupInfo )

◆ ~Base()

GIDI::Sums::Summand::Base::~Base ( )

Definition at line 335 of file GIDI_sums.cc.

335 {
336
337}

Referenced by ~Base().

Member Function Documentation

◆ findInAncestry3() [1/2]

GUPI::Ancestry * GIDI::Sums::Summand::Base::findInAncestry3 ( LUPI_maybeUnused std::string const & a_item)
inline

Definition at line 4394 of file GIDI.hpp.

4394{ return( nullptr ); }

◆ findInAncestry3() [2/2]

GUPI::Ancestry const * GIDI::Sums::Summand::Base::findInAncestry3 ( LUPI_maybeUnused std::string const & a_item) const
inline

Definition at line 4395 of file GIDI.hpp.

4395{ return( nullptr ); }

◆ href()

std::string const & GIDI::Sums::Summand::Base::href ( ) const
inline

Returns the value of the m_href member.

Definition at line 4393 of file GIDI.hpp.

Referenced by toXMLList().

◆ toXMLList()

void GIDI::Sums::Summand::Base::toXMLList ( GUPI::WriteInfo & a_writeInfo,
std::string const & a_indent = "" ) const
virtual

Fills the argument a_writeInfo with the XML lines that represent this. Recursively enters each sub-node.

Parameters
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 346 of file GIDI_sums.cc.

346 {
347
348 std::string attributes = a_writeInfo.addAttribute( GIDI_hrefChars, href( ) );
349
350 a_writeInfo.addNodeStarterEnder( a_indent, moniker( ), attributes );
351}
#define GIDI_hrefChars
Definition GIDI.hpp:440
std::string const & href() const
Definition GIDI.hpp:4393
std::string const & moniker() const
Definition GUPI.hpp:102
void addNodeStarterEnder(std::string const &indent, std::string const &a_moniker, std::string const &a_attributes="")
Definition GUPI.hpp:57
std::string addAttribute(std::string const &a_name, std::string const &a_value) const
Definition GUPI.hpp:60

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