top | up | prev | next

xpath Namespace

Classes

class AxisMap
struct ElementAndDocumentStringValueComputer
class NodeSelectionOp
class XPathAddExpr
class XPathAndExpr
class XPathAnyNodeTest
class XPathBinaryExpr
class XPathBoolean
class XPathBooleanFunction
class XPathCombineStepExpr
class XPathCommentNodeTest
class XPathContext
class XPathCountFunction
class XPathDebugInfo
class XPathDivExpr
class XPathEqualExpr
class XPathExpr
class XPathFilterExpr
class XPathFunction
class XPathFunctionCall
class XPathFunctionLibrary
class XPathGreaterExpr
class XPathGreaterOrEqualExpr
class XPathLastFunction
class XPathLessExpr
class XPathLessOrEqualExpr
class XPathLiteral
class XPathLocationStepExpr
class XPathModExpr
class XPathMulExpr
class XPathNameTest
class XPathNodeSet
class XPathNodeTestExpr
class XPathNotEqualExpr
class XPathNumber
class XPathNumberExpr
class XPathNumberFunction
class XPathObject
class XPathOrExpr
class XPathPILiteralTest
class XPathPINodeTest
class XPathPositionFunction
class XPathPrefixTest
class XPathPrincipalNodeTest
class XPathRootNodeExpr
class XPathString
class XPathStringFunction
class XPathSubExpr
class XPathTextNodeTest
class XPathUnaryExpr
class XPathUnaryMinusExpr
class XPathUnionExpr
class XPathVariableReference

Functions

std::unique_ptr<XPathObject> Compare(XPathContext& context, XPathObject* left, XPathObject* right, Operator comparisonOp)
std::unique_ptr<XPathObject> CompareEquality(XPathContext& context, XPathObject* left, XPathObject* right)
std::unique_ptr<XPathObject> CompareNodeSets(XPathContext& context, XPathObject* left, XPathObject* right, Operator comparisonOp)
void Done()
void DoneDebug()
void DoneFunction()
std::unique_ptr<XPathObject> Evaluate(const std::u32string& xpathExpression, Document* document)
std::unique_ptr<XPathObject> Evaluate(const std::u32string& xpathExpression, Node* node)
Axis GetAxis(const std::u32string& axisName)
XPathFunction* GetXPathLibraryFunction(const std::u32string& functionName)
std::unique_ptr<Node> GetXPathQueryDom()
void Init()
void InitDebug()
void InitFunction()
std::u32string ParseDQString(const std::string& fileName, const Token& token)
std::u32string ParseSQString(const std::string& fileName, const Token& token)
void SetXPathDebugParsing()
void SetXPathDebugQuery()
void SetXPathExecuteDuration(std::chrono::nanoseconds duration)
void SetXPathQueryDom(std::unique_ptr<Node>&& queryDom)
void SetXPathQueryDuration(std::chrono::nanoseconds duration)
std::u32string StringValue(Node* node)
bool XPathDebugParsing()
bool XPathDebugQuery()
std::chrono::nanoseconds XPathExecuteDuration()
std::chrono::nanoseconds XPathQueryDuration()

Enumerations

enum class Operator
enum class XPathObjectType

Variables

AxisMap axisMap

Function Details

Compare Function

std::unique_ptr<XPathObject > sngxml::xpath::Compare(XPathContext & context, XPathObject * left, XPathObject * right, Operator comparisonOp)

Definition at line 744 of XPathExpr.cpp

Calls: sngxml::xpath::XPathFunction::Evaluate , sngxml::xpath::XPathObject::Type

Called by: sngxml::xpath::XPathGreaterExpr::Evaluate , sngxml::xpath::XPathGreaterOrEqualExpr::Evaluate , sngxml::xpath::XPathLessExpr::Evaluate , sngxml::xpath::XPathLessOrEqualExpr::Evaluate


CompareEquality Function

