dbertoni 2003/02/12 15:04:26
Modified: c/src/XalanSourceTree XalanSourceTreeAttr.cpp
XalanSourceTreeAttr.hpp XalanSourceTreeAttrNS.cpp
XalanSourceTreeAttrNS.hpp
XalanSourceTreeAttributeAllocator.cpp
XalanSourceTreeAttributeAllocator.hpp
XalanSourceTreeAttributeNSAllocator.cpp
XalanSourceTreeAttributeNSAllocator.hpp
XalanSourceTreeComment.cpp
XalanSourceTreeComment.hpp
XalanSourceTreeCommentAllocator.cpp
XalanSourceTreeCommentAllocator.hpp
XalanSourceTreeDocument.cpp
XalanSourceTreeDocument.hpp
XalanSourceTreeDocumentFragment.cpp
XalanSourceTreeDocumentFragment.hpp
XalanSourceTreeElement.cpp
XalanSourceTreeElement.hpp
XalanSourceTreeElementA.cpp
XalanSourceTreeElementA.hpp
XalanSourceTreeElementAAllocator.cpp
XalanSourceTreeElementAAllocator.hpp
XalanSourceTreeElementANS.cpp
XalanSourceTreeElementANS.hpp
XalanSourceTreeElementANSAllocator.cpp
XalanSourceTreeElementANSAllocator.hpp
XalanSourceTreeElementNA.cpp
XalanSourceTreeElementNA.hpp
XalanSourceTreeElementNAAllocator.cpp
XalanSourceTreeElementNAAllocator.hpp
XalanSourceTreeElementNANS.cpp
XalanSourceTreeElementNANS.hpp
XalanSourceTreeElementNANSAllocator.cpp
XalanSourceTreeElementNANSAllocator.hpp
XalanSourceTreeProcessingInstruction.cpp
XalanSourceTreeProcessingInstruction.hpp
XalanSourceTreeProcessingInstructionAllocator.cpp
XalanSourceTreeProcessingInstructionAllocator.hpp
XalanSourceTreeText.cpp XalanSourceTreeText.hpp
XalanSourceTreeTextAllocator.cpp
XalanSourceTreeTextAllocator.hpp
XalanSourceTreeTextIWS.cpp
XalanSourceTreeTextIWS.hpp
XalanSourceTreeTextIWSAllocator.cpp
XalanSourceTreeTextIWSAllocator.hpp
Log:
Fixed inconsistency with return type of getIndex().
Revision Changes Path
1.6 +2 -2 xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttr.cpp
Index: XalanSourceTreeAttr.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttr.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XalanSourceTreeAttr.cpp 22 Nov 2002 02:18:32 -0000 1.5
+++ XalanSourceTreeAttr.cpp 12 Feb 2003 23:04:23 -0000 1.6
@@ -82,7 +82,7 @@
const XalanDOMString& theName,
const XalanDOMString& theValue,
XalanSourceTreeElement* theOwnerElement,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanAttr(),
m_name(theName),
m_value(theValue),
@@ -341,7 +341,7 @@
-unsigned long
+XalanSourceTreeAttr::IndexType
XalanSourceTreeAttr::getIndex() const
{
return m_index;
1.7 +4 -4 xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttr.hpp
Index: XalanSourceTreeAttr.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttr.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- XalanSourceTreeAttr.hpp 22 Nov 2002 02:18:32 -0000 1.6
+++ XalanSourceTreeAttr.hpp 12 Feb 2003 23:04:23 -0000 1.7
@@ -105,7 +105,7 @@
const XalanDOMString& theName,
const XalanDOMString& theValue,
XalanSourceTreeElement* theOwnerElement = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeAttr();
@@ -458,7 +458,7 @@
*
* @return The index value, or 0 if the node is not indexed.
*/
- virtual unsigned long
+ virtual IndexType
getIndex() const;
//@}
@@ -528,7 +528,7 @@
}
void
- setIndex(unsigned long theIndex)
+ setIndex(IndexType theIndex)
{
m_index = theIndex;
}
@@ -556,7 +556,7 @@
XalanSourceTreeElement* m_ownerElement;
- unsigned long m_index;
+ IndexType m_index;
};
1.3 +1 -1 xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttrNS.cpp
Index: XalanSourceTreeAttrNS.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttrNS.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XalanSourceTreeAttrNS.cpp 22 Nov 2002 02:18:32 -0000 1.2
+++ XalanSourceTreeAttrNS.cpp 12 Feb 2003 23:04:23 -0000 1.3
@@ -73,7 +73,7 @@
const XalanDOMString& thePrefix,
const XalanDOMString& theValue,
XalanSourceTreeElement* theOwnerElement,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanSourceTreeAttr(
theName,
theValue,
1.4 +2 -2 xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttrNS.hpp
Index: XalanSourceTreeAttrNS.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttrNS.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeAttrNS.hpp 22 Nov 2002 02:18:32 -0000 1.3
+++ XalanSourceTreeAttrNS.hpp 12 Feb 2003 23:04:23 -0000 1.4
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -101,7 +101,7 @@
const XalanDOMString& thePrefix,
const XalanDOMString& theValue,
XalanSourceTreeElement* theOwnerElement = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeAttrNS();
1.3 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttributeAllocator.cpp
Index: XalanSourceTreeAttributeAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttributeAllocator.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XalanSourceTreeAttributeAllocator.cpp 22 Nov 2002 02:18:32 -0000
1.2
+++ XalanSourceTreeAttributeAllocator.cpp 12 Feb 2003 23:04:23 -0000
1.3
@@ -82,7 +82,7 @@
const XalanDOMString& theName,
const XalanDOMString& theValue,
XalanSourceTreeElement* theOwnerElement,
- unsigned int theIndex)
+ IndexType
theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.3 +4 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttributeAllocator.hpp
Index: XalanSourceTreeAttributeAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttributeAllocator.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XalanSourceTreeAttributeAllocator.hpp 22 Nov 2002 02:18:32 -0000
1.2
+++ XalanSourceTreeAttributeAllocator.hpp 12 Feb 2003 23:04:23 -0000
1.3
@@ -82,6 +82,8 @@
typedef XalanSourceTreeAttr
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
typedef ArenaBlock<ObjectType>
ArenaBlockType;
@@ -98,7 +100,7 @@
*
* @param theBlockSize The block size.
*/
- XalanSourceTreeAttributeAllocator(size_type theBlockCount);
+ XalanSourceTreeAttributeAllocator(size_type theBlockCount);
~XalanSourceTreeAttributeAllocator();
@@ -118,7 +120,7 @@
const XalanDOMString& theName,
const XalanDOMString& theValue,
XalanSourceTreeElement* theOwnerElement = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
/**
* Delete all objects from allocator.
1.3 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttributeNSAllocator.cpp
Index: XalanSourceTreeAttributeNSAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttributeNSAllocator.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XalanSourceTreeAttributeNSAllocator.cpp 22 Nov 2002 02:18:32 -0000
1.2
+++ XalanSourceTreeAttributeNSAllocator.cpp 12 Feb 2003 23:04:23 -0000
1.3
@@ -85,7 +85,7 @@
const XalanDOMString& thePrefix,
const XalanDOMString& theValue,
XalanSourceTreeElement* theOwnerElement,
- unsigned int theIndex)
+ IndexType
theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.3 +3 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttributeNSAllocator.hpp
Index: XalanSourceTreeAttributeNSAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeAttributeNSAllocator.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XalanSourceTreeAttributeNSAllocator.hpp 22 Nov 2002 02:18:32 -0000
1.2
+++ XalanSourceTreeAttributeNSAllocator.hpp 12 Feb 2003 23:04:23 -0000
1.3
@@ -82,6 +82,8 @@
typedef XalanSourceTreeAttrNS
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
typedef ArenaBlock<ObjectType>
ArenaBlockType;
@@ -123,7 +125,7 @@
const XalanDOMString& thePrefix,
const XalanDOMString& theValue,
XalanSourceTreeElement* theOwnerElement = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
/**
* Delete all objects from allocator.
1.12 +2 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeComment.cpp
Index: XalanSourceTreeComment.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeComment.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- XalanSourceTreeComment.cpp 22 Nov 2002 02:18:32 -0000 1.11
+++ XalanSourceTreeComment.cpp 12 Feb 2003 23:04:23 -0000 1.12
@@ -89,7 +89,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanComment(),
m_data(theData),
m_ownerDocument(theOwnerDocument),
@@ -358,7 +358,7 @@
-unsigned long
+XalanSourceTreeComment::IndexType
XalanSourceTreeComment::getIndex() const
{
return m_index;
1.8 +4 -4
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeComment.hpp
Index: XalanSourceTreeComment.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeComment.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- XalanSourceTreeComment.hpp 22 Nov 2002 02:18:32 -0000 1.7
+++ XalanSourceTreeComment.hpp 12 Feb 2003 23:04:23 -0000 1.8
@@ -124,7 +124,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeComment();
@@ -467,7 +467,7 @@
virtual bool
isIndexed() const;
- virtual unsigned long
+ virtual IndexType
getIndex() const;
//@}
@@ -636,7 +636,7 @@
appendSiblingNode(XalanSourceTreeText* theSibling);
void
- setIndex(unsigned long theIndex)
+ setIndex(IndexType theIndex)
{
m_index = theIndex;
}
@@ -668,7 +668,7 @@
XalanNode* m_nextSibling;
- unsigned long m_index;
+ IndexType m_index;
static const XalanDOMString& s_nameString;
};
1.5 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeCommentAllocator.cpp
Index: XalanSourceTreeCommentAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeCommentAllocator.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XalanSourceTreeCommentAllocator.cpp 22 Nov 2002 02:18:32 -0000
1.4
+++ XalanSourceTreeCommentAllocator.cpp 12 Feb 2003 23:04:23 -0000
1.5
@@ -84,7 +84,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex)
+ IndexType
theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.5 +4 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeCommentAllocator.hpp
Index: XalanSourceTreeCommentAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeCommentAllocator.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XalanSourceTreeCommentAllocator.hpp 22 Nov 2002 02:18:32 -0000
1.4
+++ XalanSourceTreeCommentAllocator.hpp 12 Feb 2003 23:04:23 -0000
1.5
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -82,6 +82,8 @@
typedef XalanSourceTreeComment
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
typedef ArenaBlock<ObjectType>
ArenaBlockType;
@@ -121,7 +123,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
/**
* Delete all objects from allocator.
1.36 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp
Index: XalanSourceTreeDocument.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- XalanSourceTreeDocument.cpp 5 Feb 2003 23:23:16 -0000 1.35
+++ XalanSourceTreeDocument.cpp 12 Feb 2003 23:04:23 -0000 1.36
@@ -390,7 +390,7 @@
-unsigned long
+XalanSourceTreeDocument::IndexType
XalanSourceTreeDocument::getIndex() const
{
return 1;
1.23 +2 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.hpp
Index: XalanSourceTreeDocument.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.hpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- XalanSourceTreeDocument.hpp 5 Feb 2003 23:23:16 -0000 1.22
+++ XalanSourceTreeDocument.hpp 12 Feb 2003 23:04:23 -0000 1.23
@@ -316,7 +316,7 @@
virtual bool
isIndexed() const;
- virtual unsigned long
+ virtual IndexType
getIndex() const;
virtual XalanElement*
@@ -576,7 +576,7 @@
AttributesArrayAllocatorType
m_attributesVector;
- unsigned int
m_nextIndexValue;
+ IndexType
m_nextIndexValue;
const bool
m_poolAllText;
1.6 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocumentFragment.cpp
Index: XalanSourceTreeDocumentFragment.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocumentFragment.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XalanSourceTreeDocumentFragment.cpp 22 Nov 2002 02:18:32 -0000
1.5
+++ XalanSourceTreeDocumentFragment.cpp 12 Feb 2003 23:04:23 -0000
1.6
@@ -335,7 +335,7 @@
-unsigned long
+XalanSourceTreeDocumentFragment::IndexType
XalanSourceTreeDocumentFragment::getIndex() const
{
return 0;
1.7 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocumentFragment.hpp
Index: XalanSourceTreeDocumentFragment.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocumentFragment.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- XalanSourceTreeDocumentFragment.hpp 22 Nov 2002 02:18:32 -0000
1.6
+++ XalanSourceTreeDocumentFragment.hpp 12 Feb 2003 23:04:23 -0000
1.7
@@ -189,7 +189,7 @@
virtual bool
isIndexed() const;
- virtual unsigned long
+ virtual IndexType
getIndex() const;
// These interfaces are new...
1.10 +2 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElement.cpp
Index: XalanSourceTreeElement.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElement.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XalanSourceTreeElement.cpp 5 Feb 2003 23:23:16 -0000 1.9
+++ XalanSourceTreeElement.cpp 12 Feb 2003 23:04:23 -0000 1.10
@@ -90,7 +90,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanElement(),
m_tagName(theTagName),
m_ownerDocument(theOwnerDocument),
@@ -314,7 +314,7 @@
-unsigned long
+XalanSourceTreeElement::IndexType
XalanSourceTreeElement::getIndex() const
{
return m_index;
1.11 +4 -4
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElement.hpp
Index: XalanSourceTreeElement.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElement.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- XalanSourceTreeElement.hpp 9 Feb 2003 08:15:59 -0000 1.10
+++ XalanSourceTreeElement.hpp 12 Feb 2003 23:04:23 -0000 1.11
@@ -104,7 +104,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeElement();
@@ -447,7 +447,7 @@
virtual bool
isIndexed() const;
- virtual unsigned long
+ virtual IndexType
getIndex() const;
//@}
@@ -785,7 +785,7 @@
appendChildNode(XalanSourceTreeText* theChild);
void
- setIndex(unsigned long theIndex)
+ setIndex(IndexType theIndex)
{
m_index = theIndex;
}
@@ -833,7 +833,7 @@
XalanNode* m_firstChild;
- unsigned long m_index;
+ IndexType m_index;
};
1.3 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementA.cpp
Index: XalanSourceTreeElementA.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementA.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XalanSourceTreeElementA.cpp 9 Feb 2003 08:15:59 -0000 1.2
+++ XalanSourceTreeElementA.cpp 12 Feb 2003 23:04:23 -0000 1.3
@@ -82,7 +82,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanSourceTreeElement(
theTagName,
theOwnerDocument,
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementA.hpp
Index: XalanSourceTreeElementA.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementA.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementA.hpp 5 Feb 2003 23:23:16 -0000 1.1
+++ XalanSourceTreeElementA.hpp 12 Feb 2003 23:04:24 -0000 1.2
@@ -101,7 +101,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeElementA();
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementAAllocator.cpp
Index: XalanSourceTreeElementAAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementAAllocator.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementAAllocator.cpp 5 Feb 2003 23:23:16 -0000
1.1
+++ XalanSourceTreeElementAAllocator.cpp 12 Feb 2003 23:04:24 -0000
1.2
@@ -86,7 +86,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex)
+ IndexType
theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.2 +3 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementAAllocator.hpp
Index: XalanSourceTreeElementAAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementAAllocator.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementAAllocator.hpp 5 Feb 2003 23:23:16 -0000
1.1
+++ XalanSourceTreeElementAAllocator.hpp 12 Feb 2003 23:04:24 -0000
1.2
@@ -82,6 +82,8 @@
typedef XalanSourceTreeElementA
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
typedef ObjectType::AttributesCountType
AttributesCountType;
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
@@ -127,7 +129,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
/**
* Delete all objects from allocator.
1.2 +2 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementANS.cpp
Index: XalanSourceTreeElementANS.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementANS.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementANS.cpp 5 Feb 2003 23:23:16 -0000 1.1
+++ XalanSourceTreeElementANS.cpp 12 Feb 2003 23:04:24 -0000 1.2
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -73,7 +73,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanSourceTreeElementA(
theTagName,
theOwnerDocument,
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementANS.hpp
Index: XalanSourceTreeElementANS.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementANS.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementANS.hpp 5 Feb 2003 23:23:16 -0000 1.1
+++ XalanSourceTreeElementANS.hpp 12 Feb 2003 23:04:24 -0000 1.2
@@ -101,7 +101,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeElementANS();
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementANSAllocator.cpp
Index: XalanSourceTreeElementANSAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementANSAllocator.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementANSAllocator.cpp 5 Feb 2003 23:23:16 -0000
1.1
+++ XalanSourceTreeElementANSAllocator.cpp 12 Feb 2003 23:04:24 -0000
1.2
@@ -89,7 +89,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex)
+ IndexType
theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.2 +3 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementANSAllocator.hpp
Index: XalanSourceTreeElementANSAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementANSAllocator.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementANSAllocator.hpp 5 Feb 2003 23:23:16 -0000
1.1
+++ XalanSourceTreeElementANSAllocator.hpp 12 Feb 2003 23:04:24 -0000
1.2
@@ -82,6 +82,8 @@
typedef XalanSourceTreeElementANS
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
typedef ObjectType::AttributesCountType
AttributesCountType;
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
@@ -133,7 +135,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
/**
* Delete all objects from allocator.
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNA.cpp
Index: XalanSourceTreeElementNA.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNA.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementNA.cpp 5 Feb 2003 23:23:16 -0000 1.1
+++ XalanSourceTreeElementNA.cpp 12 Feb 2003 23:04:24 -0000 1.2
@@ -76,7 +76,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanSourceTreeElement(
theTagName,
theOwnerDocument,
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNA.hpp
Index: XalanSourceTreeElementNA.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNA.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementNA.hpp 5 Feb 2003 23:23:16 -0000 1.1
+++ XalanSourceTreeElementNA.hpp 12 Feb 2003 23:04:24 -0000 1.2
@@ -95,7 +95,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeElementNA();
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNAAllocator.cpp
Index: XalanSourceTreeElementNAAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNAAllocator.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementNAAllocator.cpp 5 Feb 2003 23:23:16 -0000
1.1
+++ XalanSourceTreeElementNAAllocator.cpp 12 Feb 2003 23:04:24 -0000
1.2
@@ -84,7 +84,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex)
+ IndexType
theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.2 +3 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNAAllocator.hpp
Index: XalanSourceTreeElementNAAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNAAllocator.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementNAAllocator.hpp 5 Feb 2003 23:23:16 -0000
1.1
+++ XalanSourceTreeElementNAAllocator.hpp 12 Feb 2003 23:04:24 -0000
1.2
@@ -82,6 +82,8 @@
typedef XalanSourceTreeElementNA
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
typedef ArenaBlock<ObjectType>
ArenaBlockType;
@@ -121,7 +123,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
/**
* Delete all objects from allocator.
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNANS.cpp
Index: XalanSourceTreeElementNANS.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNANS.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementNANS.cpp 5 Feb 2003 23:23:16 -0000 1.1
+++ XalanSourceTreeElementNANS.cpp 12 Feb 2003 23:04:24 -0000 1.2
@@ -71,7 +71,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanSourceTreeElementNA(
theTagName,
theOwnerDocument,
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNANS.hpp
Index: XalanSourceTreeElementNANS.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNANS.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementNANS.hpp 5 Feb 2003 23:23:16 -0000 1.1
+++ XalanSourceTreeElementNANS.hpp 12 Feb 2003 23:04:24 -0000 1.2
@@ -97,7 +97,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeElementNANS();
1.2 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNANSAllocator.cpp
Index: XalanSourceTreeElementNANSAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNANSAllocator.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementNANSAllocator.cpp 5 Feb 2003 23:23:16 -0000
1.1
+++ XalanSourceTreeElementNANSAllocator.cpp 12 Feb 2003 23:04:24 -0000
1.2
@@ -87,7 +87,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex)
+ IndexType
theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.2 +3 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNANSAllocator.hpp
Index: XalanSourceTreeElementNANSAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeElementNANSAllocator.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XalanSourceTreeElementNANSAllocator.hpp 5 Feb 2003 23:23:16 -0000
1.1
+++ XalanSourceTreeElementNANSAllocator.hpp 12 Feb 2003 23:04:24 -0000
1.2
@@ -82,6 +82,8 @@
typedef XalanSourceTreeElementNANS
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
typedef ArenaBlock<ObjectType>
ArenaBlockType;
@@ -129,7 +131,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
/**
* Delete all objects from allocator.
1.8 +2 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeProcessingInstruction.cpp
Index: XalanSourceTreeProcessingInstruction.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeProcessingInstruction.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- XalanSourceTreeProcessingInstruction.cpp 22 Nov 2002 02:18:32 -0000
1.7
+++ XalanSourceTreeProcessingInstruction.cpp 12 Feb 2003 23:04:24 -0000
1.8
@@ -90,7 +90,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex) :
+ IndexType
theIndex) :
XalanProcessingInstruction(),
m_target(theTarget),
m_data(theData),
@@ -359,7 +359,7 @@
-unsigned long
+XalanSourceTreeProcessingInstruction::IndexType
XalanSourceTreeProcessingInstruction::getIndex() const
{
return m_index;
1.7 +5 -5
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeProcessingInstruction.hpp
Index: XalanSourceTreeProcessingInstruction.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeProcessingInstruction.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- XalanSourceTreeProcessingInstruction.hpp 22 Nov 2002 02:18:32 -0000
1.6
+++ XalanSourceTreeProcessingInstruction.hpp 12 Feb 2003 23:04:24 -0000
1.7
@@ -107,7 +107,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
virtual
~XalanSourceTreeProcessingInstruction();
@@ -445,12 +445,12 @@
* <CODE>localName</CODE> is <CODE>null</CODE>.
*/
virtual void
- setPrefix(const XalanDOMString& prefix);
+ setPrefix(const XalanDOMString& prefix);
virtual bool
isIndexed() const;
- virtual unsigned long
+ virtual IndexType
getIndex() const;
//@}
@@ -530,7 +530,7 @@
appendSiblingNode(XalanSourceTreeText* theSibling);
void
- setIndex(unsigned long theIndex)
+ setIndex(IndexType theIndex)
{
m_index = theIndex;
}
@@ -564,7 +564,7 @@
XalanNode* m_nextSibling;
- unsigned long m_index;
+ IndexType m_index;
};
1.4 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeProcessingInstructionAllocator.cpp
Index: XalanSourceTreeProcessingInstructionAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeProcessingInstructionAllocator.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeProcessingInstructionAllocator.cpp 22 Nov 2002 02:18:32
-0000 1.3
+++ XalanSourceTreeProcessingInstructionAllocator.cpp 12 Feb 2003 23:04:24
-0000 1.4
@@ -85,7 +85,7 @@
XalanNode*
theParentNode,
XalanNode*
thePreviousSibling,
XalanNode*
theNextSibling,
- unsigned int theIndex)
+ IndexType
theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.4 +4 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeProcessingInstructionAllocator.hpp
Index: XalanSourceTreeProcessingInstructionAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeProcessingInstructionAllocator.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeProcessingInstructionAllocator.hpp 22 Nov 2002 02:18:32
-0000 1.3
+++ XalanSourceTreeProcessingInstructionAllocator.hpp 12 Feb 2003 23:04:24
-0000 1.4
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -82,6 +82,8 @@
typedef XalanSourceTreeProcessingInstruction ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
typedef ArenaBlock<ObjectType>
ArenaBlockType;
@@ -123,7 +125,7 @@
XalanNode*
theParentNode = 0,
XalanNode*
thePreviousSibling = 0,
XalanNode*
theNextSibling = 0,
- unsigned int theIndex = 0);
+ IndexType
theIndex = 0);
/**
* Delete all objects from allocator.
1.13 +2 -2 xml-xalan/c/src/XalanSourceTree/XalanSourceTreeText.cpp
Index: XalanSourceTreeText.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeText.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- XalanSourceTreeText.cpp 22 Nov 2002 02:18:32 -0000 1.12
+++ XalanSourceTreeText.cpp 12 Feb 2003 23:04:24 -0000 1.13
@@ -87,7 +87,7 @@
XalanNode* theParentNode,
XalanNode*
thePreviousSibling,
XalanNode* theNextSibling,
- unsigned int theIndex) :
+ IndexType theIndex) :
XalanText(),
m_data(theData),
m_parentNode(theParentNode),
@@ -346,7 +346,7 @@
-unsigned long
+XalanSourceTreeText::IndexType
XalanSourceTreeText::getIndex() const
{
return m_index;
1.7 +4 -4 xml-xalan/c/src/XalanSourceTree/XalanSourceTreeText.hpp
Index: XalanSourceTreeText.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeText.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- XalanSourceTreeText.hpp 22 Nov 2002 02:18:32 -0000 1.6
+++ XalanSourceTreeText.hpp 12 Feb 2003 23:04:24 -0000 1.7
@@ -113,7 +113,7 @@
XalanNode* theParentNode =
0,
XalanNode*
thePreviousSibling = 0,
XalanNode* theNextSibling
= 0,
- unsigned int theIndex = 0);
+ IndexType theIndex = 0);
virtual
~XalanSourceTreeText();
@@ -457,7 +457,7 @@
virtual bool
isIndexed() const;
- virtual unsigned long
+ virtual IndexType
getIndex() const;
//@}
@@ -655,7 +655,7 @@
appendSiblingNode(XalanSourceTreeText* theSibling);
void
- setIndex(unsigned long theIndex)
+ setIndex(IndexType theIndex)
{
m_index = theIndex;
}
@@ -685,7 +685,7 @@
XalanNode* m_nextSibling;
- unsigned long m_index;
+ IndexType m_index;
static const XalanDOMString& s_nameString;
};
1.4 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextAllocator.cpp
Index: XalanSourceTreeTextAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextAllocator.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeTextAllocator.cpp 22 Nov 2002 02:18:32 -0000 1.3
+++ XalanSourceTreeTextAllocator.cpp 12 Feb 2003 23:04:24 -0000 1.4
@@ -83,7 +83,7 @@
XalanNode* theParentNode,
XalanNode*
thePreviousSibling,
XalanNode* theNextSibling,
- unsigned int theIndex)
+ IndexType theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.4 +4 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextAllocator.hpp
Index: XalanSourceTreeTextAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextAllocator.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeTextAllocator.hpp 22 Nov 2002 02:18:32 -0000 1.3
+++ XalanSourceTreeTextAllocator.hpp 12 Feb 2003 23:04:24 -0000 1.4
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -82,6 +82,8 @@
typedef XalanSourceTreeText
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
typedef ArenaBlock<ObjectType>
ArenaBlockType;
@@ -119,7 +121,7 @@
XalanNode* theParentNode =
0,
XalanNode*
thePreviousSibling = 0,
XalanNode* theNextSibling
= 0,
- unsigned int theIndex = 0);
+ IndexType theIndex = 0);
/**
* Delete all objects from allocator.
1.4 +2 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextIWS.cpp
Index: XalanSourceTreeTextIWS.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextIWS.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeTextIWS.cpp 22 Nov 2002 02:18:32 -0000 1.3
+++ XalanSourceTreeTextIWS.cpp 12 Feb 2003 23:04:24 -0000 1.4
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999-2000 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -67,7 +67,7 @@
XalanNode* theParentNode,
XalanNode*
thePreviousSibling,
XalanNode* theNextSibling,
- unsigned int theIndex) :
+ IndexType theIndex) :
XalanSourceTreeText(theData, theParentNode, thePreviousSibling,
theNextSibling, theIndex)
{
}
1.4 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextIWS.hpp
Index: XalanSourceTreeTextIWS.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextIWS.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeTextIWS.hpp 22 Nov 2002 02:18:32 -0000 1.3
+++ XalanSourceTreeTextIWS.hpp 12 Feb 2003 23:04:24 -0000 1.4
@@ -89,7 +89,7 @@
XalanNode* theParentNode =
0,
XalanNode*
thePreviousSibling = 0,
XalanNode* theNextSibling
= 0,
- unsigned int theIndex = 0);
+ IndexType theIndex = 0);
virtual
~XalanSourceTreeTextIWS();
1.4 +1 -1
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextIWSAllocator.cpp
Index: XalanSourceTreeTextIWSAllocator.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextIWSAllocator.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeTextIWSAllocator.cpp 22 Nov 2002 02:18:32 -0000
1.3
+++ XalanSourceTreeTextIWSAllocator.cpp 12 Feb 2003 23:04:24 -0000
1.4
@@ -83,7 +83,7 @@
XalanNode* theParentNode,
XalanNode*
thePreviousSibling,
XalanNode* theNextSibling,
- unsigned int theIndex)
+ IndexType theIndex)
{
ObjectType* const theBlock = m_allocator.allocateBlock();
assert(theBlock != 0);
1.4 +4 -2
xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextIWSAllocator.hpp
Index: XalanSourceTreeTextIWSAllocator.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeTextIWSAllocator.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XalanSourceTreeTextIWSAllocator.hpp 22 Nov 2002 02:18:32 -0000
1.3
+++ XalanSourceTreeTextIWSAllocator.hpp 12 Feb 2003 23:04:24 -0000
1.4
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -82,6 +82,8 @@
typedef XalanSourceTreeTextIWS
ObjectType;
+ typedef ObjectType::IndexType
IndexType;
+
#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
typedef ArenaBlock<ObjectType>
ArenaBlockType;
@@ -119,7 +121,7 @@
XalanNode* theParentNode =
0,
XalanNode*
thePreviousSibling = 0,
XalanNode* theNextSibling
= 0,
- unsigned int theIndex = 0);
+ IndexType theIndex = 0);
/**
* Delete all objects from allocator.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]