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:48:03 UTC
cvs commit: xml-xerces/c/samples/StdInParse StdInParse.hpp
abagchi 00/02/10 18:48:03
Modified: c/samples/StdInParse StdInParse.hpp
Log:
Removed StrX::transcode
Revision Changes Path
1.3 +5 -12 xml-xerces/c/samples/StdInParse/StdInParse.hpp
Index: StdInParse.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/StdInParse/StdInParse.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- StdInParse.hpp 2000/02/06 07:47:25 1.2
+++ StdInParse.hpp 2000/02/11 02:48:03 1.3
@@ -56,6 +56,9 @@
/**
* $Log: StdInParse.hpp,v $
+ * Revision 1.3 2000/02/11 02:48:03 abagchi
+ * Removed StrX::transcode
+ *
* Revision 1.2 2000/02/06 07:47:25 rahulj
* Year 2K copyright swat.
*
@@ -91,12 +94,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()
@@ -104,7 +105,6 @@
delete [] fLocalForm;
}
-
// -----------------------------------------------------------------------
// Getter methods
// -----------------------------------------------------------------------
@@ -113,14 +113,7 @@
return fLocalForm;
}
-
private :
- // -----------------------------------------------------------------------
- // Private helper methods
- // -----------------------------------------------------------------------
- void transcode (const XMLCh* const toTranscode, const unsigned int len);
-
-
// -----------------------------------------------------------------------
// Private data members
//