PhoenixPresentation  2.0.0
Set of cmake function to automate presentation generation
Shadok_impl.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __SHADOK_IMPL_H__
8 #define __SHADOK_IMPL_H__
9 
10 #include "Shadok.h"
11 
13 
16 template<typename Stream, DataStreamMode::DataStreamMode Mode>
17 bool Shadok::data_stream(Stream & ds){
20  return b;
21 }
22 
23 
24 #endif
bool data_stream(Stream &ds)
Function to load/save serialise and deserialise a Shadok in message/stream/file.
Definition: Shadok_impl.h:17
int p_age
Age the Shadok.
Definition: Shadok.h:39
std::string p_name
Name of the Shadok.
Definition: Shadok.h:41
static bool data_stream(Stream &ds, T &data)
Dummy function to catch if a type is not specialised.