Skip to content

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_tMark { kClear = 0, kTemporary, kPermanent}<br>Possible marks for the node.

Public Functions

Name
Markmark() const
voidmark(Mark label)<br>Sets the mark for this node.

Protected Functions

Name
~NodeMark() =default

Public Types Documentation

enum Mark

EnumeratorValueDescription
kClear0Implicit conversion to Boolean false.
kTemporary
kPermanent

Possible marks for the node.

Public Functions Documentation

function mark

cpp
inline Mark mark() const

Return: 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() =default

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