Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
raw.hpp File Reference
#include <fc/io/raw_variant.hpp>
#include <fc/reflect/reflect.hpp>
#include <fc/io/datastream.hpp>
#include <fc/io/varint.hpp>
#include <fc/fwd.hpp>
#include <fc/array.hpp>
#include <fc/time.hpp>
#include <fc/filesystem.hpp>
#include <fc/exception/exception.hpp>
#include <fc/safe.hpp>
#include <fc/static_variant.hpp>
#include <fc/io/raw_fwd.hpp>
#include <array>
#include <map>
#include <deque>
#include <list>
#include <boost/multiprecision/cpp_int.hpp>
#include <boost/interprocess/containers/string.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#include <boost/interprocess/managed_mapped_file.hpp>
#include <fc/crypto/hex.hpp>
Include dependency graph for raw.hpp:
This graph shows which files directly or indirectly include this file:

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< IsClass >
 
struct  fc::raw::detail::if_class< fc::false_type >
 
struct  fc::raw::detail::if_enum< IsEnum >
 
struct  fc::raw::detail::if_enum< fc::true_type >
 
struct  fc::raw::detail::if_reflected< IsReflected >
 
struct  fc::raw::detail::if_reflected< fc::true_type >
 
struct  fc::raw::pack_static_variant< Stream >
 
struct  fc::raw::unpack_static_variant< Stream >
 

Namespaces

namespace  fc
 namespace sysio::chain
 
namespace  fc::raw
 
namespace  fc::raw::detail
 

Typedefs

using fc::raw::shared_string = bip::basic_string< char, std::char_traits< char >, bip::allocator<char, bip::managed_mapped_file::segment_manager> >
 
template<size_t Size>
using fc::raw::UInt
 
template<size_t Size>
using fc::raw::Int
 

Functions

template<typename Stream >
void fc::raw::pack (Stream &s, const UInt< 256 > &n)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, UInt< 256 > &n)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const Int< 256 > &n)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, Int< 256 > &n)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const boost::multiprecision::number< T > &n)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, boost::multiprecision::number< T > &n)
 
template<typename Stream , typename Arg0 , typename... Args>
void fc::raw::pack (Stream &s, const Arg0 &a0, Args... args)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::exception &e)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::exception &e)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::log_message &msg)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::log_message &msg)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::path &tp)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::path &tp)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::time_point_sec &tp)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::time_point_sec &tp)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::time_point &tp)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::time_point &tp)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::microseconds &usec)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::microseconds &usec)
 
template<typename Stream , typename T , size_t N>
auto fc::raw::pack (Stream &s, const fc::array< T, N > &v) -> std::enable_if_t<!is_trivial_array< T > >
 
template<typename Stream , typename T , size_t N>
auto fc::raw::unpack (Stream &s, fc::array< T, N > &v) -> std::enable_if_t<!is_trivial_array< T > >
 
template<typename Stream , typename T , size_t N>
void fc::raw::pack (Stream &s, T(&v)[N])
 
template<typename Stream , typename T , size_t N>
void fc::raw::unpack (Stream &s, T(&v)[N])
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::shared_ptr< T > &v)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::shared_ptr< T > &v)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const signed_int &v)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const unsigned_int &v)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, signed_int &vi)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, unsigned_int &vi)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, const T &vi)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const char *v)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const safe< T > &v)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, fc::safe< T > &v)
 
template<typename Stream , typename T , unsigned int S, typename Align >
void fc::raw::pack (Stream &s, const fc::fwd< T, S, Align > &v)
 
template<typename Stream , typename T , unsigned int S, typename Align >
void fc::raw::unpack (Stream &s, fc::fwd< T, S, Align > &v)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::optional< T > &v)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::optional< T > &v)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const std::vector< char > &value)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, std::vector< char > &value)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const fc::string &v)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, fc::string &v)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const shared_string &v)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, shared_string &v)
 
template<typename Stream >
void fc::raw::pack (Stream &s, const bool &v)
 
template<typename Stream >
void fc::raw::unpack (Stream &s, bool &v)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::unordered_set< T > &value)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::unordered_set< T > &value)
 
template<typename Stream , typename K , typename V >
void fc::raw::pack (Stream &s, const std::pair< K, V > &value)
 
template<typename Stream , typename K , typename V >
void fc::raw::unpack (Stream &s, std::pair< K, V > &value)
 
template<typename Stream , typename K , typename V >
void fc::raw::pack (Stream &s, const std::unordered_map< K, V > &value)
 
template<typename Stream , typename K , typename V >
void fc::raw::unpack (Stream &s, std::unordered_map< K, V > &value)
 
template<typename Stream , typename K , typename V >
void fc::raw::pack (Stream &s, const std::map< K, V > &value)
 
template<typename Stream , typename K , typename V >
void fc::raw::unpack (Stream &s, std::map< K, V > &value)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::deque< T > &value)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::deque< T > &value)
 
template<typename Stream , typename T , typename... U>
void fc::raw::pack (Stream &s, const boost::container::deque< T, U... > &value)
 
template<typename Stream , typename T , typename... U>
void fc::raw::unpack (Stream &s, boost::container::deque< T, U... > &value)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::vector< T > &value)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::vector< T > &value)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::list< T > &value)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::list< T > &value)
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const std::set< T > &value)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, std::set< T > &value)
 
template<typename Stream , typename T , std::size_t S>
auto fc::raw::pack (Stream &s, const std::array< T, S > &value) -> std::enable_if_t< is_trivial_array< T > >
 
template<typename Stream , typename T , std::size_t S>
auto fc::raw::unpack (Stream &s, std::array< T, S > &value) -> std::enable_if_t< is_trivial_array< T > >
 
template<typename Stream , typename T >
void fc::raw::pack (Stream &s, const T &v)
 
template<typename Stream , typename T >
void fc::raw::unpack (Stream &s, T &v)
 
template<typename T >
size_t fc::raw::pack_size (const T &v)
 
template<typename T >
std::vector< char > fc::raw::pack (const T &v)
 
template<typename T , typename... Next>
std::vector< char > fc::raw::pack (const T &v, Next... next)
 
template<typename T >
T fc::raw::unpack (const std::vector< char > &s)
 
template<typename T >
void fc::raw::unpack (const std::vector< char > &s, T &tmp)
 
template<typename T >
void fc::raw::pack (char *d, uint32_t s, const T &v)
 
template<typename T >
T fc::raw::unpack (const char *d, uint32_t s)
 
template<typename T >
void fc::raw::unpack (const char *d, uint32_t s, T &v)
 
template<typename Stream , typename... T>
void fc::raw::pack (Stream &s, const std::variant< T... > &sv)
 
template<typename Stream , typename... T>
void fc::raw::unpack (Stream &s, std::variant< T... > &sv)
 

Variables

constexpr bool fc::raw::has_feature_reflector_init_on_unpacked_reflected_types = true