aether::netcode::transcode::optional_struct_coder< T, struct_member< BM T::*, bit_mask_ptr, BitMaskCoder >, Spec... > Struct Template Reference

#include <transcode.hh>

Public Types

using Item = T
 

Public Member Functions

bool encode (const T &input, bit_appender &w) override final
 
bool decode (bit_stream &r, T &out)
 
virtual bool encode_stream (io::reader &r, bit_appender &w)
 
virtual bool decode_stream (bit_stream &r, io::writer &w)
 

Member Typedef Documentation

template<typename T>
using aether::netcode::transcode::transcode_base< T >::Item = T
inherited

Member Function Documentation

template<typename T , typename BM , typename BitMaskCoder , BM T::* bit_mask_ptr, typename... Spec>
bool aether::netcode::transcode::optional_struct_coder< T, struct_member< BM T::*, bit_mask_ptr, BitMaskCoder >, Spec... >::decode ( bit_stream r,
T &  out 
)
inlinevirtual
template<typename T>
virtual bool aether::netcode::transcode::transcode_base< T >::decode_stream ( bit_stream r,
io::writer w 
)
inlinevirtualinherited
template<typename T , typename BM , typename BitMaskCoder , BM T::* bit_mask_ptr, typename... Spec>
bool aether::netcode::transcode::optional_struct_coder< T, struct_member< BM T::*, bit_mask_ptr, BitMaskCoder >, Spec... >::encode ( const T &  input,
bit_appender w 
)
inlinefinaloverridevirtual
template<typename T>
virtual bool aether::netcode::transcode::transcode_base< T >::encode_stream ( io::reader r,
bit_appender w 
)
inlinevirtualinherited