Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 34671 invoked from network); 27 Nov 2004 06:08:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Nov 2004 06:08:08 -0000 Received: (qmail 53737 invoked by uid 500); 27 Nov 2004 06:08:07 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 53506 invoked by uid 500); 27 Nov 2004 06:08:05 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 53492 invoked by uid 99); 27 Nov 2004 06:08:05 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:08:05 -0800 Received: (qmail 34659 invoked by uid 1686); 27 Nov 2004 06:08:04 -0000 Date: 27 Nov 2004 06:08:04 -0000 Message-ID: <20041127060804.34658.qmail@minotaur.apache.org> From: roshan@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/c/src/soap CharacterElement.h ComplexElement.h ComplexElement.cpp X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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::const_iterator itCurrChild= m_children.begin(); @@ -414,9 +414,9 @@ return NULL; } -const BasicNode* ComplexElement::getLastChild() const +BasicNode* ComplexElement::getLastChild() { - list::const_reverse_iterator ritCurrChild= m_children.rbegin(); + list::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) {