std::unique_ptr<XPathObject > sngxml::xpath::CompareEquality(XPathContext & context, XPathObject * left, XPathObject * right)

Definition at line 627 of XPathExpr.cpp

Calls: sngxml::xpath::XPathFunction::Evaluate , sngxml::xpath::XPathObject::Type

Called by: sngxml::xpath::XPathEqualExpr::Evaluate , sngxml::xpath::XPathNotEqualExpr::Evaluate


CompareNodeSets Function

std::unique_ptr<XPathObject > sngxml::xpath::CompareNodeSets(XPathContext & context, XPathObject * left, XPathObject * right, Operator comparisonOp)

Definition at line 111 of XPathExpr.cpp

Calls: sngxml::xpath::XPathFunction::Evaluate , sngxml::xpath::XPathNodeSet::Length , sngxml::xpath::XPathObject::Type


Done Function

void sngxml::xpath::Done()

Definition at line 18 of InitDone.cpp
Declaration at line 13 of InitDone.hpp


DoneDebug Function

void sngxml::xpath::DoneDebug()

Definition at line 112 of XPathDebug.cpp
Declaration at line 25 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::Done


DoneFunction Function

void sngxml::xpath::DoneFunction()

Definition at line 390 of XPathFunction.cpp
Declaration at line 34 of XPathFunction.hpp

Calls: sngxml::xpath::XPathFunctionLibrary::Done


Evaluate Function

std::unique_ptr<XPathObject > sngxml::xpath::Evaluate(const std::u32string& xpathExpression, Document * document)

Definition at line 46 of XPathEvaluate.cpp
Declaration at line 13 of XPathEvaluate.hpp


Evaluate Function

std::unique_ptr<XPathObject > sngxml::xpath::Evaluate(const std::u32string& xpathExpression, Node * node)

Definition at line 18 of XPathEvaluate.cpp
Declaration at line 12 of XPathEvaluate.hpp

Calls: XPathParser::Parse , soulng::lexer::Lexer::SetLog


GetAxis Function

Axis sngxml::xpath::GetAxis(const std::u32string& axisName)

Definition at line 1409 of XPathExpr.cpp
Declaration at line 224 of XPathExpr.hpp

Calls: sngxml::xpath::AxisMap::GetAxis


GetXPathLibraryFunction Function

XPathFunction * sngxml::xpath::GetXPathLibraryFunction(const std::u32string& functionName)

Definition at line 380 of XPathFunction.cpp
Declaration at line 31 of XPathFunction.hpp

Calls: sngxml::xpath::XPathFunctionLibrary::GetFunction , sngxml::xpath::XPathFunctionLibrary::Instance

Called by: sngxml::xpath::XPathAddExpr::Evaluate , sngxml::xpath::XPathAndExpr::Evaluate , sngxml::xpath::XPathDivExpr::Evaluate , sngxml::xpath::XPathFilterExpr::Evaluate , sngxml::xpath::XPathFunctionCall::Evaluate , sngxml::xpath::XPathLocationStepExpr::Evaluate , sngxml::xpath::XPathModExpr::Evaluate , sngxml::xpath::XPathMulExpr::Evaluate , sngxml::xpath::XPathNumberFunction::Evaluate , sngxml::xpath::XPathOrExpr::Evaluate , sngxml::xpath::XPathSubExpr::Evaluate , sngxml::xpath::XPathUnaryMinusExpr::Evaluate


GetXPathQueryDom Function

std::unique_ptr<Node > sngxml::xpath::GetXPathQueryDom()

Definition at line 82 of XPathDebug.cpp
Declaration at line 19 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::GetQueryDom , sngxml::xpath::XPathDebugInfo::Instance


Init Function

void sngxml::xpath::Init()

Definition at line 12 of InitDone.cpp
Declaration at line 12 of InitDone.hpp


InitDebug Function

void sngxml::xpath::InitDebug()

Definition at line 107 of XPathDebug.cpp
Declaration at line 24 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::Init


