Salome HOME
Make the vtkMEDReader::META_DATA info key accessible from the outside without dependa...
[modules/paravis.git] / src / Plugins / MEDReader / IO / MEDTimeReq.hxx
index f4192411a9fc3cd3266ee194d1666bc141ada488..464fec9788bf4f6e9663522fdc18912e401828b0 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2016  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
@@ -24,7 +24,9 @@
 #include <string>
 #include <vector>
 
-class MEDTimeReq
+#include "MEDLoaderForPV.h"
+
+class MEDLOADERFORPV_EXPORT MEDTimeReq
 {
 public:
   virtual int size() const = 0;
@@ -36,7 +38,7 @@ public:
   virtual ~MEDTimeReq();
 };
 
-class MEDStdTimeReq : public MEDTimeReq
+class MEDLOADERFORPV_EXPORT MEDStdTimeReq : public MEDTimeReq
 {
 public:
   MEDStdTimeReq(int timeReq);
@@ -52,10 +54,10 @@ private:
   int _time_req;
 };
 
-class MEDModeTimeReq : public MEDTimeReq
+class MEDLOADERFORPV_EXPORT MEDModeTimeReq : public MEDTimeReq
 {
 public:
-  MEDModeTimeReq(const std::vector<bool>& v);
+  MEDModeTimeReq(const std::vector<bool>& v, const std::vector<double>& ts);
   ~MEDModeTimeReq();
   int size() const;
   int getCurrent() const;
@@ -65,6 +67,7 @@ public:
   void operator++() const;
 private:
   std::vector<bool> _v;
+  std::vector<double> _ts;
   mutable int _it;
   mutable int _sz;
 };