Salome HOME
Copyright update 2021
[tools/medcoupling.git] / src / MEDPartitioner / MEDPARTITIONER_MeshCollectionMedAsciiDriver.hxx
index 06674a8fcefee8a58ac59f1736d0c5b9828853c4..8ca305d4b47b513b1dfcd7b773909b96398624c4 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2021  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
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 #ifndef __MEDPARTITIONER_MESHCOLLECTIONMEDASCIIDRIVER_HXX__
 #define __MEDPARTITIONER_MESHCOLLECTIONMEDASCIIDRIVER_HXX__
 
+#include "MEDPARTITIONER.hxx"
 #include "MEDPARTITIONER_MeshCollectionDriver.hxx"
 
 namespace MEDPARTITIONER
 {
   class MeshCollection;
-  class MeshCollectionMedAsciiDriver : public MeshCollectionDriver
+  class MEDPARTITIONER_EXPORT MeshCollectionMedAsciiDriver : public MeshCollectionDriver
   {
   public:
     MeshCollectionMedAsciiDriver(MeshCollection*);
     virtual ~MeshCollectionMedAsciiDriver() { }
     int read(const char*, ParaDomainSelector* sel=0);
+    int read(MEDCoupling::MEDFileData*);
     void write(const char*, ParaDomainSelector* sel=0) const;
-  private :
+  private:
     std::string _master_filename;
   };
 }