Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestArchive.cpp @ 1303:bba8a47922d1
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Feb 2015 16:47:24 +0100 |
parents | 6e7e5ed91c2d |
children | 0c735fed8953 |
comparison
equal
deleted
inserted
replaced
1302:5fe254fb1c93 | 1303:bba8a47922d1 |
---|---|
322 std::list<std::string> instances; | 322 std::list<std::string> instances; |
323 context.GetIndex().GetChildInstances(instances, id); | 323 context.GetIndex().GetChildInstances(instances, id); |
324 | 324 |
325 size_t pos = 0; | 325 size_t pos = 0; |
326 for (std::list<std::string>::const_iterator | 326 for (std::list<std::string>::const_iterator |
327 it = instances.begin(); it != instances.end(); it++, pos++) | 327 it = instances.begin(); it != instances.end(); ++it, ++pos) |
328 { | 328 { |
329 // "DICOM restricts the filenames on DICOM media to 8 | 329 // "DICOM restricts the filenames on DICOM media to 8 |
330 // characters (some systems wrongly use 8.3, but this does not | 330 // characters (some systems wrongly use 8.3, but this does not |
331 // conform to the standard)." | 331 // conform to the standard)." |
332 std::string filename = "IM" + boost::lexical_cast<std::string>(pos); | 332 std::string filename = "IM" + boost::lexical_cast<std::string>(pos); |