From 63af3463245fb6bfc295866818e211f016876639 Mon Sep 17 00:00:00 2001
From: PeiYong Zhang <peiyongz@apache.org>
Date: Fri, 9 May 2003 15:13:46 +0000
Subject: [PATCH] Deprecated toString() in XMLNumber family

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174947 13f79535-47bb-0310-9956-ffa450edef68
---
 src/xercesc/util/XMLAbstractDoubleFloat.hpp | 8 ++++++++
 src/xercesc/util/XMLBigDecimal.hpp          | 5 +++++
 src/xercesc/util/XMLBigInteger.hpp          | 3 +++
 src/xercesc/util/XMLDateTime.hpp            | 9 +++++++++
 src/xercesc/util/XMLNumber.hpp              | 7 ++++++-
 5 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/src/xercesc/util/XMLAbstractDoubleFloat.hpp b/src/xercesc/util/XMLAbstractDoubleFloat.hpp
index 19c9d3a0b..8e94e0463 100644
--- a/src/xercesc/util/XMLAbstractDoubleFloat.hpp
+++ b/src/xercesc/util/XMLAbstractDoubleFloat.hpp
@@ -57,6 +57,9 @@
 /*
  * $Id$
  * $Log$
+ * Revision 1.10  2003/05/09 15:13:46  peiyongz
+ * Deprecated toString() in XMLNumber family
+ *
  * Revision 1.9  2003/03/10 20:55:58  peiyongz
  * Schema Errata E2-40 double/float
  *
@@ -151,6 +154,11 @@ public:
 
     virtual ~XMLAbstractDoubleFloat();
 
+    /**
+     *
+     *  Deprecated: please use getRawData
+     *
+     */
     virtual XMLCh*        toString() const;
     
     virtual XMLCh*        getRawData() const;
diff --git a/src/xercesc/util/XMLBigDecimal.hpp b/src/xercesc/util/XMLBigDecimal.hpp
index bb9e5dd21..a6f70eace 100644
--- a/src/xercesc/util/XMLBigDecimal.hpp
+++ b/src/xercesc/util/XMLBigDecimal.hpp
@@ -88,6 +88,11 @@ public:
     static int            compareValues(const XMLBigDecimal* const lValue
                                       , const XMLBigDecimal* const rValue);
 
+    /**
+     *
+     *  Deprecated: please use getRawData
+     *
+     */
     virtual XMLCh*        toString() const;
     
     virtual XMLCh*        getRawData() const;
diff --git a/src/xercesc/util/XMLBigInteger.hpp b/src/xercesc/util/XMLBigInteger.hpp
index 2f826dc0c..35aa4a28e 100644
--- a/src/xercesc/util/XMLBigInteger.hpp
+++ b/src/xercesc/util/XMLBigInteger.hpp
@@ -102,6 +102,9 @@ public:
     int         getTotalDigit() const;
 
     /**
+     *
+     *  Deprecated: please use getRawData
+     *
      *  Return a copy of the fMagnitue.
      *  A leading sign is ALWAYS in place and the caller of this method
      *  is responsible for the de-allocation of the memory.
diff --git a/src/xercesc/util/XMLDateTime.hpp b/src/xercesc/util/XMLDateTime.hpp
index 8a4a61a07..9defa45b4 100644
--- a/src/xercesc/util/XMLDateTime.hpp
+++ b/src/xercesc/util/XMLDateTime.hpp
@@ -57,6 +57,9 @@
 /*
  * $Id$
  * $Log$
+ * Revision 1.6  2003/05/09 15:13:46  peiyongz
+ * Deprecated toString() in XMLNumber family
+ *
  * Revision 1.5  2003/03/10 20:55:58  peiyongz
  * Schema Errata E2-40 double/float
  *
@@ -146,6 +149,12 @@ public:
     // Implementation of Abstract Interface
     // -----------------------------------------------------------------------
 
+    /**
+     *
+     *  Deprecated: please use getRawData
+     *
+     */
+
     virtual XMLCh*        toString() const;
     
     virtual XMLCh*        getRawData() const;
diff --git a/src/xercesc/util/XMLNumber.hpp b/src/xercesc/util/XMLNumber.hpp
index 0319c70d7..34f385e23 100644
--- a/src/xercesc/util/XMLNumber.hpp
+++ b/src/xercesc/util/XMLNumber.hpp
@@ -57,6 +57,9 @@
 /*
  * $Id$
  * $Log$
+ * Revision 1.6  2003/05/09 15:13:46  peiyongz
+ * Deprecated toString() in XMLNumber family
+ *
  * Revision 1.5  2003/03/10 20:55:58  peiyongz
  * Schema Errata E2-40 double/float
  *
@@ -101,7 +104,9 @@ public:
 
     virtual ~XMLNumber();
 
-	/**
+    /**
+     *  Deprecated: please use getRawData
+     *
 	 *  Return string representation of the decimal value.
      *  A decimal point will be included as necessary,
      *  the caller of this method is responsible for the
-- 
GitLab