BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Functions
enum_type.hpp File Reference
#include <fc/reflect/reflect.hpp>
#include <fc/io/raw_fwd.hpp>
#include <fc/variant.hpp>

Go to the source code of this file.

Classes

class  fc::enum_type< IntType, EnumType >
 

Namespaces

 fc
 
 fc::raw
 

Functions

template<typename IntType , typename EnumType >
void fc::to_variant (const enum_type< IntType, EnumType > &var, variant &vo, uint32_t max_depth=1)
 
template<typename IntType , typename EnumType >
void fc::from_variant (const variant &var, enum_type< IntType, EnumType > &vo, uint32_t max_depth)
 
template<typename Stream , typename IntType , typename EnumType >
void fc::raw::pack (Stream &s, const fc::enum_type< IntType, EnumType > &tp, uint32_t _max_depth)
 
template<typename Stream , typename IntType , typename EnumType >
void fc::raw::unpack (Stream &s, fc::enum_type< IntType, EnumType > &tp, uint32_t _max_depth)