BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
8 template<
typename IntType,
typename EnumType>
16 :
value( (EnumType)t ){}
20 explicit operator IntType()
const {
return static_cast<IntType
>(
value); }
21 operator EnumType()
const {
return value; }
50 template<
typename IntType,
typename EnumType>
55 template<
typename IntType,
typename EnumType>
65 template<
typename Stream,
typename IntType,
typename EnumType>
72 template<
typename Stream,
typename IntType,
typename EnumType>
std::string to_string(double)
void unpack(Stream &s, flat_set< T, A... > &value, uint32_t _max_depth)
friend bool operator!=(const enum_type &e, EnumType i)
friend bool operator==(const enum_type &e, EnumType i)
bool operator<(const enum_type &e) const
bool operator<(EnumType i) const
void from_variant(const variant &var, flat_set< T, A... > &vo, uint32_t _max_depth)
Defines types and macros used to provide reflection.
friend bool operator==(EnumType i, const enum_type &e)
enum_type & operator=(EnumType i)
bool operator>(const enum_type &e) const
bool operator>=(const enum_type &e) const
T as(uint32_t max_depth) const
bool operator<=(const enum_type &e) const
friend bool operator==(const enum_type &e, IntType i)
void to_variant(const flat_set< T, A... > &var, variant &vo, uint32_t _max_depth)
bool operator>(EnumType i) const
friend bool operator!=(const enum_type &e, const enum_type &i)
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
enum_type & operator=(IntType i)
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
friend bool operator==(const enum_type &e, const enum_type &i)
friend bool operator==(IntType i, const enum_type &e)
friend bool operator!=(const enum_type &e, IntType i)
void pack(Stream &s, const flat_set< T, A... > &value, uint32_t _max_depth)