Skip to content

scram::mef::Usage ​

Mixin class for providing usage marks for elements.

#include <element.h>

Inherited by scram::mef::Event, scram::mef::EventTree, scram::mef::ExternFunction< void >, scram::mef::ExternLibrary, scram::mef::FunctionalEvent, scram::mef::InitiatingEvent, scram::mef::NamedBranch, scram::mef::Parameter, scram::mef::Rule, scram::mef::Sequence

Public Functions ​

Name
boolusage() const
voidusage(bool usage)

Protected Functions ​

Name
~Usage() =default

Public Functions Documentation ​

function usage ​

cpp
inline bool usage() const

Return: true if the element is used in the model or analysis.

function usage ​

cpp
inline void usage(
    bool usage
)

Parameters:

  • usage The usage state of the element in a model.

Protected Functions Documentation ​

function ~Usage ​

cpp
~Usage() =default

Updated on 2025-12-19 at 21:56:46 +0000