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 | |
|---|---|
| bool | usage() const |
| void | usage(bool usage) |
Protected Functions
| Name | |
|---|---|
| ~Usage() =default |
Public Functions Documentation
function usage
cpp
inline bool usage() constReturn: 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() =defaultUpdated on 2025-11-11 at 16:51:08 +0000
