Warning, file /include/xercesc/dom/impl/DOMDeepNodeListImpl.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #if !defined(XERCESC_INCLUDE_GUARD_DOMDEEPNODELISTIMPL_HPP)
0023 #define XERCESC_INCLUDE_GUARD_DOMDEEPNODELISTIMPL_HPP
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034 #include <xercesc/util/XercesDefs.hpp>
0035 #include <xercesc/dom/DOMNodeList.hpp>
0036
0037 XERCES_CPP_NAMESPACE_BEGIN
0038
0039
0040 class DOMNode;
0041
0042
0043 class CDOM_EXPORT DOMDeepNodeListImpl: public DOMNodeList {
0044 protected:
0045 const DOMNode* fRootNode;
0046 const XMLCh* fTagName;
0047 bool fMatchAll;
0048 int fChanges;
0049 DOMNode* fCurrentNode;
0050 XMLSize_t fCurrentIndexPlus1;
0051
0052
0053 const XMLCh* fNamespaceURI;
0054 bool fMatchAllURI;
0055 bool fMatchURIandTagname;
0056
0057 public:
0058 DOMDeepNodeListImpl(const DOMNode *rootNode, const XMLCh *tagName);
0059 DOMDeepNodeListImpl(const DOMNode *rootNode,
0060 const XMLCh *namespaceURI,
0061 const XMLCh *localName);
0062 virtual ~DOMDeepNodeListImpl();
0063 virtual XMLSize_t getLength() const;
0064 virtual DOMNode* item(XMLSize_t index) const;
0065 DOMNode* cacheItem(XMLSize_t index);
0066
0067 protected:
0068 DOMNode* nextMatchingElementAfter(DOMNode *current);
0069
0070 private:
0071
0072
0073
0074 DOMDeepNodeListImpl(const DOMDeepNodeListImpl &);
0075 DOMDeepNodeListImpl & operator = (const DOMDeepNodeListImpl &);
0076 };
0077
0078 XERCES_CPP_NAMESPACE_END
0079
0080 #endif