HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pugiconfig.hpp
Go to the documentation of this file.
1 /**
2  * pugixml parser - version 1.8
3  * --------------------------------------------------------
4  * Copyright (C) 2006-2016, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
5  * Report bugs and download new versions at http://pugixml.org/
6  *
7  * This library is distributed under the MIT License. See notice at the end
8  * of this file.
9  *
10  * This work is based on the pugxml parser, which is:
11  * Copyright (C) 2003, by Kristen Wegner (kristen@tima.net)
12  */
13 // clang-format off
14 
15 #ifndef HEADER_PUGICONFIG_HPP
16 #define HEADER_PUGICONFIG_HPP
17 
18 // Uncomment this to enable wchar_t mode
19 // #define PUGIXML_WCHAR_MODE
20 
21 // Uncomment this to enable compact mode
22 // #define PUGIXML_COMPACT
23 
24 // Uncomment this to disable XPath
25 // #define PUGIXML_NO_XPATH
26 
27 // Uncomment this to disable STL
28 // #define PUGIXML_NO_STL
29 
30 // Uncomment this to disable exceptions
31 // #define PUGIXML_NO_EXCEPTIONS
32 
33 // Set this to control attributes for public classes/functions, i.e.:
34 // #define PUGIXML_API __declspec(dllexport) // to export all public symbols from DLL
35 // #define PUGIXML_CLASS __declspec(dllimport) // to import all classes from DLL
36 // #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
37 // In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
38 
39 // OIIO: use already defined OIIO_API
40 #include "export.h"
41 #define PUGIXML_API OIIO_API
42 
43 // Tune these constants to adjust memory-related behavior
44 // #define PUGIXML_MEMORY_PAGE_SIZE 32768
45 // #define PUGIXML_MEMORY_OUTPUT_STACK 10240
46 // #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096
47 
48 // Uncomment this to switch to header-only version
49 #define PUGIXML_HEADER_ONLY
50 
51 // Uncomment this to enable long long support
52 // #define PUGIXML_HAS_LONG_LONG
53 
54 #endif
55 
56 /**
57  * Copyright (c) 2006-2016 Arseny Kapoulkine
58  *
59  * Permission is hereby granted, free of charge, to any person
60  * obtaining a copy of this software and associated documentation
61  * files (the "Software"), to deal in the Software without
62  * restriction, including without limitation the rights to use,
63  * copy, modify, merge, publish, distribute, sublicense, and/or sell
64  * copies of the Software, and to permit persons to whom the
65  * Software is furnished to do so, subject to the following
66  * conditions:
67  *
68  * The above copyright notice and this permission notice shall be
69  * included in all copies or substantial portions of the Software.
70  *
71  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
72  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
73  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
74  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
75  * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
76  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
77  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
78  * OTHER DEALINGS IN THE SOFTWARE.
79  */