You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2001/08/29 21:03:03 UTC
cvs commit: xml-xerces/c/src/util XMLUri.hpp XMLUri.cpp XMLFloat.hpp XMLDouble.hpp
peiyongz 01/08/29 12:03:03
Modified: c/src/util XMLUri.hpp XMLUri.cpp XMLFloat.hpp XMLDouble.hpp
Log:
Bugzilla# 2816:on AIX 4.2, xlC 3 r ev.1, Compilation error on inline method
Revision Changes Path
1.3 +4 -22 xml-xerces/c/src/util/XMLUri.hpp
Index: XMLUri.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLUri.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLUri.hpp 2001/08/16 14:09:44 1.2
+++ XMLUri.hpp 2001/08/29 19:03:03 1.3
@@ -55,8 +55,11 @@
*/
/*
- * $Id: XMLUri.hpp,v 1.2 2001/08/16 14:09:44 peiyongz Exp $
+ * $Id: XMLUri.hpp,v 1.3 2001/08/29 19:03:03 peiyongz Exp $
* $Log: XMLUri.hpp,v $
+ * Revision 1.3 2001/08/29 19:03:03 peiyongz
+ * Bugzilla# 2816:on AIX 4.2, xlC 3 r ev.1, Compilation error on inline method
+ *
* Revision 1.2 2001/08/16 14:09:44 peiyongz
* Removed unused ctors and methods
*
@@ -470,27 +473,6 @@
{
initialize(baseURI, uriSpec);
}
-
-inline XMLUri::~XMLUri()
-{
- if (getScheme())
- delete[] fScheme;
-
- if (getUserInfo())
- delete[] fUserInfo;
-
- if (getHost())
- delete[] fHost;
-
- if (getPath())
- delete[] fPath;
-
- if (getQueryString())
- delete[] fQueryString;
-
- if (getFragment())
- delete[] fFragment;
-}
// ---------------------------------------------------------------------------
// XMLUri: Getter methods
1.4 +21 -1 xml-xerces/c/src/util/XMLUri.cpp
Index: XMLUri.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLUri.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XMLUri.cpp 2001/08/16 14:09:44 1.3
+++ XMLUri.cpp 2001/08/29 19:03:03 1.4
@@ -55,7 +55,7 @@
*/
/*
- * $Id: XMLUri.cpp,v 1.3 2001/08/16 14:09:44 peiyongz Exp $
+ * $Id: XMLUri.cpp,v 1.4 2001/08/29 19:03:03 peiyongz Exp $
*/
// ---------------------------------------------------------------------------
@@ -238,6 +238,26 @@
// ---------------------------------------------------------------------------
// XMLUri: Constructors and initialization methods
// ---------------------------------------------------------------------------
+XMLUri::~XMLUri()
+{
+ if (getScheme())
+ delete[] fScheme;
+
+ if (getUserInfo())
+ delete[] fUserInfo;
+
+ if (getHost())
+ delete[] fHost;
+
+ if (getPath())
+ delete[] fPath;
+
+ if (getQueryString())
+ delete[] fQueryString;
+
+ if (getFragment())
+ delete[] fFragment;
+}
void XMLUri::initialize(const XMLUri& toCopy)
{
1.3 +10 -6 xml-xerces/c/src/util/XMLFloat.hpp
Index: XMLFloat.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLFloat.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMLFloat.hpp 2001/07/31 13:48:29 1.2
+++ XMLFloat.hpp 2001/08/29 19:03:03 1.3
@@ -55,8 +55,11 @@
*/
/*
- * $Id: XMLFloat.hpp,v 1.2 2001/07/31 13:48:29 peiyongz Exp $
+ * $Id: XMLFloat.hpp,v 1.3 2001/08/29 19:03:03 peiyongz Exp $
* $Log: XMLFloat.hpp,v $
+ * Revision 1.3 2001/08/29 19:03:03 peiyongz
+ * Bugzilla# 2816:on AIX 4.2, xlC 3 r ev.1, Compilation error on inline method
+ *
* Revision 1.2 2001/07/31 13:48:29 peiyongz
* fValue removed
*
@@ -177,11 +180,6 @@
LiteralType fType;
};
-inline XMLFloat::~XMLFloat()
-{
- cleanUp();
-}
-
inline bool XMLFloat::operator==(const XMLFloat& toCompare) const
{
return ( XMLFloat::compareValues(this, &toCompare) == 0 ? true : false);
@@ -205,4 +203,10 @@
{
return fMantissa->getSign();
}
+
+inline XMLFloat::~XMLFloat()
+{
+ cleanUp();
+}
+
#endif
1.5 +9 -6 xml-xerces/c/src/util/XMLDouble.hpp
Index: XMLDouble.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLDouble.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XMLDouble.hpp 2001/07/31 13:48:29 1.4
+++ XMLDouble.hpp 2001/08/29 19:03:03 1.5
@@ -55,8 +55,11 @@
*/
/*
- * $Id: XMLDouble.hpp,v 1.4 2001/07/31 13:48:29 peiyongz Exp $
+ * $Id: XMLDouble.hpp,v 1.5 2001/08/29 19:03:03 peiyongz Exp $
* $Log: XMLDouble.hpp,v $
+ * Revision 1.5 2001/08/29 19:03:03 peiyongz
+ * Bugzilla# 2816:on AIX 4.2, xlC 3 r ev.1, Compilation error on inline method
+ *
* Revision 1.4 2001/07/31 13:48:29 peiyongz
* fValue removed
*
@@ -182,11 +185,6 @@
LiteralType fType;
};
-inline XMLDouble::~XMLDouble()
-{
- cleanUp();
-}
-
inline int XMLDouble::getSign() const
{
return fMantissa->getSign();
@@ -209,6 +207,11 @@
if (fExponent)
delete fExponent;
+}
+
+inline XMLDouble::~XMLDouble()
+{
+ cleanUp();
}
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org