top | up | prev | next

XPathDebugInfo Class

Definition at line 10 of XPathDebug.cpp

Constructors

XPathDebugInfo()

Member Functions

bool DebugParsing() const
bool DebugQuery() const
void Done() static
std::chrono::nanoseconds GetExecuteDuration() const
std::unique_ptr<Node> GetQueryDom()
std::chrono::nanoseconds GetQueryDuration() const
void Init() static
XPathDebugInfo& Instance() static
void SetDebugParsing()
void SetDebugQuery()
void SetExecuteDuration(std::chrono::nanoseconds duration)
void SetQueryDom(std::unique_ptr<Node>&& queryDom_)
void SetQueryDuration(std::chrono::nanoseconds duration)

Member Variables

bool debugParsing
bool debugQuery
std::chrono::nanoseconds executeDuration
std::unique_ptr<XPathDebugInfo> instance static
std::unique_ptr<Node> queryDom
std::chrono::nanoseconds queryDuration

Constructor Details

XPathDebugInfo Constructor

sngxml::xpath::XPathDebugInfo::XPathDebugInfo()

Definition at line 38 of XPathDebug.cpp :
 38 : debugParsing(false)debugQuery(false)queryDuration(0)executeDuration(0)
 39 {
 40 }


Declaration at line 28 of XPathDebug.cpp


Member Function Details

DebugParsing Member Function

bool sngxml::xpath::XPathDebugInfo::DebugParsing() const

Definition at line 16 of XPathDebug.cpp :
 16 { return debugParsing; }


DebugQuery Member Function

bool sngxml::xpath::XPathDebugInfo::DebugQuery() const

Definition at line 18 of XPathDebug.cpp :
 18 { return debugQuery; }


Done Member Function

void sngxml::xpath::XPathDebugInfo::Done() static

Definition at line 47 of XPathDebug.cpp :
 48 {
 49     instance.reset();
 50 }


Declaration at line 14 of XPathDebug.cpp


GetExecuteDuration Member Function

std::chrono::nanoseconds sngxml::xpath::XPathDebugInfo::GetExecuteDuration() const

Definition at line 25 of XPathDebug.cpp :
 25 { return executeDuration; }


GetQueryDom Member Function

std::unique_ptr<Node > sngxml::xpath::XPathDebugInfo::GetQueryDom()

Definition at line 21 of XPathDebug.cpp :
 21 { return std::move(queryDom); }


GetQueryDuration Member Function

std::chrono::nanoseconds sngxml::xpath::XPathDebugInfo::GetQueryDuration() const

Definition at line 23 of XPathDebug.cpp :
 23 { return queryDuration; }


Init Member Function

void sngxml::xpath::XPathDebugInfo::Init() static

Definition at line 42 of XPathDebug.cpp :
 43 {
 44     instance.reset(new XPathDebugInfo());
 45 }


Declaration at line 13 of XPathDebug.cpp


Instance Member Function

XPathDebugInfo & sngxml::xpath::XPathDebugInfo::Instance() static

Definition at line 52 of XPathDebug.cpp :
 53 {
 54     return *instance;
 55 }


Declaration at line 15 of XPathDebug.cpp


SetDebugParsing Member Function

void sngxml::xpath::XPathDebugInfo::SetDebugParsing()

Definition at line 17 of XPathDebug.cpp :
 17 { debugParsing = true; }


SetDebugQuery Member Function

void sngxml::xpath::XPathDebugInfo::SetDebugQuery()

Definition at line 19 of XPathDebug.cpp :
 19 { debugQuery = true; }


SetExecuteDuration Member Function

void sngxml::xpath::XPathDebugInfo::SetExecuteDuration(std::chrono::nanoseconds duration)

Definition at line 24 of XPathDebug.cpp :
 24 { executeDuration = duration; }


SetQueryDom Member Function

void sngxml::xpath::XPathDebugInfo::SetQueryDom(std::unique_ptr<Node >&& queryDom_)

Definition at line 20 of XPathDebug.cpp :
 20 { queryDom = std::move(queryDom_); }


SetQueryDuration Member Function

void sngxml::xpath::XPathDebugInfo::SetQueryDuration(std::chrono::nanoseconds duration)

Definition at line 22 of XPathDebug.cpp :
 22 { queryDuration = duration; }


top | up | prev | next