top | up | prev | next

XPathFunction Abstract Class

Definition at line 16 of XPathFunction.hpp

Constructors

XPathFunction(const std::u32string& name_, int minArity_, int maxArity_)

Member Functions

std::unique_ptr<XPathObject> Evaluate(XPathContext& context, std::vector<XPathObject*>& arguments) pure virtual
int MaxArity() const
int MinArity() const
const std::u32string& Name() const

Member Variables

int maxArity
int minArity
std::u32string name

Constructor Details

XPathFunction Constructor

sngxml::xpath::XPathFunction::XPathFunction(const std::u32string& name_, int minArity_, int maxArity_)

Definition at line 68 of XPathFunction.cpp
Declaration at line 19 of XPathFunction.hpp


Member Function Details

Evaluate Member Function

std::unique_ptr<XPathObject > sngxml::xpath::XPathFunction::Evaluate(XPathContext & context, std::vector<XPathObject *>& arguments) pure virtual

Definition at line 21 of XPathFunction.hpp

Derived class overrides: sngxml::xpath::XPathBooleanFunction::Evaluate , sngxml::xpath::XPathCountFunction::Evaluate , sngxml::xpath::XPathLastFunction::Evaluate , sngxml::xpath::XPathNumberFunction::Evaluate , sngxml::xpath::XPathPositionFunction::Evaluate , sngxml::xpath::XPathStringFunction::Evaluate

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


MaxArity Member Function

int sngxml::xpath::XPathFunction::MaxArity() const

Definition at line 24 of XPathFunction.hpp

Called by: sngxml::xpath::XPathFunctionCall::Evaluate


MinArity Member Function

int sngxml::xpath::XPathFunction::MinArity() const

Definition at line 23 of XPathFunction.hpp

Called by: sngxml::xpath::XPathFunctionCall::Evaluate


Name Member Function

const std::u32string& sngxml::xpath::XPathFunction::Name() const

Definition at line 22 of XPathFunction.hpp


top | up | prev | next