BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Functions
raw.hpp File Reference
#include <boost/endian/buffers.hpp>
#include <fc/io/raw_variant.hpp>
#include <fc/reflect/reflect.hpp>
#include <fc/io/datastream.hpp>
#include <fc/optional.hpp>
#include <fc/fwd.hpp>
#include <fc/time.hpp>
#include <fc/filesystem.hpp>
#include <fc/exception/exception.hpp>
#include <fc/io/raw_fwd.hpp>
#include <algorithm>
#include <map>
#include <deque>

Go to the source code of this file.

Classes

struct  fc::raw::detail::pack_object_visitor< Stream, Class >
 
struct  fc::raw::detail::unpack_object_visitor< Stream, Class >
 
struct  fc::raw::detail::if_class< T, Dummy >
 
struct  fc::raw::detail::if_class< T, std::enable_if_t<!std::is_class< T >::value > >
 
struct  fc::raw::detail::if_class< int64_t, void >
 
struct  fc::raw::detail::if_class< uint64_t, void >
 
struct  fc::raw::detail::if_class< int32_t, void >
 
struct  fc::raw::detail::if_class< uint32_t, void >
 
struct  fc::raw::detail::if_class< int16_t, void >
 
struct  fc::raw::detail::if_class< uint16_t, void >
 
struct  fc::raw::detail::if_class< int8_t, void >
 
struct  fc::raw::detail::if_class< uint8_t, void >
 
struct  fc::raw::detail::if_enum< T, Dummy >
 
struct  fc::raw::detail::if_enum< T, std::enable_if_t<!std::is_enum< T >::value > >
 
struct  fc::raw::detail::if_enum< T, std::enable_if_t< std::is_enum< T >::value > >
 
struct  fc::raw::detail::if_reflected< IsReflected >
 
struct  fc::raw::detail::if_reflected< std::true_type >
 
struct  fc::raw::pack_static_variant< Stream >
 
struct  fc::raw::unpack_static_variant< Stream >
 

Namespaces

 fc
 
 fc::raw
 
 fc::raw::detail
 

Functions

template<typename Stream , typename Arg0 , typename... Args>
void fc::raw::pack (Stream &s, const Arg0 &a0, Args...args, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const uint128_t &v, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, uint128_t &v, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::exception &e, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::exception &e, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::log_message &msg, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::log_message &msg, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::path &tp, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::path &tp, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::time_point_sec &tp, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::time_point_sec &tp, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::time_point &tp, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::time_point &tp, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::microseconds &usec, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::microseconds &usec, uint32_t _max_depth)
 
template<typename Stream , size_t N>
void fc::raw::pack (Stream &s, const std::array< char, N > &v, uint32_t _max_depth)
 
template<typename Stream , size_t N>
void fc::raw::pack (Stream &s, const std::array< unsigned char, N > &v, uint32_t _max_depth)
 
template<typename Stream , size_t N>
void fc::raw::unpack (Stream &s, std::array< char, N > &v, uint32_t _max_depth)
 
template<typename Stream , size_t N>
void fc::raw::unpack (Stream &s, std::array< unsigned char, N > &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::shared_ptr< T > &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::shared_ptr< T > &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::shared_ptr< const T > &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::shared_ptr< const T > &v, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const unsigned_int &v, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, unsigned_int &vi, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, const T &vi, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const char *v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const safe< T > &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, fc::safe< T > &v, uint32_t _max_depth)
 
template<typename Stream , typename T , unsigned int S, typename Align >
void fc::raw::pack (Stream &s, const fc::fwd< T, S, Align > &v, uint32_t _max_depth)
 
template<typename Stream , typename T , unsigned int S, typename Align >
void fc::raw::unpack (Stream &s, fc::fwd< T, S, Align > &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const fc::optional< T > &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, fc::optional< T > &v, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const std::vector< char > &value, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, std::vector< char > &value, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const std::string &v, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, std::string &v, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const bool &v, uint32_t _max_depth)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, bool &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::unordered_set< T > &value, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::unordered_set< T > &value, uint32_t _max_depth)
 
template<typename Stream , typename K , typename V >
void fc::raw::pack (Stream &s, const std::pair< K, V > &value, uint32_t _max_depth)
 
template<typename Stream , typename K , typename V >
void fc::raw::unpack (Stream &s, std::pair< K, V > &value, uint32_t _max_depth)
 
template<typename Stream , typename K , typename V >
void fc::raw::pack (Stream &s, const std::unordered_map< K, V > &value, uint32_t _max_depth)
 
template<typename Stream , typename K , typename V >
void fc::raw::unpack (Stream &s, std::unordered_map< K, V > &value, uint32_t _max_depth)
 
template<typename Stream , typename K , typename V >
void fc::raw::pack (Stream &s, const std::map< K, V > &value, uint32_t _max_depth)
 
template<typename Stream , typename K , typename V >
void fc::raw::unpack (Stream &s, std::map< K, V > &value, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::deque< T > &value, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::deque< T > &value, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::vector< T > &value, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::vector< T > &value, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::set< T > &value, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::set< T > &value, uint32_t _max_depth)
 
template<typename Stream , boost::endian::order O, class T , std::size_t N, boost::endian::align A>
void fc::raw::pack (Stream &s, const boost::endian::endian_buffer< O, T, N, A > &v, uint32_t _max_depth)
 
template<typename Stream , boost::endian::order O, class T , std::size_t N, boost::endian::align A>
void fc::raw::unpack (Stream &s, boost::endian::endian_buffer< O, T, N, A > &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const T &v, uint32_t _max_depth)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, T &v, uint32_t _max_depth)
 
template<typename T >
size_t fc::raw::pack_size (const T &v)
 
template<typename T >
std::vector< char > fc::raw::pack (const T &v, uint32_t _max_depth)
 
template<typename T , typename... Next>
std::vector< char > fc::raw::pack (const T &v, Next...next, uint32_t _max_depth)
 
template<typename T >
fc::raw::unpack (const std::vector< char > &s, uint32_t _max_depth)
 
template<typename T >
void fc::raw::unpack (const std::vector< char > &s, T &tmp, uint32_t _max_depth)
 
template<typename T >
void fc::raw::pack (char *d, uint32_t s, const T &v, uint32_t _max_depth)
 
template<typename T >
fc::raw::unpack (const char *d, uint32_t s, uint32_t _max_depth)
 
template<typename T >
void fc::raw::unpack (const char *d, uint32_t s, T &v, uint32_t _max_depth)
 
template<typename Stream , typename... T>
void fc::raw::pack (Stream &s, const static_variant< T... > &sv, uint32_t _max_depth)
 
template<typename Stream , typename... T>
void fc::raw::unpack (Stream &s, static_variant< T... > &sv, uint32_t _max_depth)