Skip to content

scram

Namespaces

Name
scram::core
scram::env
scram::mef
scram::xml

Classes

Name
structscram::DLError <br>Dynamic library errors.
classscram::Error <br>The Error class is the base class for all exceptions specific to the SCRAM code.
structscram::IllegalOperation <br>This error can be used to indicate that call for a function or operation is not legal.
structscram::IOError <br>For input/output related errors.
classscram::Logger <br>This is a general purpose logger; however, its main usage is asserted to be for debugging.
structscram::LogicError <br>Signals internal logic errors, for example, pre-condition failure or use of functionality in ways not designed to.
classscram::Reporter <br>Facilities to report analysis results.
structscram::SettingsError <br>The error in analysis settings.
classscram::Timer <br>Automatic (scoped) timer to log process duration.
structscram::VersionError <br>The minimum required version is not satisfied.

Types

Name
enumLogLevel { ERROR = 0, WARNING, INFO, DEBUG1, DEBUG2, DEBUG3, DEBUG4, DEBUG5}<br>Levels for log statements.
using boost::error_info< struct tag_value, std::string >errinfo_value <br>The generic tag to carry an erroneous value.

Functions

Name
voidReporter::ReportCalculatedQuantity< core::FaultTreeAnalysis >(const core::Settings & settings, xml::StreamElement * information)<br>Describes the fault tree analysis and techniques.
voidReporter::ReportCalculatedQuantity< core::ProbabilityAnalysis >(const core::Settings & settings, xml::StreamElement * information)<br>Describes the probability analysis and techniques.
voidReporter::ReportCalculatedQuantity< core::ImportanceAnalysis >(const core::Settings & , xml::StreamElement * information)<br>Describes the importance analysis and techniques.
voidReporter::ReportCalculatedQuantity< core::UncertaintyAnalysis >(const core::Settings & settings, xml::StreamElement * information)<br>Describes the uncertainty analysis and techniques.
voidReporter::ReportCalculatedQuantity< core::RiskAnalysis >(const core::Settings & settings, xml::StreamElement * information)<br>Describes all performed analyses deduced from settings.

Attributes

Name
const intkMaxVerbosity <br>The index of the last level.

Types Documentation

enum LogLevel

EnumeratorValueDescription
ERROR0Non-critical errors only.
WARNINGWarnings for users, such as assumptions and corrections.
INFOInformation for users, such as running time and complexity.
DEBUG1Minimal debugging information.
DEBUG2Debugging information for the code inside of DEBUG1.
DEBUG3Debugging information for the code inside of DEBUG2.
DEBUG4Debugging information for the code inside of DEBUG3.
DEBUG5Debugging information for the code inside of DEBUG4.

Levels for log statements.

using errinfo_value

cpp
using scram::errinfo_value = typedef boost::error_info<struct tag_value, std::string>;

The generic tag to carry an erroneous value.

Use this tag only if another more-specific error tag is not available.

Functions Documentation

function Reporter::ReportCalculatedQuantity< core::FaultTreeAnalysis >

cpp
void Reporter::ReportCalculatedQuantity< core::FaultTreeAnalysis >(
    const core::Settings & settings,
    xml::StreamElement * information
)

Describes the fault tree analysis and techniques.

function Reporter::ReportCalculatedQuantity< core::ProbabilityAnalysis >

cpp
void Reporter::ReportCalculatedQuantity< core::ProbabilityAnalysis >(
    const core::Settings & settings,
    xml::StreamElement * information
)

Describes the probability analysis and techniques.

function Reporter::ReportCalculatedQuantity< core::ImportanceAnalysis >

cpp
void Reporter::ReportCalculatedQuantity< core::ImportanceAnalysis >(
    const core::Settings & ,
    xml::StreamElement * information
)

Describes the importance analysis and techniques.

function Reporter::ReportCalculatedQuantity< core::UncertaintyAnalysis >

cpp
void Reporter::ReportCalculatedQuantity< core::UncertaintyAnalysis >(
    const core::Settings & settings,
    xml::StreamElement * information
)

Describes the uncertainty analysis and techniques.

function Reporter::ReportCalculatedQuantity< core::RiskAnalysis >

cpp
void Reporter::ReportCalculatedQuantity< core::RiskAnalysis >(
    const core::Settings & settings,
    xml::StreamElement * information
)

Describes all performed analyses deduced from settings.

Attributes Documentation

variable kMaxVerbosity

cpp
const int kMaxVerbosity = 7;

The index of the last level.


Updated on 2025-11-11 at 16:51:07 +0000