BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <raw_fwd.hpp>
Classes | |
struct | import_helper |
struct | import_helper< T, type_in_typelist< T > > |
struct | tag |
struct | type_eq |
struct | type_lt |
Public Types | |
using | tag_type = int64_t |
using | list = typelist::list< Types... > |
using | flat_set_type = flat_set< static_variant, type_lt > |
Public Member Functions | |
static_variant () | |
template<typename... Other> | |
static_variant (const static_variant< Other... > &cpy) | |
static_variant (const static_variant &cpy) | |
static_variant (static_variant &&mv) | |
template<typename... Other> | |
static_variant (static_variant< Other... > &&mv) | |
template<typename X , typename = type_in_typelist<X>> | |
static_variant (const X &v) | |
template<typename X , typename = type_in_typelist<X>> | |
static_variant (X &&v) | |
~static_variant () | |
template<typename X , typename = type_in_typelist<X>> | |
static_variant & | operator= (const X &v) |
static_variant & | operator= (const static_variant &v) |
static_variant & | operator= (static_variant &&v) |
template<typename X , typename = type_in_typelist<X>> | |
X & | get () |
template<typename X , typename = type_in_typelist<X>> | |
const X & | get () const |
template<typename visitor > | |
visitor::result_type | visit (visitor &v) |
template<typename visitor > | |
visitor::result_type | visit (const visitor &v) |
template<typename visitor > | |
visitor::result_type | visit (visitor &v) const |
template<typename visitor > | |
visitor::result_type | visit (const visitor &v) const |
void | set_which (tag_type tag) |
tag_type | which () const |
template<typename T > | |
bool | is_type () const |
Static Public Member Functions | |
template<typename... Other> | |
static static_variant | import_from (const static_variant< Other... > &other) |
template<typename... Other> | |
static static_variant | import_from (static_variant< Other... > &&other) |
template<typename visitor > | |
static visitor::result_type | visit (tag_type tag, visitor &v, void *data) |
template<typename visitor > | |
static visitor::result_type | visit (tag_type tag, const visitor &v, void *data) |
template<typename visitor > | |
static visitor::result_type | visit (tag_type tag, visitor &v, const void *data) |
template<typename visitor > | |
static visitor::result_type | visit (tag_type tag, const visitor &v, const void *data) |
static constexpr size_t | count () |
Protected Types | |
template<typename X > | |
using | type_in_typelist = std::enable_if_t< typelist::index_of< list, X >() !=-1 > |
Protected Member Functions | |
template<typename X , typename = type_in_typelist<X>> | |
void | init (const X &x) |
template<typename X , typename = type_in_typelist<X>> | |
void | init (X &&x) |
void | init_from_tag (tag_type tag) |
void | clean () |
Protected Attributes | |
tag_type | _tag |
impl::dynamic_storage | storage |
Friends | |
bool | operator== (const static_variant &a, const static_variant &b) |
Definition at line 27 of file raw_fwd.hpp.
using fc::static_variant< Types >::flat_set_type = flat_set<static_variant, type_lt> |
Definition at line 132 of file static_variant.hpp.
using fc::static_variant< Types >::list = typelist::list<Types...> |
Definition at line 47 of file static_variant.hpp.
using fc::static_variant< Types >::tag_type = int64_t |
Definition at line 46 of file static_variant.hpp.
|
protected |
Definition at line 56 of file static_variant.hpp.
|
inline |
Definition at line 153 of file static_variant.hpp.
|
inline |
Definition at line 159 of file static_variant.hpp.
|
inline |
Definition at line 166 of file static_variant.hpp.
|
inline |
Definition at line 173 of file static_variant.hpp.
|
inline |
Definition at line 181 of file static_variant.hpp.
|
inline |
Definition at line 189 of file static_variant.hpp.
|
inline |
Definition at line 193 of file static_variant.hpp.
|
inline |
Definition at line 197 of file static_variant.hpp.
|
inlineprotected |
Definition at line 89 of file static_variant.hpp.
|
inlinestaticconstexpr |
Definition at line 319 of file static_variant.hpp.
|
inline |
Definition at line 236 of file static_variant.hpp.
|
inline |
Definition at line 246 of file static_variant.hpp.
|
inlinestatic |
Import the value from a foreign static_variant with types not in this one, and throw if the value is an incompatible type
Definition at line 137 of file static_variant.hpp.
|
inlinestatic |
Import the value from a foreign static_variant with types not in this one, and throw if the value is an incompatible type
Definition at line 146 of file static_variant.hpp.
|
inlineprotected |
Definition at line 62 of file static_variant.hpp.
|
inlineprotected |
Definition at line 69 of file static_variant.hpp.
|
inlineprotected |
Definition at line 75 of file static_variant.hpp.
|
inline |
Definition at line 332 of file static_variant.hpp.
|
inline |
Definition at line 207 of file static_variant.hpp.
|
inline |
Definition at line 202 of file static_variant.hpp.
|
inline |
Definition at line 216 of file static_variant.hpp.
|
inline |
Definition at line 320 of file static_variant.hpp.
|
inline |
Definition at line 261 of file static_variant.hpp.
|
inline |
Definition at line 271 of file static_variant.hpp.
|
inlinestatic |
Definition at line 309 of file static_variant.hpp.
|
inlinestatic |
Definition at line 287 of file static_variant.hpp.
|
inlinestatic |
Definition at line 298 of file static_variant.hpp.
|
inlinestatic |
Definition at line 276 of file static_variant.hpp.
|
inline |
Definition at line 256 of file static_variant.hpp.
|
inline |
Definition at line 266 of file static_variant.hpp.
|
inline |
Definition at line 329 of file static_variant.hpp.
|
friend |
Definition at line 226 of file static_variant.hpp.
|
protected |
Definition at line 58 of file static_variant.hpp.
|
protected |
Definition at line 59 of file static_variant.hpp.