|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <LUPI.hpp>
Public Types | |
| enum class | Status { ok , info , warning , error } |
Public Member Functions | |
| StatusMessageReporting () | |
| ~StatusMessageReporting () | |
| statusMessageReporting * | smr () |
| bool | isOk () |
| bool | isInfo () |
| bool | isWarning () |
| bool | isError () |
| void | clear () |
| std::string | constructMessage (std::string a_prefix, int a_reports=1, bool a_clear=false) |
| std::string | constructFullMessage (std::string const &a_prefix, int a_reports=1, bool a_clear=false) |
|
strong |
| LUPI::StatusMessageReporting::StatusMessageReporting | ( | ) |
Constructor for a StatusMessageReporting instance.
Definition at line 25 of file LUPI_statusMessageReporting.cc.
| LUPI::StatusMessageReporting::~StatusMessageReporting | ( | ) |
Destructor for a StatusMessageReporting instance.
Definition at line 36 of file LUPI_statusMessageReporting.cc.
|
inline |
Definition at line 117 of file LUPI.hpp.
Referenced by constructFullMessage(), and constructMessage().
| std::string LUPI::StatusMessageReporting::constructFullMessage | ( | std::string const & | a_prefix, |
| int | a_reports = 1, | ||
| bool | a_clear = false ) |
Returns the first a_reports reports from m_smr with a_prefix appended to the beginning of the returned string.
| a_prefix | [in] A string added to the beginning of the message. |
| a_report | [in] The maximum number of reports to include in the message. |
| a_clear | [in] If true, calls the clear() method after the message is constructed. |
Definition at line 81 of file LUPI_statusMessageReporting.cc.
| std::string LUPI::StatusMessageReporting::constructMessage | ( | std::string | a_prefix, |
| int | a_reports = 1, | ||
| bool | a_clear = false ) |
Returns the first a_reports reports from m_smr with a_prefix appended to the beginning of the returned string.
| a_prefix | [in] A string added to the beginning of the message. |
| a_report | [in] The maximum number of reports to include in the message. |
| a_clear | [in] If true, calls the clear() method after the message is constructed. |
Definition at line 49 of file LUPI_statusMessageReporting.cc.
Referenced by GIDI::Functions::XYs1d::domainSlice(), GIDI::Functions::XYs1d::integrate(), GIDI::Functions::XYs1d::mapToXsAndAdd(), GIDI::Functions::XYs1d::normalize(), GIDI::Functions::XYs1d::operator*=(), GIDI::Functions::XYs1d::operator*=(), GIDI::Functions::XYs1d::operator+=(), GIDI::Functions::XYs1d::operator-=(), GIDI::Functions::XYs1d::operator=(), and GIDI::Functions::XYs1d::toXs_pdf_cdf1d().
|
inline |
Definition at line 116 of file LUPI.hpp.
|
inline |
Definition at line 115 of file LUPI.hpp.
|
inline |
Definition at line 112 of file LUPI.hpp.
Referenced by GIDI::Functions::XYs1d::domainSlice(), GIDI::Transporting::MG::form(), GIDI::Functions::XYs1d::integrate(), GIDI::Functions::XYs1d::mapToXsAndAdd(), GIDI::Functions::XYs1d::normalize(), GIDI::Functions::XYs1d::operator*=(), GIDI::Functions::XYs1d::operator*=(), GIDI::Functions::XYs1d::operator+=(), GIDI::Functions::XYs1d::operator-=(), GIDI::Functions::XYs1d::operator=(), and GIDI::Functions::XYs1d::toXs_pdf_cdf1d().