Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::raw::detail::if_enum< IsEnum > Struct Template Reference

#include <raw.hpp>

Static Public Member Functions

template<typename Stream , typename T >
static void pack (Stream &s, const T &v)
 
template<typename Stream , typename T >
static void unpack (Stream &s, T &v)
 

Detailed Description

template<typename IsEnum = fc::false_type>
struct fc::raw::detail::if_enum< IsEnum >

Definition at line 390 of file raw.hpp.

Member Function Documentation

◆ pack()

template<typename IsEnum = fc::false_type>
template<typename Stream , typename T >
static void fc::raw::detail::if_enum< IsEnum >::pack ( Stream & s,
const T & v )
inlinestatic

Definition at line 392 of file raw.hpp.

392 {
393 fc::reflector<T>::visit( pack_object_visitor<Stream,T>( v, s ) );
394 }
defines visit functions for T Unless this is specialized, visit() will not be defined for T.
Definition reflect.hpp:33
char * s

◆ unpack()

template<typename IsEnum = fc::false_type>
template<typename Stream , typename T >
static void fc::raw::detail::if_enum< IsEnum >::unpack ( Stream & s,
T & v )
inlinestatic

Definition at line 396 of file raw.hpp.

396 {
397 fc::reflector<T>::visit( unpack_object_visitor<Stream,T>( v, s ) );
398 }

The documentation for this struct was generated from the following file: