Theolizer
Version.1.2.0
serializer for C++ / Do you want to update your classes easily ?
internal.h
1
//############################################################################
2
// Theolizer内部用のヘッダ
3
/*
4
© 2016 Theoride Technology (http://theolizer.com/) All Rights Reserved.
5
"Theolizer" is a registered trademark of Theoride Technology.
6
7
"Theolizer" License
8
In the case where you are in possession of a valid “Theolizer” License,
9
you may use this file in accordance with the terms and conditions of
10
the use license determined by Theoride Technology.
11
12
General Public License Version 3 ("GPLv3")
13
You may use this file in accordance with the terms and conditions of
14
GPLv3 published by Free Software Foundation.
15
Please confirm the contents of GPLv3 at https://www.gnu.org/licenses/gpl.txt .
16
A copy of GPLv3 is also saved in a LICENSE.TXT file.
17
18
商用ライセンス
19
あなたが有効なTheolizer商用ライセンスを保持している場合、
20
セオライド テクノロジーの定める使用許諾書の条件に従って、
21
このファイルを取り扱うことができます。
22
23
General Public License Version 3(以下GPLv3)
24
Free Software Foundationが公表するGPLv3の使用条件に従って、
25
あなたはこのファイルを取り扱うことができます。
26
GPLv3の内容を https://www.gnu.org/licenses/gpl.txt にて確認して下さい。
27
またGPLv3のコピーをLICENSE.TXTファイルにおいてます。
28
*/
29
//############################################################################
30
31
#if !defined(THEOLIZER_INTERNAL_INTERNAL_H)
32
#define THEOLIZER_INTERNAL_INTERNAL_H
33
34
//############################################################################
35
// Begin
36
//############################################################################
37
38
namespace
theolizer
39
{
40
41
//############################################################################
42
// マクロ定義
43
//############################################################################
44
45
//############################################################################
46
// dll export関係
47
//############################################################################
48
49
#if defined(THEOLIZER_DYN_LINK)
50
#if defined(_MSC_VER)
51
#define THEOLIZER_INTERNAL_DLL __declspec(dllexport)
52
#elif defined(_WIN32)
53
#define THEOLIZER_INTERNAL_DLL __declspec(dllexport)
54
#else
55
#define THEOLIZER_INTERNAL_DLL __attribute__((visibility ("default")))
56
#endif
57
#else
58
#define THEOLIZER_INTERNAL_DLL
59
#endif
60
61
//############################################################################
62
// End
63
//############################################################################
64
65
}
// namespace theolizer
66
67
// ***************************************************************************
68
// 基本ツールのインクルード
69
// ***************************************************************************
70
71
#include "../report.h"
72
73
// ***************************************************************************
74
// BOOST_NO_EXCEPTIONSを定義し、throw_exception()をinline定義する
75
// throw_exception()をユーザ側のそれと完全に切り離すため。
76
// ***************************************************************************
77
78
#define BOOST_NO_EXCEPTIONS
79
#define BOOST_NO_EXCEPTION // boost 1.59.0対応
80
namespace
boost
81
{
82
static
inline
void
throw_exception(std::exception
const
& e)
83
{
84
THEOLIZER_INTERNAL_ABORT(e.what());
85
}
86
}
87
88
#endif // THEOLIZER_INTERNAL_INTERNAL_H
theolizer
theolizer名前空間
Definition:
base.h:53
boost
Definition:
internal.h:80
Theolizer
source
library
theolizer
internal
internal.h
© 2016
Theoride Technology
All Rights Reserved. "Theolizer" is a registered trademark of Theoride Technology.
構築:
1.8.12