InitFunction Function

void sngxml::xpath::InitFunction()

Definition at line 385 of XPathFunction.cpp
Declaration at line 33 of XPathFunction.hpp

Calls: sngxml::xpath::XPathFunctionLibrary::Init


ParseDQString Function

std::u32string sngxml::xpath::ParseDQString(const std::string& fileName, const Token & token)

Definition at line 11 of XPathTokenValueParsers.cpp
Declaration at line 13 of XPathTokenValueParsers.hpp

Calls: soulng::lexer::Lexeme::ToString

Called by: XPathParser::Literal


ParseSQString Function

std::u32string sngxml::xpath::ParseSQString(const std::string& fileName, const Token & token)

Definition at line 36 of XPathTokenValueParsers.cpp
Declaration at line 14 of XPathTokenValueParsers.hpp

Calls: soulng::lexer::Lexeme::ToString

Called by: XPathParser::Literal


SetXPathDebugParsing Function

void sngxml::xpath::SetXPathDebugParsing()

Definition at line 62 of XPathDebug.cpp
Declaration at line 15 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::Instance , sngxml::xpath::XPathDebugInfo::SetDebugParsing


SetXPathDebugQuery Function

void sngxml::xpath::SetXPathDebugQuery()

Definition at line 72 of XPathDebug.cpp
Declaration at line 17 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::Instance , sngxml::xpath::XPathDebugInfo::SetDebugQuery


SetXPathExecuteDuration Function

void sngxml::xpath::SetXPathExecuteDuration(std::chrono::nanoseconds duration)

Definition at line 97 of XPathDebug.cpp
Declaration at line 22 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::Instance , sngxml::xpath::XPathDebugInfo::SetExecuteDuration


SetXPathQueryDom Function

void sngxml::xpath::SetXPathQueryDom(std::unique_ptr<Node >&& queryDom)

Definition at line 77 of XPathDebug.cpp
Declaration at line 18 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::Instance , sngxml::xpath::XPathDebugInfo::SetQueryDom


SetXPathQueryDuration Function

void sngxml::xpath::SetXPathQueryDuration(std::chrono::nanoseconds duration)

Definition at line 87 of XPathDebug.cpp
Declaration at line 20 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::Instance , sngxml::xpath::XPathDebugInfo::SetQueryDuration


StringValue Function

std::u32string sngxml::xpath::StringValue(Node * node)

Definition at line 28 of XPathFunction.cpp
Declaration at line 14 of XPathFunction.hpp

Calls: sngxml::dom::Attr::Value , sngxml::dom::CharacterData::Data , sngxml::dom::Node::Accept , sngxml::dom::Node::GetNodeType , sngxml::dom::ProcessingInstruction::Data

Called by: sngxml::xpath::XPathStringFunction::Evaluate


XPathDebugParsing Function

bool sngxml::xpath::XPathDebugParsing()

Definition at line 57 of XPathDebug.cpp
Declaration at line 14 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::DebugParsing , sngxml::xpath::XPathDebugInfo::Instance


XPathDebugQuery Function

bool sngxml::xpath::XPathDebugQuery()

Definition at line 67 of XPathDebug.cpp
Declaration at line 16 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::DebugQuery , sngxml::xpath::XPathDebugInfo::Instance


XPathExecuteDuration Function

std::chrono::nanoseconds sngxml::xpath::XPathExecuteDuration()

Definition at line 102 of XPathDebug.cpp
Declaration at line 23 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::GetExecuteDuration , sngxml::xpath::XPathDebugInfo::Instance


XPathQueryDuration Function

std::chrono::nanoseconds sngxml::xpath::XPathQueryDuration()

Definition at line 92 of XPathDebug.cpp
Declaration at line 21 of XPathDebug.hpp

Calls: sngxml::xpath::XPathDebugInfo::GetQueryDuration , sngxml::xpath::XPathDebugInfo::Instance


top | up | prev | next