]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/DriverUNV/UNV_Utilities.hxx
Salome HOME
Kernel_Utils::Localizer - common interface to solve problems with non-"C" locales
[modules/smesh.git] / src / DriverUNV / UNV_Utilities.hxx
index 5e9239f82a37bd0f062b84f0f2509d2858e6aa2b..e53f75d95da120a9dd3cff3c5cb87e9117a0e313 100644 (file)
 namespace UNV{
   using namespace std;
 
-  class MESHDRIVERUNV_EXPORT Localizer
-  {
-  public:
-    Localizer()
-    {
-      myCurLocale = setlocale(LC_NUMERIC, 0);
-      setlocale(LC_NUMERIC, "C");
-    }
-    ~Localizer()
-    {
-      setlocale(LC_NUMERIC, myCurLocale.c_str());
-    }
-  private:
-    std::string myCurLocale;
-  };
-
   class MESHDRIVERUNV_EXPORT PrefixPrinter{
     static int myCounter;
   public: