scram::mef::NodeMark
Mixin class for providing marks for graph nodes.
#include <element.h>
Inherited by scram::mef::Gate, scram::mef::Link, scram::mef::NamedBranch, scram::mef::Parameter, scram::mef::Rule
Public Types
| Name | |
|---|---|
| enum std::uint8_t | Mark { kClear = 0, kTemporary, kPermanent}<br>Possible marks for the node. |
Public Functions
| Name | |
|---|---|
| Mark | mark() const |
| void | mark(Mark label)<br>Sets the mark for this node. |
Protected Functions
| Name | |
|---|---|
| ~NodeMark() =default |
Public Types Documentation
enum Mark
| Enumerator | Value | Description |
|---|---|---|
| kClear | 0 | Implicit conversion to Boolean false. |
| kTemporary | ||
| kPermanent |
Possible marks for the node.
Public Functions Documentation
function mark
cpp
inline Mark mark() constReturn: The mark of this node.
function mark
cpp
inline void mark(
Mark label
)Sets the mark for this node.
Parameters:
- label The specific label for the node.
Protected Functions Documentation
function ~NodeMark
cpp
~NodeMark() =defaultUpdated on 2025-11-11 at 16:51:08 +0000
