dbertoni 2003/04/11 08:01:29
Modified: c/src/XalanDOM XalanDOMString.hpp
Log:
Fixed documentation for transcode().
Revision Changes Path
1.31 +29 -15 xml-xalan/c/src/XalanDOM/XalanDOMString.hpp
Index: XalanDOMString.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanDOMString.hpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- XalanDOMString.hpp 3 Apr 2003 06:19:14 -0000 1.30
+++ XalanDOMString.hpp 11 Apr 2003 15:01:29 -0000 1.31
@@ -701,9 +701,38 @@
return compare(thePosition1, theCount1,
XalanDOMString(theString, theCount2));
}
+ class TranscodingError : public XalanDOMException
+ {
+ public:
+
+ TranscodingError() :
+ XalanDOMException(TRANSCODING_ERR)
+ {
+ }
+
+ virtual
+ ~TranscodingError()
+ {
+ }
+ };
+
+ /**
+ * Transcode the string to the local code page. If the string
+ * cannot be properly transcoded, and the transcoder can detect
+ * the error a TranscodingError exception is thrown.
+ *
+ * @return A null-terminated CharVectorType instance.
+ */
CharVectorType
transcode() const;
+ /**
+ * Transcode the string to the local code page. If the string
+ * cannot be properly transcoded, and the transcoder can detect
+ * the error a TranscodingError exception is thrown.
+ *
+ * @param theResult A CharVectorType instance for the transcoded
string. The string is null-terminated.
+ */
void
transcode(CharVectorType& theResult) const;
@@ -773,21 +802,6 @@
hash(
const XalanDOMChar* theString,
size_type theLength);
-
- class TranscodingError : public XalanDOMException
- {
- public:
-
- TranscodingError() :
- XalanDOMException(TRANSCODING_ERR)
- {
- }
-
- virtual
- ~TranscodingError()
- {
- }
- };
protected:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]