You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/11/25 22:27:52 UTC
cvs commit: xml-xerces/c/src/xercesc/util TransService.hpp
tng 2002/11/25 13:27:52
Modified: c/src/xercesc/util TransService.hpp
Log:
Performance: use XMLRecognizer::Encodings enum to make new transcode, faster than comparing the encoding string every time.
Revision Changes Path
1.5 +11 -0 xml-xerces/c/src/xercesc/util/TransService.hpp
Index: TransService.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/TransService.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TransService.hpp 4 Nov 2002 15:22:04 -0000 1.4
+++ TransService.hpp 25 Nov 2002 21:27:52 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/25 21:27:52 tng
+ * Performance: use XMLRecognizer::Encodings enum to make new transcode, faster than comparing the encoding string every time.
+ *
* Revision 1.4 2002/11/04 15:22:04 tng
* C++ Namespace Support.
*
@@ -130,6 +133,7 @@
#define TRANSSERVICE_HPP
#include <xercesc/util/XercesDefs.hpp>
+#include <xercesc/framework/XMLRecognizer.hpp>
XERCES_CPP_NAMESPACE_BEGIN
@@ -191,6 +195,13 @@
XMLTranscoder* makeNewTranscoderFor
(
const char* const encodingName
+ , XMLTransService::Codes& resValue
+ , const unsigned int blockSize
+ );
+
+ XMLTranscoder* makeNewTranscoderFor
+ (
+ XMLRecognizer::Encodings encodingEnum
, XMLTransService::Codes& resValue
, const unsigned int blockSize
);
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org