You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2002/11/08 22:06:16 UTC
cvs commit: xml-xerces/c/src/xercesc/util PlatformUtils.hpp PlatformUtils.cpp
peiyongz 2002/11/08 13:06:16
Modified: c/src/xercesc/util PlatformUtils.hpp PlatformUtils.cpp
Log:
move comment to *hpp for API doc generation
Revision Changes Path
1.7 +15 -1 xml-xerces/c/src/xercesc/util/PlatformUtils.hpp
Index: PlatformUtils.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/PlatformUtils.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- PlatformUtils.hpp 4 Nov 2002 22:24:21 -0000 1.6
+++ PlatformUtils.hpp 8 Nov 2002 21:06:16 -0000 1.7
@@ -157,6 +157,20 @@
/** Perform per-process parser initialization
*
* Initialization <b>must</b> be called first in any client code.
+ *
+ * The locale is set iff the Initialize() is invoked for the very first time,
+ * to ensure that each and every message loaders, in the process space, share
+ * the same locale.
+ *
+ * All subsequent invocations of Initialize(), with a different locale, have
+ * no effect on the message loaders, either instantiated, or to be instantiated.
+ *
+ * To set to a different locale, client application needs to Terminate() (or
+ * multiple Terminate() in the case where multiple Initialize() have been invoked
+ * before), followed by Initialize(new_locale).
+ *
+ * The default locale is "en_US".
+ *
*/
static void Initialize(const char* const locale = XMLUni::fgXercescDefaultLocale);
1.5 +3 -12 xml-xerces/c/src/xercesc/util/PlatformUtils.cpp
Index: PlatformUtils.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/PlatformUtils.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PlatformUtils.cpp 4 Nov 2002 22:24:21 -0000 1.4
+++ PlatformUtils.cpp 8 Nov 2002 21:06:16 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/08 21:06:16 peiyongz
+ * move comment to *hpp for API doc generation
+ *
* Revision 1.4 2002/11/04 22:24:21 peiyongz
* Locale setting for message loader
*
@@ -267,18 +270,6 @@
/***
* Locale setting for Message Loader
- *
- * Noticed: The locale is set iff the Initialize() is invoked for the
- * very first time, thus to ensure that each and every message
- * loaders, in this process space, share the same locale.
- *
- * All subsequent invocations of Initialize() have no effect on the
- * message loaders, either instantiated, or to be instantiated.
- *
- * To set to a different locale, client application needs to
- * Terminate() (or multiple Terminate() in the case where multiple
- * Initialize() have been invoked before) and then followed by an
- * Initialize(new_locale).
*
***/
XMLMsgLoader::setLocale(locale);
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org