X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FIO%2FMEDTimeReq.hxx;h=464fec9788bf4f6e9663522fdc18912e401828b0;hb=467172fc03f8d730254bf304355fb76663bb33d0;hp=f4192411a9fc3cd3266ee194d1666bc141ada488;hpb=e4350e9cdbb25c86c1b7caa25182a8c99381ead9;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/IO/MEDTimeReq.hxx b/src/Plugins/MEDReader/IO/MEDTimeReq.hxx index f4192411..464fec97 100644 --- a/src/Plugins/MEDReader/IO/MEDTimeReq.hxx +++ b/src/Plugins/MEDReader/IO/MEDTimeReq.hxx @@ -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 #include -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& v); + MEDModeTimeReq(const std::vector& v, const std::vector& ts); ~MEDModeTimeReq(); int size() const; int getCurrent() const; @@ -65,6 +67,7 @@ public: void operator++() const; private: std::vector _v; + std::vector _ts; mutable int _it; mutable int _sz; };