You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2005/01/05 09:59:01 UTC
cvs commit: ws-axis/c/src/soap ComplexElement.cpp
samisa 2005/01/05 00:59:01
Modified: c/src/soap ComplexElement.cpp
Log:
Fixed constructors to init all the fields. Fix for AXISCPP-348
Revision Changes Path
1.32 +6 -0 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.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ComplexElement.cpp 27 Nov 2004 06:08:04 -0000 1.31
+++ ComplexElement.cpp 5 Jan 2005 08:59:00 -0000 1.32
@@ -67,6 +67,9 @@
strcpy(m_pachPrefix, pachPrefix);
m_pachURI = new AxisChar[strlen(pachUri)+1];
strcpy(m_pachURI, pachUri);
+
+ m_iNodeType= ELEMENT_NODE;
+ iNoOfChildren = 0;
}
ComplexElement::ComplexElement(const ComplexElement& rCopy)
@@ -96,6 +99,9 @@
this->m_pachURI = new char[strlen(rCopy.m_pachURI)+1];
strcpy(this->m_pachURI,rCopy.m_pachURI);
}
+
+ this->m_iNodeType= rCopy.m_iNodeType;
+ this->iNoOfChildren = rCopy.iNoOfChildren;
}
BasicNode* ComplexElement::clone()