DataStream  1.8.8
DataStream : framework to save/load/serialize/deserialize data
DataStream< char *, DataStreamMode::READ, std::pair< T, U > > Struct Template Reference

How to write a class in a stream. More...

#include <data_stream_read_message.h>

Static Public Member Functions

static bool data_stream (char *&ds, std::pair< T, U > &data)
 Get the size of a class std::list T. More...
 

Detailed Description

template<typename T, typename U>
struct DataStream< char *, DataStreamMode::READ, std::pair< T, U > >

How to write a class in a stream.

Definition at line 83 of file data_stream_read_message.h.

Member Function Documentation

◆ data_stream()

template<typename T , typename U >
static bool DataStream< char *, DataStreamMode::READ, std::pair< T, U > >::data_stream ( char *&  ds,
std::pair< T, U > &  data 
)
inlinestatic

Get the size of a class std::list T.

Parameters
[out]ds: stream to write the class std::pair T
data: data to be saved
Returns
true on success, false otherwise

Definition at line 89 of file data_stream_read_message.h.

89  {
90  T tmpFirst;
92  U tmpSecond;
94  data = std::pair<T, U>(tmpFirst, tmpSecond);
95  return b;
96  }

References DataStream< Stream, Mode, T >::data_stream().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file:
DataStream::data_stream
static bool data_stream(Stream &ds, T &data)
Definition: data_stream_include.h:28