Xerces-C++: DOMXPathResult.hpp Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22#if !defined(XERCESC_INCLUDE_GUARD_DOMXPATHRESULT_HPP)

23#define XERCESC_INCLUDE_GUARD_DOMXPATHRESULT_HPP

24

26

28

33

47{

48

49protected:

50

51

52

57

58private:

59

60

61

67

68public:

69

70

71

80

81

82

83

164

165 ANY_TYPE = 0,

166 NUMBER_TYPE = 1,

167 STRING_TYPE = 2,

168 BOOLEAN_TYPE = 3,

169 UNORDERED_NODE_ITERATOR_TYPE = 4,

170 ORDERED_NODE_ITERATOR_TYPE = 5,

171 UNORDERED_NODE_SNAPSHOT_TYPE = 6,

172 ORDERED_NODE_SNAPSHOT_TYPE = 7,

173 ANY_UNORDERED_NODE_TYPE = 8,

174 FIRST_ORDERED_NODE_TYPE = 9,

175

176 FIRST_RESULT_TYPE = 100,

177 ITERATOR_RESULT_TYPE = 101,

178 SNAPSHOT_RESULT_TYPE = 102

181

182

183

184

185

188

195

202

211

223

235

250

262

278

292

305

320

331

333

334

335

336

347};

348

350

351#endif

#define CDOM_EXPORT

Definition XercesDefs.hpp:166

#define XERCES_CPP_NAMESPACE_BEGIN

Definition XercesDefs.hpp:112

#define XERCES_CPP_NAMESPACE_END

Definition XercesDefs.hpp:113

size_t XMLSize_t

Definition Xerces_autoconf_config.hpp:112

char16_t XMLCh

Definition Xerces_autoconf_config.hpp:120

The DOMNode interface is the primary datatype for the entire Document Object Model.

Definition DOMNode.hpp:139

The DOMTypeInfo interface represent a type used by DOMElement or DOMAttr nodes, specified in the sche...

Definition DOMTypeInfo.hpp:36

The DOMXPathExpression interface represents a parsed and resolved XPath expression.

Definition DOMXPathExpression.hpp:37

The DOMXPathNSResolver interface permit prefix strings in the expression to be properly bound to name...

Definition DOMXPathNSResolver.hpp:37

The DOMXPathResult interface represents the result of the evaluation of an XPath 1....

Definition DOMXPathResult.hpp:47

virtual const DOMTypeInfo * getTypeInfo() const =0

Returns the DOM type info of the current result node or value (XPath 2 only).

virtual double getNumberValue() const =0

Returns the number value of this result.

virtual XMLSize_t getSnapshotLength() const =0

The number of items in the result snapshot.

virtual const XMLCh * getStringValue() const =0

Returns the string value of this result.

virtual void release()=0

Called to indicate that this DOMXPathResult is no longer in use and that the implementation may relin...

virtual bool getInvalidIteratorState() const =0

Signifies that the iterator has become invalid.

virtual bool iterateNext()=0

Iterates and returns true if the current result is the next item from the sequence or false if there ...

virtual ResultType getResultType() const =0

Returns the result type of this result.

virtual DOMNode * getNodeValue() const =0

Returns the node value of this result.

DOMXPathResult()

Definition DOMXPathResult.hpp:55

ResultType

Definition DOMXPathResult.hpp:163

virtual bool isNode() const =0

Returns true if the result has a current result and the value is a node (XPath 2 only).

virtual bool getBooleanValue() const =0

Returns the boolean value of this result.

virtual ~DOMXPathResult()

Destructor.

Definition DOMXPathResult.hpp:78

virtual bool snapshotItem(XMLSize_t index)=0

Sets the current result to the indexth item in the snapshot collection.

virtual int getIntegerValue() const =0

Returns the integer value of this result (XPath 2 only).