Salome HOME
1st step.
[modules/med.git] / src / MEDCalculator / MEDCalculatorBrowserLiteStruct.cxx
index bc14c816ba4cf6bf743c63210ef51e3af65f34f2..49f5debc1f431730fdd854d3cac0ef9bcaadce38 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -28,7 +28,7 @@
 #include <deque>
 #include <string>
 
-using namespace ParaMEDMEM;
+using namespace MEDCoupling;
 
 //  Default constructor
 MEDCalculatorBrowserLiteStruct::MEDCalculatorBrowserLiteStruct() : _any_selection(false)
@@ -50,10 +50,10 @@ MEDCalculatorBrowserLiteStruct::~MEDCalculatorBrowserLiteStruct()
 MEDCalculatorBrowserLiteStruct::MEDCalculatorBrowserLiteStruct(const char *f) : _file(f), _any_selection(false)
 {
   computeBaseName();
-  std::vector<std::string> meshNames=MEDLoader::GetMeshNames(_file.c_str());
+  std::vector<std::string> meshNames=GetMeshNames(_file.c_str());
   for(std::vector<std::string>::const_iterator iter=meshNames.begin();iter!=meshNames.end();iter++)
     _meshes.push_back(MEDCalculatorBrowserMesh((*iter).c_str()));
-  std::vector<std::string> fieldNames=MEDLoader::GetAllFieldNames(_file.c_str());
+  std::vector<std::string> fieldNames=GetAllFieldNames(_file.c_str());
   for(std::vector<std::string>::const_iterator iter=fieldNames.begin();iter!=fieldNames.end();iter++)
     _fields.push_back(MEDCalculatorBrowserField(_file.c_str(),(*iter).c_str()));
 }