Async 1.7.0
Async::MsgPacker< T[N]> Class Template Reference

#include <AsyncMsg.h>

Static Public Member Functions

static bool pack (std::ostream &os, const T(&vec)[N])
 
static size_t packedSize (const T(&vec)[N])
 
static bool unpack (std::istream &is, T(&vec)[N])
 
static bool pack (std::ostream &os, const T &val)
 
static size_t packedSize (const T &val)
 
static bool unpack (std::istream &is, T &val)
 

Detailed Description

template<typename T, size_t N>
class Async::MsgPacker< T[N]>

Definition at line 645 of file AsyncMsg.h.

Member Function Documentation

◆ pack() [1/2]

static bool Async::MsgPacker< T >::pack ( std::ostream & os,
const T & val )
inlinestatic

Definition at line 263 of file AsyncMsg.h.

◆ pack() [2/2]

template<typename T, size_t N>
static bool Async::MsgPacker< T[N]>::pack ( std::ostream & os,
const T(&) vec[N] )
inlinestatic

Definition at line 648 of file AsyncMsg.h.

References Async::MsgPacker< T >::pack().

◆ packedSize() [1/2]

static size_t Async::MsgPacker< T >::packedSize ( const T & val)
inlinestatic

Definition at line 264 of file AsyncMsg.h.

◆ packedSize() [2/2]

template<typename T, size_t N>
static size_t Async::MsgPacker< T[N]>::packedSize ( const T(&) vec[N])
inlinestatic

Definition at line 659 of file AsyncMsg.h.

References Async::MsgPacker< T >::packedSize().

◆ unpack() [1/2]

static bool Async::MsgPacker< T >::unpack ( std::istream & is,
T & val )
inlinestatic

Definition at line 265 of file AsyncMsg.h.

◆ unpack() [2/2]

template<typename T, size_t N>
static bool Async::MsgPacker< T[N]>::unpack ( std::istream & is,
T(&) vec[N] )
inlinestatic

Definition at line 668 of file AsyncMsg.h.

References Async::MsgPacker< T >::unpack().


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