12 #include "boost/algorithm/string.hpp" 14 #include "cetlib_except/exception.h" 22 : fileSources_{config().namesParameter()}
27 "InputFileCatalog::InputFileCatalog()\n")
28 <<
"Empty '" << config().namesParameter.name()
29 <<
"' parameter specified for input source.\n";
46 "Cannot access the current file while the file catalog is empty!");
104 bool const transferOnly)
130 "InputFileCatalog::retrieveNextFile()\n")
131 <<
"Delivery error encountered after reaching maximum number of " 166 int const result =
ci_->getNextFileURI(uri, wait);
184 int const result =
ft_->translateToLocalFilename(item.
uri(), pfn);
194 std::string lfn = pfn;
199 "InputFileCatalog::retrieveNextFileFromCacheService()\n")
200 <<
"An empty string specified in parameter for input source.\n";
217 <<
"A non-searchable catalog is not allowed to rewind!";
230 <<
"A non-searchable catalog is not allowed to rewind!";
235 <<
"Index " << index <<
" is out of range!";
std::string const & uri() const noexcept
std::string const & fileName() const noexcept
std::string const & logicalFileName() const noexcept
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
static bool isPhysical(std::string const &name) noexcept