-// 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
///////////
-MEDModeTimeReq::MEDModeTimeReq(const std::vector<bool>& v):_v(v),_it(0),_sz(0)
+MEDModeTimeReq::MEDModeTimeReq(const std::vector<bool>& v, const std::vector<double>& ts):_v(v),_ts(ts),_it(0),_sz(0)
{
}
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();
}