Unravel Engine C++ Reference
|
Defines policies for scoping actions in a sequence. More...
#include <seq_common.h>
Public Types | |
enum class | policy_t { stacked , independent } |
Represents the policy for scoping actions. More... | |
Public Member Functions | |
seq_scope_policy () noexcept=default | |
Default constructor. | |
seq_scope_policy (const char *_scope) noexcept | |
Constructs a scope policy with a specified scope. | |
seq_scope_policy (const std::string &_scope) noexcept | |
Constructs a scope policy with a specified scope. | |
Public Attributes | |
std::string | scope |
The name of the scope. | |
policy_t | policy = policy_t::stacked |
The scoping policy (default is stacked). | |
Defines policies for scoping actions in a sequence.
Definition at line 91 of file seq_common.h.
|
strong |
Represents the policy for scoping actions.
Enumerator | |
---|---|
stacked | Actions share the same scope and stack behavior. |
independent | Actions operate independently within their scope. |
Definition at line 97 of file seq_common.h.
|
defaultnoexcept |
Default constructor.
|
inlinenoexcept |
Constructs a scope policy with a specified scope.
_scope | The name of the scope. |
Definition at line 122 of file seq_common.h.
|
inlinenoexcept |
Constructs a scope policy with a specified scope.
_scope | The name of the scope as a string. |
Definition at line 130 of file seq_common.h.
policy_t seq::seq_scope_policy::policy = policy_t::stacked |
The scoping policy (default is stacked).
Definition at line 111 of file seq_common.h.
std::string seq::seq_scope_policy::scope |
The name of the scope.
Definition at line 106 of file seq_common.h.