scram::mef::Path
Functional-event state paths in event trees.
#include <event_tree.h>
Inherits from scram::mef::Branch
Public Functions
| Name | |
|---|---|
| Path(std::string state) | |
| const std::string & | state() const |
Additional inherited members
Public Types inherited from scram::mef::Branch
| Name | |
|---|---|
| using std::variant< Sequence *, Fork *, NamedBranch * > | Target <br>The types of possible branch end-points. |
Public Functions inherited from scram::mef::Branch
| Name | |
|---|---|
| void | instructions(std::vector< Instruction * > instructions)<br>Sets the instructions to execute at the branch. |
| const std::vector< Instruction * > & | instructions() const |
| void | target(Target target)<br>Sets the target for the branch. |
| const Target & | target() const |
Public Functions Documentation
function Path
cpp
explicit Path(
std::string state
)Parameters:
- state State identifier string for functional event.
Exceptions:
- LogicError The string is empty or malformed.
function state
cpp
inline const std::string & state() constReturn: The state of a functional event.
Updated on 2025-11-11 at 16:51:08 +0000
