cereal
A C++11 library for serialization
cereal
Doxygen Documentation
Code Modules
Source File Documentation
Github
File List
File Members
include
cereal
macros.hpp
Go to the documentation of this file.
1
17
/*
18
Copyright (c) 2014, Randolph Voorhies, Shane Grant
19
All rights reserved.
20
21
Redistribution and use in source and binary forms, with or without
22
modification, are permitted provided that the following conditions are met:
23
* Redistributions of source code must retain the above copyright
24
notice, this list of conditions and the following disclaimer.
25
* Redistributions in binary form must reproduce the above copyright
26
notice, this list of conditions and the following disclaimer in the
27
documentation and/or other materials provided with the distribution.
28
* Neither the name of cereal nor the
29
names of its contributors may be used to endorse or promote products
30
derived from this software without specific prior written permission.
31
32
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
33
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
34
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
35
DISCLAIMED. IN NO EVENT SHALL RANDOLPH VOORHIES OR SHANE GRANT BE LIABLE FOR ANY
36
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
37
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
39
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
40
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
41
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42
*/
43
44
#ifndef CEREAL_MACROS_HPP_
45
#define CEREAL_MACROS_HPP_
46
47
#ifndef CEREAL_SERIALIZE_FUNCTION_NAME
48
51
#define CEREAL_SERIALIZE_FUNCTION_NAME serialize
52
#endif // CEREAL_SERIALIZE_FUNCTION_NAME
53
54
#ifndef CEREAL_LOAD_FUNCTION_NAME
55
58
#define CEREAL_LOAD_FUNCTION_NAME load
59
#endif // CEREAL_LOAD_FUNCTION_NAME
60
61
#ifndef CEREAL_SAVE_FUNCTION_NAME
62
65
#define CEREAL_SAVE_FUNCTION_NAME save
66
#endif // CEREAL_SAVE_FUNCTION_NAME
67
68
#ifndef CEREAL_LOAD_MINIMAL_FUNCTION_NAME
69
72
#define CEREAL_LOAD_MINIMAL_FUNCTION_NAME load_minimal
73
#endif // CEREAL_LOAD_MINIMAL_FUNCTION_NAME
74
75
#ifndef CEREAL_SAVE_MINIMAL_FUNCTION_NAME
76
79
#define CEREAL_SAVE_MINIMAL_FUNCTION_NAME save_minimal
80
#endif // CEREAL_SAVE_MINIMAL_FUNCTION_NAME
81
82
#endif // CEREAL_MACROS_HPP_
Generated on Sat Feb 13 2016 00:27:13 for cereal by
1.8.11