You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ab...@locus.apache.org on 2000/02/11 03:46:40 UTC
cvs commit: xml-xerces/c/samples/SAXCount SAXCount.hpp
abagchi 00/02/10 18:46:40
Modified: c/samples/SAXCount SAXCount.hpp
Log:
Removed StrX::transcode
Revision Changes Path
1.3 +5 -12 xml-xerces/c/samples/SAXCount/SAXCount.hpp
Index: SAXCount.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/SAXCount/SAXCount.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SAXCount.hpp 2000/02/06 07:47:23 1.2
+++ SAXCount.hpp 2000/02/11 02:46:39 1.3
@@ -56,6 +56,9 @@
/**
* $Log: SAXCount.hpp,v $
+ * Revision 1.3 2000/02/11 02:46:39 abagchi
+ * Removed StrX::transcode
+ *
* Revision 1.2 2000/02/06 07:47:23 rahulj
* Year 2K copyright swat.
*
@@ -89,12 +92,10 @@
// -----------------------------------------------------------------------
// Constructors and Destructor
// -----------------------------------------------------------------------
- StrX(const XMLCh* const toTranscode, const unsigned int len = 0) :
-
- fLocalForm(0)
+ StrX(const XMLCh* const toTranscode)
{
// Call the private transcoding method
- transcode(toTranscode, len);
+ fLocalForm = XMLString::transcode(toTranscode);
}
~StrX()
@@ -102,7 +103,6 @@
delete [] fLocalForm;
}
-
// -----------------------------------------------------------------------
// Getter methods
// -----------------------------------------------------------------------
@@ -111,14 +111,7 @@
return fLocalForm;
}
-
private :
- // -----------------------------------------------------------------------
- // Private helper methods
- // -----------------------------------------------------------------------
- void transcode (const XMLCh* const toTranscode, const unsigned int len);
-
-
// -----------------------------------------------------------------------
// Private data members
//