|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <PoPI.hpp>
Public Member Functions | |
| SymbolBase (HAPI::Node const &a_node, Particle_class a_class) | |
| ~SymbolBase () | |
| std::string const & | symbol () const |
| std::size_t | addToSymbols (Database *a_DB) |
| bool | isParticle () const |
| Public Member Functions inherited from PoPI::Base | |
| Base (std::string const &a_id, Particle_class a_class) | |
| Base (HAPI::Node const &a_node, std::string const &a_label, Particle_class a_class) | |
| virtual | ~Base () |
| std::string const & | ID (void) const |
| std::size_t | index (void) const |
| void | setIndex (std::size_t a_index) |
| int | intid () const |
| Particle_class | Class (void) const |
| bool | isAlias (void) const |
| bool | isMetaStableAlias (void) const |
| bool | isGaugeBoson () const |
| bool | isLepton () const |
| bool | isBaryon () const |
| bool | isUnorthodox () const |
| bool | isNucleus () const |
| bool | isNuclide () const |
| bool | isIsotope () const |
| bool | isChemicalElement () const |
Additional Inherited Members | |
| Public Attributes inherited from PoPI::Base | |
| friend | MetaStable |
| friend | Alias |
| friend | Baryon |
| friend | GaugeBoson |
| friend | Lepton |
| friend | Nucleus |
| friend | Nuclide |
| friend | Unorthodox |
This class is the base class for all SymbolBase instances.
| PoPI::SymbolBase::SymbolBase | ( | HAPI::Node const & | a_node, |
| Particle_class | a_class ) |
| a_node | [in] The HAPI::Node to be parsed. |
| a_class | [in] The PoPI class for this. |
Definition at line 110 of file PoPI_base.cc.
Referenced by PoPI::Isotope::Isotope().
| PoPI::SymbolBase::~SymbolBase | ( | ) |
Definition at line 118 of file PoPI_base.cc.
| std::size_t PoPI::SymbolBase::addToSymbols | ( | Database * | a_DB | ) |
This method adds this to the m_symbolList member of a_DB.
| a_DB | [in] The PoPI::Database instance to add this to. |
Definition at line 130 of file PoPI_base.cc.
|
inlinevirtual |
Returns true if this is a Particle and false it this is a ChemicalElement or Isotope instance.
Reimplemented from PoPI::Base.
Definition at line 715 of file PoPI.hpp.
|
inline |
Returns the value of the symbol.
Definition at line 712 of file PoPI.hpp.
Referenced by PoPI::Database::addSymbol(), PoPI::ChemicalElement::toXMLList(), and PoPI::Isotope::toXMLList().