Salome HOME
projects
/
modules
/
paravis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Porting to ParaView version b5c4c893ca879ecb55742e811cc47c289e3c383
[modules/paravis.git]
/
src
/
Plugins
/
MEDReader
/
IO
/
MEDTimeReq.cxx
diff --git
a/src/Plugins/MEDReader/IO/MEDTimeReq.cxx
b/src/Plugins/MEDReader/IO/MEDTimeReq.cxx
index b4b387662b656ecd7d25237e6270d1d957e84e7b..9e711150736793b9a564ad9dec2bf5242cbe3843 100644
(file)
--- a/
src/Plugins/MEDReader/IO/MEDTimeReq.cxx
+++ b/
src/Plugins/MEDReader/IO/MEDTimeReq.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2010-201
4
CEA/DEN, EDF R&D
+// Copyright (C) 2010-201
6
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
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-74,7
+74,7
@@
void MEDStdTimeReq::operator++() const
///////////
///////////
-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)
{
}
{
}
@@
-120,7
+120,9
@@
std::string MEDModeTimeReq::buildName(const std::string& name) const
oss2.width(len);
oss2.fill('0'); oss2 << _it;
//
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();
}
return oss.str();
}