Kagome
Polkadot Runtime Engine in C++17
|
#include <block_attributes.hpp>
Public Member Functions | |
BlockAttributes ()=default | |
constexpr | BlockAttributes (const BlockAttributes &other) noexcept=default |
BlockAttributes (BlockAttributes &&other) noexcept=default | |
~BlockAttributes ()=default | |
constexpr | BlockAttributes (BlockAttribute attribute) noexcept |
template<typename T , typename = std::enable_if<std::is_unsigned_v<T>>> | |
constexpr | BlockAttributes (T attribute) noexcept |
constexpr BlockAttributes & | operator= (const BlockAttributes &other)=default |
constexpr BlockAttributes & | operator= (BlockAttributes &&other)=default |
template<typename T , typename = std::enable_if<std::is_unsigned_v<T>>> | |
constexpr void | load (T value) |
BlockAttributes & | operator= (BlockAttribute attribute) |
constexpr BlockAttributes | operator| (const BlockAttributes &other) const |
constexpr BlockAttributes | operator| (const BlockAttribute &attribute) const |
BlockAttributes & | operator|= (const BlockAttributes &other) |
BlockAttributes & | operator|= (const BlockAttribute &attribute) |
constexpr BlockAttributes | operator& (const BlockAttributes &other) const |
constexpr BlockAttributes | operator& (const BlockAttribute &attribute) const |
BlockAttributes & | operator&= (const BlockAttributes &other) |
BlockAttributes & | operator&= (BlockAttribute attribute) |
BlockAttributes | operator~ () const |
bool | operator== (const BlockAttributes &other) const |
operator bool () const | |
template<typename T , typename = std::enable_if<std::is_unsigned_v<T>>> | |
operator T () const | |
Private Attributes | |
uint8_t | attributes = 0 |
Static Private Attributes | |
static constexpr uint8_t | mask_ = 0b00011111 |
Friends | |
struct | std::hash< BlockAttributes > |
Block attributes
Definition at line 37 of file block_attributes.hpp.
|
default |
|
defaultnoexcept |
|
defaultnoexcept |
|
default |
|
inlinenoexcept |
Definition at line 44 of file block_attributes.hpp.
|
inlinenoexcept |
Definition at line 48 of file block_attributes.hpp.
|
inline |
Definition at line 58 of file block_attributes.hpp.
|
inline |
Definition at line 125 of file block_attributes.hpp.
|
inline |
Definition at line 130 of file block_attributes.hpp.
|
inline |
Definition at line 91 of file block_attributes.hpp.
|
inline |
Definition at line 98 of file block_attributes.hpp.
|
inline |
Definition at line 105 of file block_attributes.hpp.
|
inline |
Definition at line 110 of file block_attributes.hpp.
|
inlinedefault |
|
inlinedefault |
|
inline |
Definition at line 62 of file block_attributes.hpp.
|
inline |
Definition at line 121 of file block_attributes.hpp.
|
inline |
Definition at line 67 of file block_attributes.hpp.
|
inline |
Definition at line 74 of file block_attributes.hpp.
|
inline |
Definition at line 81 of file block_attributes.hpp.
|
inline |
Definition at line 86 of file block_attributes.hpp.
|
inline |
Definition at line 115 of file block_attributes.hpp.
|
friend |
Definition at line 138 of file block_attributes.hpp.
|
private |
Definition at line 136 of file block_attributes.hpp.
|
staticprivate |
Definition at line 135 of file block_attributes.hpp.