1 #ifndef art_Framework_IO_Sources_detail_FileNamesHandler_h 2 #define art_Framework_IO_Sources_detail_FileNamesHandler_h 11 template <
bool wantFileServices>
20 double waitBetweenAttempts = 5.0);
46 std::vector<std::string>&& fileNames,
48 double waitBetweenAttempts)
49 : fp_(
std::move(fileNames), attempts, waitBetweenAttempts)
65 std::vector<std::string>&& fileNames,
67 : fileNames_(
std::move(fileNames))
68 , currentFile_(fileNames_.
begin())
69 , end_(fileNames_.
end())
75 return (currentFile_ == end_) ? std::string() : *(currentFile_++);
std::vector< std::string > fileNames_
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
std::vector< std::string >::const_iterator end_
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
std::vector< std::string >::const_iterator currentFile_