PhoenixInkscape
2.0.0
Generate multiple png files with svg inkscape files
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 : CeCILL-C
5
****************************************/
6
7
#ifndef __DATA_STREAM_ASSERT_H__
8
#define __DATA_STREAM_ASSERT_H__
9
10
#include <assert.h>
11
#include <string>
12
13
#ifndef __ASSERT_FUNCTION
14
# define __ASSERT_FUNCTION __func__
15
#endif
16
17
#define data_stream_assert(isOk) data_stream_assertFull(isOk, #isOk, __FILE__, __LINE__, __ASSERT_FUNCTION)
18
19
void
data_stream_assertFull
(
bool
isOk,
const
std::string & assertion,
const
std::string & fileName,
size_t
line,
const
std::string & functionName);
20
21
22
#endif
data_stream_assertFull
void data_stream_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:16
tmp_project
PhoenixDataStream
src
data_stream_assert.h
Generated on Fri Mar 14 2025 12:05:52 for PhoenixInkscape by
1.9.1