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/05/27 20:10:52 UTC
cvs commit: xml-xerces/c/src/xercesc/dom DOMCharacterData.hpp DOMNamedNodeMap.hpp DOMNodeList.hpp DOMRange.hpp DOMText.hpp
tng 02/05/27 11:10:52
Modified: c/src/xercesc/dom DOMCharacterData.hpp DOMNamedNodeMap.hpp
DOMNodeList.hpp DOMRange.hpp DOMText.hpp
Log:
Use XMLSize_t instead of DOMSize_t for consistency.
Revision Changes Path
1.3 +9 -9 xml-xerces/c/src/xercesc/dom/DOMCharacterData.hpp
Index: DOMCharacterData.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMCharacterData.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOMCharacterData.hpp 21 May 2002 20:29:08 -0000 1.2
+++ DOMCharacterData.hpp 27 May 2002 18:10:51 -0000 1.3
@@ -55,7 +55,7 @@
*/
/*
- * $Id: DOMCharacterData.hpp,v 1.2 2002/05/21 20:29:08 tng Exp $
+ * $Id: DOMCharacterData.hpp,v 1.3 2002/05/27 18:10:51 tng Exp $
*/
#ifndef DOMCharacterData_HEADER_GUARD_
@@ -117,7 +117,7 @@
* This may have the value
* zero, i.e., <code>CharacterData</code> nodes may be empty.
*/
- virtual DOMSize_t getLength() const = 0;
+ virtual XMLSize_t getLength() const = 0;
/**
* Extracts a range of data from the node.
*
@@ -131,8 +131,8 @@
* than the number of characters in <code>data</code>, or if the
* specified <code>count</code> is negative.
*/
- virtual const XMLCh * substringData(DOMSize_t offset,
- DOMSize_t count) const = 0;
+ virtual const XMLCh * substringData(XMLSize_t offset,
+ XMLSize_t count) const = 0;
//@}
/** @name Functions that set or change data. */
//@{
@@ -156,7 +156,7 @@
* than the number of characters in <code>data</code>.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
*/
- virtual void insertData(DOMSize_t offset, const XMLCh *arg) = 0;
+ virtual void insertData(XMLSize_t offset, const XMLCh *arg) = 0;
/**
* Remove a range of characters from the node.
*
@@ -173,8 +173,8 @@
* specified <code>count</code> is negative.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
*/
- virtual void deleteData(DOMSize_t offset,
- DOMSize_t count) = 0;
+ virtual void deleteData(XMLSize_t offset,
+ XMLSize_t count) = 0;
/**
* Replace the characters starting at the specified character offset with
* the specified string.
@@ -193,8 +193,8 @@
* specified <code>count</code> is negative.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
*/
- virtual void replaceData(DOMSize_t offset,
- DOMSize_t count,
+ virtual void replaceData(XMLSize_t offset,
+ XMLSize_t count,
const XMLCh *arg) = 0;
/**
1.3 +3 -3 xml-xerces/c/src/xercesc/dom/DOMNamedNodeMap.hpp
Index: DOMNamedNodeMap.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMNamedNodeMap.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOMNamedNodeMap.hpp 21 May 2002 20:29:08 -0000 1.2
+++ DOMNamedNodeMap.hpp 27 May 2002 18:10:51 -0000 1.3
@@ -59,7 +59,7 @@
*/
/*
- * $Id: DOMNamedNodeMap.hpp,v 1.2 2002/05/21 20:29:08 tng Exp $
+ * $Id: DOMNamedNodeMap.hpp,v 1.3 2002/05/27 18:10:51 tng Exp $
*/
#include <xercesc/util/XercesDefs.hpp>
@@ -137,7 +137,7 @@
* <code>NamedNodeMap</code>, or <code>null</code> if that is not a valid
* index.
*/
- virtual DOMNode *item(DOMSize_t index) const = 0;
+ virtual DOMNode *item(XMLSize_t index) const = 0;
/**
* Retrieves a node specified by name.
@@ -155,7 +155,7 @@
* The range of valid child node indices is
* 0 to <code>length-1</code> inclusive.
*/
- virtual DOMSize_t getLength() const = 0;
+ virtual XMLSize_t getLength() const = 0;
//@}
/** @name Functions to change the node collection. */
1.3 +3 -3 xml-xerces/c/src/xercesc/dom/DOMNodeList.hpp
Index: DOMNodeList.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMNodeList.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOMNodeList.hpp 21 May 2002 20:29:08 -0000 1.2
+++ DOMNodeList.hpp 27 May 2002 18:10:51 -0000 1.3
@@ -58,7 +58,7 @@
*/
/*
- * $Id: DOMNodeList.hpp,v 1.2 2002/05/21 20:29:08 tng Exp $
+ * $Id: DOMNodeList.hpp,v 1.3 2002/05/27 18:10:51 tng Exp $
*/
#include <xercesc/util/XercesDefs.hpp>
@@ -105,14 +105,14 @@
* <code>NodeList</code>, or <code>null</code> if that is not a valid
* index.
*/
- virtual DOMNode *item(DOMSize_t index) = 0;
+ virtual DOMNode *item(XMLSize_t index) = 0;
/**
* Returns the number of nodes in the list.
*
* The range of valid child node indices is 0 to <code>length-1</code> inclusive.
*/
- virtual DOMSize_t getLength() = 0;
+ virtual XMLSize_t getLength() = 0;
//@}
};
1.3 +5 -5 xml-xerces/c/src/xercesc/dom/DOMRange.hpp
Index: DOMRange.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMRange.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOMRange.hpp 21 May 2002 20:29:08 -0000 1.2
+++ DOMRange.hpp 27 May 2002 18:10:51 -0000 1.3
@@ -58,7 +58,7 @@
*/
/*
- * $Id: DOMRange.hpp,v 1.2 2002/05/21 20:29:08 tng Exp $
+ * $Id: DOMRange.hpp,v 1.3 2002/05/27 18:10:51 tng Exp $
*/
#include <xercesc/util/XercesDefs.hpp>
@@ -85,15 +85,15 @@
//getter functions
virtual DOMNode* getStartContainer() const = 0;
- virtual DOMSize_t getStartOffset() const = 0;
+ virtual XMLSize_t getStartOffset() const = 0;
virtual DOMNode* getEndContainer() const = 0;
- virtual DOMSize_t getEndOffset() const = 0;
+ virtual XMLSize_t getEndOffset() const = 0;
virtual bool getCollapsed() const = 0;
virtual const DOMNode* getCommonAncestorContainer() const = 0;
//setter functions
- virtual void setStart(const DOMNode *parent, DOMSize_t offset) = 0;
- virtual void setEnd(const DOMNode *parent, DOMSize_t offset) = 0;
+ virtual void setStart(const DOMNode *parent, XMLSize_t offset) = 0;
+ virtual void setEnd(const DOMNode *parent, XMLSize_t offset) = 0;
virtual void setStartBefore(const DOMNode *refNode) = 0;
virtual void setStartAfter(const DOMNode *refNode) = 0;
1.3 +2 -2 xml-xerces/c/src/xercesc/dom/DOMText.hpp
Index: DOMText.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMText.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DOMText.hpp 21 May 2002 20:29:08 -0000 1.2
+++ DOMText.hpp 27 May 2002 18:10:51 -0000 1.3
@@ -58,7 +58,7 @@
*/
/*
- * $Id: DOMText.hpp,v 1.2 2002/05/21 20:29:08 tng Exp $
+ * $Id: DOMText.hpp,v 1.3 2002/05/27 18:10:51 tng Exp $
*/
#include <xercesc/util/XercesDefs.hpp>
@@ -129,7 +129,7 @@
* than the number of 16-bit units in <code>data</code>.
* <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
*/
- virtual DOMText *splitText(DOMSize_t offset) = 0;
+ virtual DOMText *splitText(XMLSize_t offset) = 0;
//@}
/** @name Non-standard (not defined by the DOM specification) functions. */
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org