X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FIO%2FMEDTimeReq.cxx;h=0ca24e561818fa8eef5aa97ccc7acb1790d255f1;hb=bf16d364bb3ff8274d5f535dae5450ba6bc1e47d;hp=b4b387662b656ecd7d25237e6270d1d957e84e7b;hpb=866822387420d8da61654fcabf49a9e51308c507;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/IO/MEDTimeReq.cxx b/src/Plugins/MEDReader/IO/MEDTimeReq.cxx index b4b38766..0ca24e56 100644 --- a/src/Plugins/MEDReader/IO/MEDTimeReq.cxx +++ b/src/Plugins/MEDReader/IO/MEDTimeReq.cxx @@ -74,7 +74,7 @@ void MEDStdTimeReq::operator++() const /////////// -MEDModeTimeReq::MEDModeTimeReq(const std::vector& v):_v(v),_it(0),_sz(0) +MEDModeTimeReq::MEDModeTimeReq(const std::vector& v, const std::vector& ts):_v(v),_ts(ts),_it(0),_sz(0) { } @@ -120,7 +120,9 @@ std::string MEDModeTimeReq::buildName(const std::string& name) const oss2.width(len); oss2.fill('0'); oss2 << _it; // - oss << oss2.str() << "]"; + oss << oss2.str() << "]"; + if(_it<(int)_ts.size()) + oss << " - " << _ts[_it]; return oss.str(); }