2 * pugixml parser - version 1.4
\r
3 * --------------------------------------------------------
\r
5 * Report bugs and download new versions at http://pugixml.org/
\r
7 * This library is distributed under the MIT License. See notice at the end
\r
10 * This work is based on the pugxml parser, which is:
\r
14 #ifndef HEADER_PUGICONFIG_HPP
\r
15 #define HEADER_PUGICONFIG_HPP
\r
17 // Uncomment this to enable wchar_t mode
\r
18 // #define PUGIXML_WCHAR_MODE
\r
20 // Uncomment this to disable XPath
\r
21 // #define PUGIXML_NO_XPATH
\r
23 // Uncomment this to disable STL
\r
24 // #define PUGIXML_NO_STL
\r
26 // Uncomment this to disable exceptions
\r
27 // #define PUGIXML_NO_EXCEPTIONS
\r
29 // Set this to control attributes for public classes/functions, i.e.:
\r
30 // #define PUGIXML_API __declspec(dllexport) // to export all public symbols from DLL
\r
31 // #define PUGIXML_CLASS __declspec(dllimport) // to import all classes from DLL
\r
32 // #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
\r
33 // In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
\r
35 // Tune these constants to adjust memory-related behavior
\r
36 // #define PUGIXML_MEMORY_PAGE_SIZE 32768
\r
37 // #define PUGIXML_MEMORY_OUTPUT_STACK 10240
\r
38 // #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096
\r
40 // Uncomment this to switch to header-only version
\r
41 // #define PUGIXML_HEADER_ONLY
\r
42 // #include "pugixml.cpp"
\r
44 // Uncomment this to enable long long support
\r
45 // #define PUGIXML_HAS_LONG_LONG
\r
50 * Copyright (c) 2006-2014 Arseny Kapoulkine
\r
52 * Permission is hereby granted, free of charge, to any person
\r
53 * obtaining a copy of this software and associated documentation
\r
54 * files (the "Software"), to deal in the Software without
\r
55 * restriction, including without limitation the rights to use,
\r
56 * copy, modify, merge, publish, distribute, sublicense, and/or sell
\r
57 * copies of the Software, and to permit persons to whom the
\r
58 * Software is furnished to do so, subject to the following
\r
61 * The above copyright notice and this permission notice shall be
\r
62 * included in all copies or substantial portions of the Software.
\r
64 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
65 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
\r
66 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
67 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
\r
68 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
\r
69 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
\r
70 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
\r
71 * OTHER DEALINGS IN THE SOFTWARE.
\r