LLVM  6.0.0svn
Static Public Member Functions | List of all members
llvm::orc::rpc::SerializationTraits< ChannelT, T, T, typename std::enable_if< std::is_base_of< RawByteChannel, ChannelT >::value &&(std::is_same< T, uint8_t >::value||std::is_same< T, int8_t >::value||std::is_same< T, uint16_t >::value||std::is_same< T, int16_t >::value||std::is_same< T, uint32_t >::value||std::is_same< T, int32_t >::value||std::is_same< T, uint64_t >::value||std::is_same< T, int64_t >::value||std::is_same< T, char >::value)>::type > Class Template Reference

#include "llvm/ExecutionEngine/Orc/RawByteChannel.h"

Static Public Member Functions

static Error serialize (ChannelT &C, T V)
 
static Error deserialize (ChannelT &C, T &V)
 

Detailed Description

template<typename ChannelT, typename T>
class llvm::orc::rpc::SerializationTraits< ChannelT, T, T, typename std::enable_if< std::is_base_of< RawByteChannel, ChannelT >::value &&(std::is_same< T, uint8_t >::value||std::is_same< T, int8_t >::value||std::is_same< T, uint16_t >::value||std::is_same< T, int16_t >::value||std::is_same< T, uint32_t >::value||std::is_same< T, int32_t >::value||std::is_same< T, uint64_t >::value||std::is_same< T, int64_t >::value||std::is_same< T, char >::value)>::type >

Definition at line 89 of file RawByteChannel.h.

Member Function Documentation

◆ deserialize()

template<typename ChannelT , typename T >
static Error llvm::orc::rpc::SerializationTraits< ChannelT, T, T, typename std::enable_if< std::is_base_of< RawByteChannel, ChannelT >::value &&(std::is_same< T, uint8_t >::value||std::is_same< T, int8_t >::value||std::is_same< T, uint16_t >::value||std::is_same< T, int16_t >::value||std::is_same< T, uint32_t >::value||std::is_same< T, int32_t >::value||std::is_same< T, uint64_t >::value||std::is_same< T, int64_t >::value||std::is_same< T, char >::value)>::type >::deserialize ( ChannelT &  C,
T V 
)
inlinestatic

Definition at line 104 of file RawByteChannel.h.

References llvm::Error::success().

◆ serialize()

template<typename ChannelT , typename T >
static Error llvm::orc::rpc::SerializationTraits< ChannelT, T, T, typename std::enable_if< std::is_base_of< RawByteChannel, ChannelT >::value &&(std::is_same< T, uint8_t >::value||std::is_same< T, int8_t >::value||std::is_same< T, uint16_t >::value||std::is_same< T, int16_t >::value||std::is_same< T, uint32_t >::value||std::is_same< T, int32_t >::value||std::is_same< T, uint64_t >::value||std::is_same< T, int64_t >::value||std::is_same< T, char >::value)>::type >::serialize ( ChannelT &  C,
T  V 
)
inlinestatic

Definition at line 99 of file RawByteChannel.h.


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