dbertoni 00/12/08 14:19:00
Modified: c/src/XSLT XSLTEngineImpl.cpp XSLTEngineImpl.hpp
XSLTProcessor.hpp XSLTResultTarget.cpp
XSLTResultTarget.hpp
Log:
Cleaned up some const stuff.
Revision Changes Path
1.75 +5 -5 xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp
Index: XSLTEngineImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- XSLTEngineImpl.cpp 2000/12/04 20:48:36 1.74
+++ XSLTEngineImpl.cpp 2000/12/08 22:18:57 1.75
@@ -234,8 +234,8 @@
void
XSLTEngineImpl::process(
- XSLTInputSource&
inputSource,
- XSLTInputSource&
stylesheetSource,
+ const XSLTInputSource& inputSource,
+ const XSLTInputSource& stylesheetSource,
XSLTResultTarget& outputTarget,
StylesheetConstructionContext& constructionContext,
StylesheetExecutionContext&
executionContext)
@@ -404,7 +404,7 @@
void
XSLTEngineImpl::process(
- XSLTInputSource&
inputSource,
+ const XSLTInputSource& inputSource,
XSLTResultTarget& outputTarget,
StylesheetExecutionContext&
executionContext)
{
@@ -460,7 +460,7 @@
StylesheetRoot*
XSLTEngineImpl::processStylesheet(
- XSLTInputSource&
stylesheetSource,
+ const XSLTInputSource&
stylesheetSource,
StylesheetConstructionContext& constructionContext)
{
StylesheetRoot* theStylesheet = 0;
@@ -533,7 +533,7 @@
//==========================================================
XalanNode*
-XSLTEngineImpl::getSourceTreeFromInput(XSLTInputSource&
inputSource)
+XSLTEngineImpl::getSourceTreeFromInput(const XSLTInputSource&
inputSource)
{
XalanNode* sourceTree = 0;
1.54 +5 -5 xml-xalan/c/src/XSLT/XSLTEngineImpl.hpp
Index: XSLTEngineImpl.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.hpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- XSLTEngineImpl.hpp 2000/11/21 21:10:25 1.53
+++ XSLTEngineImpl.hpp 2000/12/08 22:18:57 1.54
@@ -221,21 +221,21 @@
virtual void
process(
- XSLTInputSource&
inputSource,
- XSLTInputSource&
stylesheetSource,
+ const XSLTInputSource& inputSource,
+ const XSLTInputSource&
stylesheetSource,
XSLTResultTarget&
outputTarget,
StylesheetConstructionContext& constructionContext,
StylesheetExecutionContext& executionContext);
virtual void
process(
- XSLTInputSource&
inputSource,
+ const XSLTInputSource& inputSource,
XSLTResultTarget&
outputTarget,
StylesheetExecutionContext& executionContext);
virtual StylesheetRoot*
processStylesheet(
- XSLTInputSource&
stylesheetSource,
+ const XSLTInputSource&
stylesheetSource,
StylesheetConstructionContext& constructionContext);
virtual StylesheetRoot*
@@ -244,7 +244,7 @@
StylesheetConstructionContext& constructionContext);
virtual XalanNode*
- getSourceTreeFromInput(XSLTInputSource& inputSource);
+ getSourceTreeFromInput(const XSLTInputSource& inputSource);
virtual void
outputToResultTree(
1.16 +5 -5 xml-xalan/c/src/XSLT/XSLTProcessor.hpp
Index: XSLTProcessor.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTProcessor.hpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- XSLTProcessor.hpp 2000/11/21 21:10:26 1.15
+++ XSLTProcessor.hpp 2000/12/08 22:18:58 1.16
@@ -131,8 +131,8 @@
*/
virtual void
process(
- XSLTInputSource& inputSource,
- XSLTInputSource&
stylesheetSource,
+ const XSLTInputSource& inputSource,
+ const XSLTInputSource& stylesheetSource,
XSLTResultTarget& outputTarget,
StylesheetConstructionContext& constructionContext,
StylesheetExecutionContext& executionContext) = 0;
@@ -150,7 +150,7 @@
*/
virtual void
process(
- XSLTInputSource&
inputSource,
+ const XSLTInputSource& inputSource,
XSLTResultTarget&
outputTarget,
StylesheetExecutionContext& executionContext) = 0;
@@ -165,7 +165,7 @@
*/
virtual StylesheetRoot*
processStylesheet(
- XSLTInputSource&
stylesheetSource,
+ const XSLTInputSource&
stylesheetSource,
StylesheetConstructionContext& constructionContext) =
0;
/**
@@ -204,7 +204,7 @@
* @return source tree
*/
virtual XalanNode*
- getSourceTreeFromInput(XSLTInputSource& inputSource) = 0;
+ getSourceTreeFromInput(const XSLTInputSource& inputSource) = 0;
/**
* Output an object to the result tree by doing the right conversions.
1.6 +0 -2 xml-xalan/c/src/XSLT/XSLTResultTarget.cpp
Index: XSLTResultTarget.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTResultTarget.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XSLTResultTarget.cpp 2000/07/21 19:52:58 1.5
+++ XSLTResultTarget.cpp 2000/12/08 22:18:58 1.6
@@ -171,5 +171,3 @@
{
assert(element != 0);
}
-
-
1.11 +1 -1 xml-xalan/c/src/XSLT/XSLTResultTarget.hpp
Index: XSLTResultTarget.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTResultTarget.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- XSLTResultTarget.hpp 2000/11/30 20:34:18 1.10
+++ XSLTResultTarget.hpp 2000/12/08 22:18:58 1.11
@@ -240,7 +240,7 @@
* @return pointer to character stream, or null if none was supplied.
*/
Writer*
- getCharacterStream()
+ getCharacterStream() const
{
return m_characterStream;
}