Salome HOME
PV 5.4 : Porting to OpenGL2
[modules/paravis.git] / src / Plugins / MEDReader / IO / MEDTimeReq.hxx
index ea4359aecace60df7369631fe9eec9e45719bd67..464fec9788bf4f6e9663522fdc18912e401828b0 100644 (file)
@@ -1,4 +1,4 @@
-// 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
@@ -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;
 };