Additional fix for locale
}
}
+class Localizer
+{
+public:
+ Localizer()
+ {
+ myCurLocale = setlocale(LC_NUMERIC, 0);
+ setlocale(LC_NUMERIC, "C");
+ }
+ ~Localizer()
+ {
+ setlocale(LC_NUMERIC, myCurLocale.c_str());
+ }
+private:
+ std::string myCurLocale;
+};
+
//=============================================================================
/*!
*
int nbEnforcedVertices)
{
MESSAGE("GHS3DPlugin_GHS3D::readResultFile()");
+ Localizer loc;
struct stat status;
size_t length;
vector <const SMDS_MeshNode*>& theNodeByGhs3dId,
int nbEnforcedVertices) {
+ Localizer loc;
struct stat status;
size_t length;