You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2003/02/12 23:57:50 UTC

cvs commit: xml-xalan/c/src/XalanDOM XalanAttr.hpp XalanCDATASection.hpp XalanCharacterData.hpp XalanComment.hpp XalanDocument.hpp XalanDocumentFragment.hpp XalanDocumentType.hpp XalanElement.hpp XalanEntity.hpp XalanEntityReference.hpp XalanNode.hpp XalanNotation.hpp XalanProcessingInstruction.hpp XalanText.hpp

dbertoni    2003/02/12 14:57:50

  Modified:    c/src/XalanDOM XalanAttr.hpp XalanCDATASection.hpp
                        XalanCharacterData.hpp XalanComment.hpp
                        XalanDocument.hpp XalanDocumentFragment.hpp
                        XalanDocumentType.hpp XalanElement.hpp
                        XalanEntity.hpp XalanEntityReference.hpp
                        XalanNode.hpp XalanNotation.hpp
                        XalanProcessingInstruction.hpp XalanText.hpp
  Log:
  Fixed inconsistency with return type of getIndex().
  
  Revision  Changes    Path
  1.7       +1 -5      xml-xalan/c/src/XalanDOM/XalanAttr.hpp
  
  Index: XalanAttr.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanAttr.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanAttr.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanAttr.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -73,11 +73,7 @@
   
   
   /*
  - * <meta name="usage" content="experimental"/>
  - *
    * Base class for the DOM Attr interface.
  - *
  - * This class is experimental and subject to change!!
    */
   
   class XALAN_DOM_EXPORT XalanAttr : public XalanNode
  @@ -437,7 +433,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.6       +1 -1      xml-xalan/c/src/XalanDOM/XalanCDATASection.hpp
  
  Index: XalanCDATASection.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanCDATASection.hpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XalanCDATASection.hpp	20 Nov 2002 02:28:09 -0000	1.5
  +++ XalanCDATASection.hpp	12 Feb 2003 22:57:49 -0000	1.6
  @@ -432,7 +432,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanCharacterData.hpp
  
  Index: XalanCharacterData.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanCharacterData.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanCharacterData.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanCharacterData.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -431,7 +431,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanComment.hpp
  
  Index: XalanComment.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanComment.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanComment.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanComment.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -432,7 +432,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.9       +1 -1      xml-xalan/c/src/XalanDOM/XalanDocument.hpp
  
  Index: XalanDocument.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanDocument.hpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XalanDocument.hpp	20 Nov 2002 02:28:09 -0000	1.8
  +++ XalanDocument.hpp	12 Feb 2003 22:57:49 -0000	1.9
  @@ -446,7 +446,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanDocumentFragment.hpp
  
  Index: XalanDocumentFragment.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanDocumentFragment.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanDocumentFragment.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanDocumentFragment.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -172,7 +172,7 @@
   	virtual bool
   	isIndexed() const = 0;
   
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   protected:
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanDocumentType.hpp
  
  Index: XalanDocumentType.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanDocumentType.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanDocumentType.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanDocumentType.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -433,7 +433,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanElement.hpp
  
  Index: XalanElement.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanElement.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanElement.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanElement.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -436,7 +436,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanEntity.hpp
  
  Index: XalanEntity.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanEntity.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanEntity.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanEntity.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -430,7 +430,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanEntityReference.hpp
  
  Index: XalanEntityReference.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanEntityReference.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanEntityReference.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanEntityReference.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -429,7 +429,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.9       +6 -1      xml-xalan/c/src/XalanDOM/XalanNode.hpp
  
  Index: XalanNode.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanNode.hpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XalanNode.hpp	21 Nov 2002 00:27:40 -0000	1.8
  +++ XalanNode.hpp	12 Feb 2003 22:57:49 -0000	1.9
  @@ -108,6 +108,11 @@
   		NOTATION_NODE				= 12
   	};
   
  +	// On most platforms, this is a 32-bit value, so that
  +	// seems adequate.  It could be increased on 64-bit
  +	// platforms, if need be.
  +	typedef unsigned int	IndexType;
  +
   	virtual const XalanDOMString&
   	getNodeName() const = 0;
   
  @@ -450,7 +455,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanNotation.hpp
  
  Index: XalanNotation.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanNotation.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanNotation.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanNotation.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -429,7 +429,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanProcessingInstruction.hpp
  
  Index: XalanProcessingInstruction.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanProcessingInstruction.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanProcessingInstruction.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanProcessingInstruction.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -429,7 +429,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  
  1.7       +1 -1      xml-xalan/c/src/XalanDOM/XalanText.hpp
  
  Index: XalanText.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanText.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanText.hpp	20 Nov 2002 02:28:09 -0000	1.6
  +++ XalanText.hpp	12 Feb 2003 22:57:49 -0000	1.7
  @@ -432,7 +432,7 @@
   	 *
   	 * @return The index value, or 0 if the node is not indexed.
   	 */
  -	virtual unsigned long
  +	virtual IndexType
   	getIndex() const = 0;
   
   	//@}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org