axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ros...@apache.org
Subject cvs commit: ws-axis/c/src/soap CharacterElement.h ComplexElement.h ComplexElement.cpp
Date Sat, 27 Nov 2004 06:08:04 GMT
roshan      2004/11/26 22:08:04

  Modified:    c/include/axis BasicNode.hpp
               c/src/soap CharacterElement.h ComplexElement.h
                        ComplexElement.cpp
  Log:
  changes for JIRA fixes
  
  Revision  Changes    Path
  1.2       +3 -3      ws-axis/c/include/axis/BasicNode.hpp
  
  Index: BasicNode.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/BasicNode.hpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BasicNode.hpp	23 Nov 2004 11:11:11 -0000	1.1
  +++ BasicNode.hpp	27 Nov 2004 06:08:03 -0000	1.2
  @@ -166,7 +166,7 @@
         *
         * @return The first Child Node of this Element.
         */
  -    virtual const BasicNode* getFirstChild() const = 0;
  +    virtual BasicNode* getFirstChild() = 0;
   
       /**
         * Gets the last Child Node of this Complex Element. The operation
  @@ -174,7 +174,7 @@
         *
         * @return The last Child Node of this Element.
         */
  -    virtual const BasicNode* getLastChild() const = 0;
  +    virtual BasicNode* getLastChild() = 0;
   
       /**
         * Get the Child Node of the given position. The operation behavior
  @@ -183,7 +183,7 @@
         * @param iChildPosition The child position.
         * @return The Child Node of the given position.
         */
  -    virtual const BasicNode* getChild(int iChildPosition) const = 0;
  +    virtual BasicNode* getChild(int iChildPosition) = 0;
   
       /**
         * Adds the given child node to this Element. The operation behavior
  
  
  
  1.16      +3 -3      ws-axis/c/src/soap/CharacterElement.h
  
  Index: CharacterElement.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/CharacterElement.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- CharacterElement.h	23 Nov 2004 17:21:04 -0000	1.15
  +++ CharacterElement.h	27 Nov 2004 06:08:04 -0000	1.16
  @@ -164,7 +164,7 @@
         *
         * @return Always return NULL to indicate unsuccessfull operation.
         */
  -     const BasicNode* getFirstChild() const {return NULL;}
  +     BasicNode* getFirstChild() {return NULL;}
   
       /**
         * This method is overridden to return NULL always because this 
  @@ -173,7 +173,7 @@
         *
         * @return Always return NULL to indicate unsuccessfull operation.
         */
  -    const BasicNode* getLastChild() const {return NULL;}
  +    BasicNode* getLastChild() {return NULL;}
   
       /**
         * This method is overridden to return NULL always because this 
  @@ -183,7 +183,7 @@
         * @param iChildPosition The child position.
         * @return Always return NULL to indicate unsuccessfull operation.
         */
  -    const BasicNode* getChild(int iChildPosition) const {return NULL;}
  +    BasicNode* getChild(int iChildPosition) {return NULL;}
   
       /**
         * This method is overridden to return fail(AXIS_FAIL) always because this 
  
  
  
  1.22      +3 -3      ws-axis/c/src/soap/ComplexElement.h
  
  Index: ComplexElement.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/ComplexElement.h,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- ComplexElement.h	23 Nov 2004 17:21:04 -0000	1.21
  +++ ComplexElement.h	27 Nov 2004 06:08:04 -0000	1.22
  @@ -159,21 +159,21 @@
         * @param iChildPosition The child position.
         * @return The Child Node of the given position.
         */
  -    const BasicNode* getChild(int iChildPosition) const;
  +    BasicNode* getChild(int iChildPosition);
   
       /**
         * Gets the last Child Node of this Complex Element.
         *
         * @return The last Child Node of this Complex Element.
         */
  -    const BasicNode* getLastChild() const;
  +    BasicNode* getLastChild();
   
       /**
         * Gets the first Child Node of this Complex Element.
         *
         * @return The first Child Node of this Complex Element.
         */
  -    const BasicNode* getFirstChild() const;
  +    BasicNode* getFirstChild();
   
       /**
         * Adds the given child node to this Complex Element.
  
  
  
  1.31      +4 -4      ws-axis/c/src/soap/ComplexElement.cpp
  
  Index: ComplexElement.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/ComplexElement.cpp,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- ComplexElement.cpp	23 Nov 2004 17:21:04 -0000	1.30
  +++ ComplexElement.cpp	27 Nov 2004 06:08:04 -0000	1.31
  @@ -402,7 +402,7 @@
       return m_iNodeType;
   }
   
  -const BasicNode* ComplexElement::getFirstChild() const
  +BasicNode* ComplexElement::getFirstChild()
   {
       list<BasicNode*>::const_iterator itCurrChild= m_children.begin();
   
  @@ -414,9 +414,9 @@
       return NULL;
   }
   
  -const BasicNode* ComplexElement::getLastChild() const
  +BasicNode* ComplexElement::getLastChild()
   {
  -    list<BasicNode*>::const_reverse_iterator ritCurrChild= m_children.rbegin();
  +    list<BasicNode*>::reverse_iterator ritCurrChild= m_children.rbegin();
   
       if (ritCurrChild != m_children.rend())
       {        
  @@ -426,7 +426,7 @@
       return NULL;
   }
   
  -const BasicNode* ComplexElement::getChild(int iChildPosition) const
  +BasicNode* ComplexElement::getChild(int iChildPosition)
   {
       if (iChildPosition > iNoOfChildren)
       {
  
  
  

Mime
View raw message