Salome HOME
Premiere implementation complete de ExportMEDCoupling. Go pour le debugging
[modules/smesh.git] / src / DriverMED / DriverMED_W_SMESHDS_Mesh.h
index 986a70c575bdacb725b80dfbbf894e49241096ca..e9f9d172c2964c59fc8d6be7e373876af65a4979 100644 (file)
@@ -74,9 +74,7 @@ class MESHDRIVERMED_EXPORT DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
 
   /*! add one mesh
    */
-  virtual Status Perform();
-
-  Status PerformMedcoupling();
+  Status Perform() override;
 
   template<class LowLevelWriter>
   Driver_Mesh::Status PerformInternal(LowLevelWriter myMed);
@@ -99,4 +97,15 @@ class MESHDRIVERMED_EXPORT DriverMED_W_SMESHDS_Mesh: public Driver_SMESHDS_Mesh
   double myZTolerance;
 };
 
+#include "MEDCouplingMemArray.hxx"
+
+class MESHDRIVERMED_EXPORT DriverMED_W_SMESHDS_Mesh_Mem : public DriverMED_W_SMESHDS_Mesh
+{
+public:
+  Status Perform() override;
+  MEDCoupling::MCAuto<MEDCoupling::DataArrayByte> getData() { return _data; }
+private:
+  MEDCoupling::MCAuto<MEDCoupling::DataArrayByte> _data;
+};
+
 #endif