ATLAS Offline Software
Loading...
Searching...
No Matches
FileCatalogUtils.h File Reference
#include "GaudiUtils/IFileCatalog.h"
#include "GaudiUtils/IFileCatalogMgr.h"
#include <string>
Include dependency graph for FileCatalogUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  FileCatalogUtils
 Free-standing helpers for operations on Gaudi's file catalog interfaces (Gaudi::IFileCatalog / Gaudi::IFileCatalogMgr) that have no direct equivalent there, so clients can use those interfaces directly instead of a wrapper class.

Functions

void FileCatalogUtils::getFirstPFN (const Gaudi::IFileCatalog &fc, const std::string &fid, std::string &pfn, std::string &tech)
 Get the first PFN + filetype for the given FID.
void FileCatalogUtils::lookupFileByPFN (const Gaudi::IFileCatalog &fc, const std::string &pfn, std::string &fid, std::string &tech)
 Get FID and filetype for a given PFN.
void FileCatalogUtils::registerPFN (Gaudi::IFileCatalog &fc, const std::string &pfn, const std::string &ftype, std::string &fid)
 Register PFN, assign new FID if not given. Throws if the PFN is already registered.
std::string FileCatalogUtils::addCatalog (Gaudi::IFileCatalogMgr &mgr, const std::string &connect, bool forWriting=false)
 Add new catalog, identified by name, to the existing ones, optionally as the write catalog.