Return-Path: Delivered-To: apmail-xml-xalan-cvs-archive@xml.apache.org Received: (qmail 81196 invoked by uid 500); 11 Apr 2003 15:01:33 -0000 Mailing-List: contact xalan-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: Delivered-To: mailing list xalan-cvs@xml.apache.org Received: (qmail 81135 invoked from network); 11 Apr 2003 15:01:32 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 11 Apr 2003 15:01:32 -0000 Received: (qmail 66401 invoked by uid 1034); 11 Apr 2003 15:01:31 -0000 Date: 11 Apr 2003 15:01:31 -0000 Message-ID: <20030411150131.66398.qmail@icarus.apache.org> From: dbertoni@apache.org To: xml-xalan-cvs@apache.org Subject: cvs commit: xml-xalan/c/src/XalanDOM XalanDOMString.hpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: xalan-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: xalan-cvs-help@xml.apache.org