PhoenixPresentation  2.0.0
Set of cmake function to automate presentation generation
data_stream_message.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 __DATA_STREAM_MESSAGE_H__
8 #define __DATA_STREAM_MESSAGE_H__
9 
10 #include "data_stream_include.h"
11 
12 
13 
15 template<>
17  static bool data_stream(DataStreamIter & ds, bool & data);
18  static bool data_stream(DataStreamIter & ds, bool * data, size_t nbElement);
19 };
20 
22 template<>
24  static bool data_stream(DataStreamIter & ds, bool & data);
25  static bool data_stream(DataStreamIter & ds, bool * data, size_t nbElement);
26 };
27 
29 template<>
31  static bool data_stream(DataStreamIter & ds, std::string & data);
32 };
33 
35 template<>
37  static bool data_stream(DataStreamIter & ds, std::string & data);
38 };
39 
42 
43 
44 #endif
DataStreamType * DataStreamIter
Generic DataStream class.
static bool data_stream(Stream &ds, T &data)
Dummy function to catch if a type is not specialised.