You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/09/26 19:24:16 UTC
cvs commit: xml-xerces/c/src/xercesc/dom DOMNode.hpp
tng 2002/09/26 10:24:16
Modified: c/src/xercesc/dom DOMNode.hpp
Log:
DOM L3: Add const to isSameNode, isEqualNode, compareTreePosition. Patch from Gareth Reakes
Revision Changes Path
1.12 +4 -4 xml-xerces/c/src/xercesc/dom/DOMNode.hpp
Index: DOMNode.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMNode.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- DOMNode.hpp 22 Aug 2002 15:04:57 -0000 1.11
+++ DOMNode.hpp 26 Sep 2002 17:24:16 -0000 1.12
@@ -665,7 +665,7 @@
* <code>false</code> otherwise.
* @since DOM Level 3
*/
- virtual bool isSameNode(const DOMNode* other) = 0;
+ virtual bool isSameNode(const DOMNode* other) const = 0;
/**
* Tests whether two nodes are equal.
@@ -709,7 +709,7 @@
* <code>true</code> otherwise <code>false</code>.
* @since DOM Level 3
*/
- virtual bool isEqualNode(const DOMNode* arg) = 0;
+ virtual bool isEqualNode(const DOMNode* arg) const = 0;
/**
@@ -791,7 +791,7 @@
* node.
* @since DOM Level 3
*/
- virtual short compareTreePosition(DOMNode* other) = 0;
+ virtual short compareTreePosition(const DOMNode* other) const = 0;
/**
* This attribute returns the text content of this node and its
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org