BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <restriction.hpp>
Public Types | |
enum | function_type { func_eq, func_ne, func_lt, func_le, func_gt, func_ge, func_in, func_not_in, func_has_all, func_has_none, func_attr, func_logical_or, func_variant_assert, FUNCTION_TYPE_COUNT } |
using | variant_assert_argument_type = pair< int64_t, vector< restriction > > |
using | argument_type = fc::static_variant< GRAPHENE_OP_RESTRICTION_ARGUMENTS_VARIADIC > |
Public Member Functions | |
restriction ()=default | |
restriction (const unsigned_int &member_index, function_type type, const argument_type &argument) | |
size_t | restriction_count () const |
Static Public Member Functions | |
static size_t | restriction_count (const vector< restriction > &restrictions) |
Public Attributes | |
unsigned_int | member_index |
unsigned_int | restriction_type |
argument_type | argument |
extensions_type | extensions |
Defines the set of valid operation restritions as a discriminated union type.
Definition at line 33 of file restriction.hpp.
using graphene::protocol::restriction::argument_type = fc::static_variant<GRAPHENE_OP_RESTRICTION_ARGUMENTS_VARIADIC> |
Definition at line 99 of file restriction.hpp.
using graphene::protocol::restriction::variant_assert_argument_type = pair<int64_t, vector<restriction> > |
Definition at line 53 of file restriction.hpp.
Definition at line 34 of file restriction.hpp.
|
default |
|
inline |
Definition at line 108 of file restriction.hpp.
size_t graphene::protocol::restriction::restriction_count | ( | ) | const |
Definition at line 39 of file restriction.cpp.
|
static |
Definition at line 35 of file restriction.cpp.
argument_type graphene::protocol::restriction::argument |
Definition at line 103 of file restriction.hpp.
extensions_type graphene::protocol::restriction::extensions |
Definition at line 105 of file restriction.hpp.
unsigned_int graphene::protocol::restriction::member_index |
Definition at line 101 of file restriction.hpp.
unsigned_int graphene::protocol::restriction::restriction_type |
Definition at line 102 of file restriction.hpp.