PhoenixSwarm  6.1.0
Persistent processing programs exchanging data over sockets
Loading...
Searching...
No Matches
DataStream< Stream, Mode, Shadok > Struct Template Reference

Generic Shadok serialisation/deserialisation, load/save and size function. More...

#include <Shadok.h>

Static Public Member Functions

static bool data_stream (Stream &ds, Shadok &data)
 Generic function to load/save/serialise/deserialise Shadok.

Detailed Description

template<typename Stream, DataStreamMode::DataStreamMode Mode>
struct DataStream< Stream, Mode, Shadok >

Generic Shadok serialisation/deserialisation, load/save and size function.

Definition at line 52 of file Shadok.h.

Member Function Documentation

◆ data_stream()

template<typename Stream, DataStreamMode::DataStreamMode Mode>
bool DataStream< Stream, Mode, Shadok >::data_stream ( Stream & ds,
Shadok & data )
inlinestatic

Generic function to load/save/serialise/deserialise Shadok.

Parameters
[out]ds: stream to be used
data: Shadok to be used
Returns
true on success, false otherwise

Definition at line 58 of file Shadok.h.

58 {
59 return data.readWriteStream<Stream, Mode>(ds);
60 }
bool readWriteStream(Stream &ds)
Load the current Shadok with a stream.
Definition Shadok.h:33

References Shadok::readWriteStream().

Here is the call graph for this function:

The documentation for this struct was generated from the following file:
  • /builds/CTA-LAPP/PHOENIX_LIBS2/network/PhoenixSwarm/build/doc/platex/TESTS/TEST_FUNCTIONS/TEST_DATA_PROCESSING/Shadok.h