Handle the locale for numeric data parsing. More...
Handle the locale for numeric data parsing.
Many users will utilize Open Babel and tools built on top of the library in non-English locales. In particular, the numeric locale (LC_NUMERIC) is used to determine the parsing of numeric data in files, reference data, etc.
The OBLocale class, and its global variable obLocale handle both internal parsing of data through the ANSI-C numeric locale and can be used for external use as well.
In particular, where available, OBLocale will use the enhanced uselocale() interface, which sets the locale for a particular thread, rather for the entire process. (This is available on Linux, Mac OS X, and other platforms.)
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: