#include "InputFileCatalog.h"
|
static bool | isPhysical (std::string const &name) noexcept |
|
|
static constexpr size_t | indexEnd {std::numeric_limits<size_t>::max()} |
|
Definition at line 30 of file InputFileCatalog.h.
virtual art::InputFileCatalog::~InputFileCatalog |
( |
| ) |
|
|
virtualdefault |
bool art::FileCatalog::active |
( |
| ) |
const |
|
inlinenoexceptinherited |
void art::FileCatalog::commitCatalog |
( |
| ) |
|
|
inlineinherited |
size_t art::InputFileCatalog::currentIndex |
( |
| ) |
const |
|
noexcept |
bool art::InputFileCatalog::empty |
( |
| ) |
const |
|
inlinenoexcept |
std::vector<std::string> const& art::InputFileCatalog::fileSources |
( |
| ) |
const |
|
inlinenoexcept |
void art::InputFileCatalog::finish |
( |
| ) |
|
bool art::InputFileCatalog::getNextFile |
( |
int |
attempts = 5 | ) |
|
bool art::InputFileCatalog::hasNextFile |
( |
int |
attempts = 5 | ) |
|
static bool art::FileCatalog::isPhysical |
( |
std::string const & |
name | ) |
|
|
inlinestaticnoexceptinherited |
bool art::InputFileCatalog::isSearchable |
( |
| ) |
const |
|
inlinenoexcept |
bool art::InputFileCatalog::retrieveNextFile |
( |
FileCatalogItem & |
item, |
|
|
int |
attempts, |
|
|
bool |
transferOnly = false |
|
) |
| |
|
private |
Definition at line 102 of file InputFileCatalog.cc.
References ci_, art::errors::Configuration, art::DELIVERY_ERROR, finish(), art::NO_MORE_FILES, retrieveNextFileFromCacheOrService(), art::SKIPPED, art::SUCCESS, art::TRANSFER_ERROR, transferNextFile(), art::TRANSFERRED, and art::FileCatalogItem::uri().
Referenced by getNextFile(), and hasNextFile().
130 "InputFileCatalog::retrieveNextFile()\n")
131 <<
"Delivery error encountered after reaching maximum number of "
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition at line 153 of file InputFileCatalog.cc.
References ci_, art::DELIVERY_ERROR, fileCatalogItems_, fileIdx_, maxIdx_, art::NO_MORE_FILES, art::SUCCESS, and transferNextFile().
Referenced by retrieveNextFile().
166 int const result =
ci_->getNextFileURI(uri, wait);
174 item = FileCatalogItem(
"",
"", uri);
void art::InputFileCatalog::rewind |
( |
| ) |
|
void art::InputFileCatalog::rewindTo |
( |
size_t |
index | ) |
|
void art::FileCatalog::setActive |
( |
| ) |
|
|
inlinenoexceptinherited |
std::size_t art::InputFileCatalog::size |
( |
void |
| ) |
const |
|
inlinenoexcept |
Definition at line 181 of file InputFileCatalog.cc.
References art::errors::Configuration, art::FileCatalogItem::fileName(), ft_, art::FileCatalog::isPhysical(), art::FileCatalogItem::logicalFileName(), art::FileCatalogItem::skip(), art::SUCCESS, art::TRANSFER_ERROR, and art::FileCatalogItem::uri().
Referenced by retrieveNextFile(), and retrieveNextFileFromCacheOrService().
184 int const result =
ft_->translateToLocalFilename(item.uri(), pfn);
188 item.logicalFileName(
"");
194 std::string lfn = pfn;
199 "InputFileCatalog::retrieveNextFileFromCacheService()\n")
200 <<
"An empty string specified in parameter for input source.\n";
208 item.logicalFileName(lfn);
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
static bool isPhysical(std::string const &name) noexcept
std::string& art::FileCatalog::url |
( |
| ) |
|
|
inlinenoexceptinherited |
std::string const& art::FileCatalog::url |
( |
| ) |
const |
|
inlinenoexceptinherited |
size_t art::InputFileCatalog::fileIdx_ {indexEnd} |
|
private |
std::vector<std::string> art::InputFileCatalog::fileSources_ |
|
private |
bool art::InputFileCatalog::hasNextFile_ {false} |
|
private |
constexpr size_t art::InputFileCatalog::indexEnd {std::numeric_limits<size_t>::max()} |
|
static |
size_t art::InputFileCatalog::maxIdx_ {} |
|
private |
bool art::InputFileCatalog::nextFileProbed_ {false} |
|
private |
bool art::InputFileCatalog::searchable_ {false} |
|
private |
The documentation for this class was generated from the following files: