PhoenixSerializer
3.0.0
PhoenixSerializer is a framework to save/load/serialize/deserialize data
Toggle main menu visibility
Loading...
Searching...
No Matches
data_stream_assert.h
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : LGPL-3.0-only
5
****************************************/
6
7
#ifndef __DATA_STREAM_ASSERT_H__
8
#define __DATA_STREAM_ASSERT_H__
9
10
#include <string>
11
12
#ifndef PHOENIX_ASSERT_FUNCTION
13
#define PHOENIX_ASSERT_FUNCTION __func__
14
#endif
15
16
#define phoenix_serialize_assert(isOk) phoenix_serialize_assertFull(isOk, #isOk, __FILE__, __LINE__, PHOENIX_ASSERT_FUNCTION)
17
18
void
phoenix_serialize_assertFull
(
bool
isOk,
const
std::string & assertion,
const
std::string & fileName,
size_t
line,
const
std::string & functionName);
19
20
#endif
phoenix_serialize_assertFull
void phoenix_serialize_assertFull(bool isOk, const std::string &assertion, const std::string &fileName, size_t line, const std::string &functionName)
Check if the assertion isOk is true, raise an assertion if isOk is false.
Definition
data_stream_assert.cpp:22
src
data_stream_assert.h
Generated by
1.18.0