#include <InputFileCatalog.h>
|
static constexpr size_t | indexEnd {std::numeric_limits<size_t>::max()} |
|
Definition at line 30 of file InputFileCatalog.h.
Definition at line 20 of file InputFileCatalog.cc.
27 "InputFileCatalog::InputFileCatalog()\n")
29 <<
"' parameter specified for input source.\n";
std::string const & name() const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
virtual art::InputFileCatalog::~InputFileCatalog |
( |
| ) |
|
|
virtualdefault |
Definition at line 41 of file InputFileCatalog.cc.
46 "Cannot access the current file while the file catalog is empty!");
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
size_t art::InputFileCatalog::currentIndex |
( |
| ) |
const |
bool art::InputFileCatalog::empty |
( |
| ) |
const |
|
inline |
void art::InputFileCatalog::finish |
( |
| ) |
|
bool art::InputFileCatalog::getNextFile |
( |
int |
attempts = 5 | ) |
|
bool art::InputFileCatalog::hasNextFile |
( |
int |
attempts = 5 | ) |
|
bool art::InputFileCatalog::isSearchable |
( |
| ) |
|
|
inline |
Definition at line 102 of file InputFileCatalog.cc.
130 "InputFileCatalog::retrieveNextFile()\n")
131 <<
"Delivery error encountered after reaching maximum number of "
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition at line 155 of file InputFileCatalog.cc.
168 int const result =
ci_->getNextFileURI(uri, wait);
176 item = FileCatalogItem(
"",
"", uri);
void wait(std::chrono::milliseconds dur)
void art::InputFileCatalog::rewind |
( |
| ) |
|
Definition at line 216 of file InputFileCatalog.cc.
220 "InputFileCatalog::rewind()\n")
221 <<
"A non-searchable catalog is not allowed to rewind!";
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void art::InputFileCatalog::rewindTo |
( |
size_t |
index | ) |
|
Definition at line 227 of file InputFileCatalog.cc.
234 "InputFileCatalog::rewindTo()\n")
235 <<
"A non-searchable catalog is not allowed to rewind!";
240 "InputFileCatalog::rewindTo()\n")
241 <<
"Index " <<
index <<
" is out of range!";
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::size_t art::InputFileCatalog::size |
( |
| ) |
const |
|
inline |
Definition at line 183 of file InputFileCatalog.cc.
186 int const result =
ft_->translateToLocalFilename(item.uri(), pfn);
190 item.logicalFileName(
"");
202 "InputFileCatalog::retrieveNextFileFromCacheService()\n")
203 <<
"An empty string specified in parameter for input source.\n";
211 item.logicalFileName(lfn);
static std::string trim(const std::string &str, const std::string &whitespace=" \t")
static bool isPhysical(std::string const &name)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
size_t art::InputFileCatalog::fileIdx_ {indexEnd} |
|
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: