BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes
Serializable _types

Classes that may be converted to/from an variant. More...

Classes

class  fc::exception
 Used to generate a useful error report when an exception is thrown. More...
 
class  fc::unhandled_exception
 re-thrown whenever an unhandled exception is caught. More...
 

Detailed Description

Classes that may be converted to/from an variant.

To make a class 'serializable' the following methods must be available for your Serializable_type

void to_variant( const Serializable_type& e, variant& v, uint32_t max_depth );
void from_variant( const variant& e, Serializable_type& ll, uint32_t max_depth );
fc::from_variant
void from_variant(const variant &var, flat_set< T, A... > &vo, uint32_t _max_depth)
Definition: flat.hpp:116
fc::to_variant
void to_variant(const flat_set< T, A... > &var, variant &vo, uint32_t _max_depth)
Definition: flat.hpp:105