PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
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){
18
bool
b =
DataStream<Stream, Mode, int>::data_stream
(ds,
p_age
);
19
b &=
DataStream<Stream, Mode, std::string>::data_stream
(ds,
p_name
);
20
return
b;
21
}
22
23
24
#endif
Shadok::p_name
std::string p_name
Name of the Shadok.
Definition:
Shadok.h:45
Shadok::data_stream
bool data_stream(Stream &ds)
Function to load/save serialise and deserialise a Shadok in message/stream/file.
Definition:
Shadok_impl.h:17
Shadok.h
DataStream::data_stream
static bool data_stream(Stream &ds, T &data)
Definition:
data_stream_include.h:28
Shadok::p_age
int p_age
Age the Shadok.
Definition:
Shadok.h:43
tmp_project
DataStream
TESTS
TEST_SHADOK
Shadok_impl.h
Generated on Mon Dec 9 2024 15:33:41 for PhoenixMock by
1.8.17