dbertoni    2003/01/28 21:24:11

  Modified:    c/src/XercesParserLiaison XercesDOMWalker.cpp
                        XercesDOMWalker.hpp
  Log:
  Added const/non-const support.
  
  Revision  Changes    Path
  1.6       +1 -1      xml-xalan/c/src/XercesParserLiaison/XercesDOMWalker.cpp
  
  Index: XercesDOMWalker.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XercesParserLiaison/XercesDOMWalker.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XercesDOMWalker.cpp       25 Jan 2003 01:02:42 -0000      1.5
  +++ XercesDOMWalker.cpp       29 Jan 2003 05:24:11 -0000      1.6
  @@ -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
  
  
  
  1.6       +13 -13    xml-xalan/c/src/XercesParserLiaison/XercesDOMWalker.hpp
  
  Index: XercesDOMWalker.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XercesParserLiaison/XercesDOMWalker.hpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XercesDOMWalker.hpp       25 Jan 2003 01:02:42 -0000      1.5
  +++ XercesDOMWalker.hpp       29 Jan 2003 05:24:11 -0000      1.6
  @@ -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
  @@ -95,7 +95,7 @@
         *
         * @return 0 if the traversal completes, or the next node if the 
traversal doesn't complete.
         */
  -     virtual const DOMNodeType*
  +     const DOMNodeType*
        traverse(const DOMNodeType*             pos);
   
        /**
  @@ -113,7 +113,7 @@
         *
         * @return 0 if the traversal completes, or the next node if the 
traversal doesn't complete.
         */
  -     virtual DOMNodeType*
  +     DOMNodeType*
        traverse(DOMNodeType*   pos);
   
        /**
  @@ -133,7 +133,7 @@
         *
         * @return parent if the traversal completes, or the next node if the 
traversal doesn't complete.
         */
  -     virtual const DOMNodeType*
  +     const DOMNodeType*
        traverse(
                        const DOMNodeType*      pos,
                        const DOMNodeType*      parent);
  @@ -155,25 +155,25 @@
         *
         * @return parent if the traversal completes, or the next node if the 
traversal doesn't complete.
         */
  -     virtual DOMNodeType*
  +     DOMNodeType*
        traverse(
                        DOMNodeType*    pos,
                        DOMNodeType*    parent);
   
        /**
  -      * Perform a pre-order traversal non-recursive style.
  +      * Perform a pre-order traversal.
         * 
         * @param pos starting node
         */
  -     virtual void
  +     void
        traverseSubtree(const DOMNodeType*      pos);
   
        /**
  -      * Perform a document-order traversal non-recursive style.
  +      * Perform a document-order traversal.
         * 
         * @param pos starting node
         */
  -     virtual void
  +     void
        traverseSubtree(DOMNodeType*    pos);
   
   protected:
  @@ -183,7 +183,7 @@
         * 
         * @param node The node
         *
  -      * @return return false if the walk should continue, or true if it 
should not.
  +      * @return return false if traversal should continue, or true if it 
should not.
         */
        virtual bool
        startNode(const DOMNodeType*    node) = 0;
  @@ -193,7 +193,7 @@
         * 
         * @param node The node
         *
  -      * @return return false if the walk should continue, or true if it 
should not.
  +      * @return return false if traversal should continue, or true if it 
should not.
         */
        virtual bool
        startNode(DOMNodeType*  node);
  @@ -203,7 +203,7 @@
         * 
         * @param node The node
         *
  -      * @return return false if the walk should continue, or true if it 
should not.
  +      * @return return false if traversal should continue, or true if it 
should not.
         */
        virtual bool
        endNode(const DOMNodeType*      node) = 0;
  @@ -213,7 +213,7 @@
         * 
         * @param node The node
         *
  -      * @return return false if the walk should continue, or true if it 
should not.
  +      * @return return false if traversal should continue, or true if it 
should not.
         */
        virtual bool
        endNode(DOMNodeType*    node);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to