Open
Graph Drawing
Framework

 v. 2025.10-dev (Foxglove)
 

Loading...
Searching...
No Matches
pugiconfig.h
Go to the documentation of this file.
1
14#ifndef HEADER_PUGICONFIG_HPP
15#define HEADER_PUGICONFIG_HPP
16
17#include <ogdf/basic/internal/config.h> // IWYU pragma: keep
18
19#ifdef OGDF_EXTERNAL_PUGIXML
20# error "Included internal PugiXML header while building with OGDF_EXTERNAL_PUGIXML"
21#endif
22
23// Uncomment this to enable wchar_t mode
24// #define PUGIXML_WCHAR_MODE
25
26// Uncomment this to enable compact mode
27// #define PUGIXML_COMPACT
28
29// Uncomment this to disable XPath
30// #define PUGIXML_NO_XPATH
31
32// Uncomment this to disable STL
33// #define PUGIXML_NO_STL
34
35// Uncomment this to disable exceptions
36#define PUGIXML_NO_EXCEPTIONS
37
38// Set this to control attributes for public classes/functions, i.e.:
39// #define PUGIXML_API __declspec(dllexport) // to export all public symbols from DLL
40// #define PUGIXML_CLASS __declspec(dllimport) // to import all classes from DLL
41// #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
42// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
43#define PUGIXML_API OGDF_EXPORT
44
45// Tune these constants to adjust memory-related behavior
46// #define PUGIXML_MEMORY_PAGE_SIZE 32768
47// #define PUGIXML_MEMORY_OUTPUT_STACK 10240
48// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096
49
50// Tune this constant to adjust max nesting for XPath queries
51// #define PUGIXML_XPATH_DEPTH_LIMIT 1024
52
53// Uncomment this to switch to header-only version
54// #define PUGIXML_HEADER_ONLY
55
56// Uncomment this to enable long long support (usually enabled automatically)
57#define PUGIXML_HAS_LONG_LONG
58
59// Uncomment this to enable support for std::string_view (usually enabled automatically)
60// #define PUGIXML_HAS_STRING_VIEW
61
62#endif
63
Basic configuration file.