1
2
3
4
5
6 #ifndef SNGXML_XPATH_XPATH_DEBUG
7 #define SNGXML_XPATH_XPATH_DEBUG
8 #include <sngxml/xpath/XPathApi.hpp>
9 #include <sngxml/dom/Node.hpp>
10 #include <chrono>
11
12 namespace sngxml { namespace xpath {
13
14 bool XPathDebugParsing();
15 void SetXPathDebugParsing();
16 bool XPathDebugQuery();
17 void SetXPathDebugQuery();
18 void SetXPathQueryDom(std::std::unique_ptr<sngxml::dom::Node>&&queryDom);
19 std::unique_ptr<sngxml::dom::Node> GetXPathQueryDom();
20 void SetXPathQueryDuration(std::chrono::nanoseconds duration);
21 std::chrono::nanoseconds XPathQueryDuration();
22 void SetXPathExecuteDuration(std::chrono::nanoseconds duration);
23 std::chrono::nanoseconds XPathExecuteDuration();
24 void InitDebug();
25 void DoneDebug();
26
27 } }
28
29 #endif // SNGXML_XPATH_XPATH_DEBUG