Go to the documentation of this file.
11 #ifndef GAUDIFILECATALOG_IFILECATALOG_H
12 #define GAUDIFILECATALOG_IFILECATALOG_H
virtual void rollback()=0
Save catalog to file.
virtual const std::string & connectInfo() const =0
Access to connect string.
virtual bool readOnly() const =0
Check if the catalog is read-only.
virtual std::string lookupPFN(const std::string &lfn) const =0
Lookup file identifier by physical file name.
virtual void commit()=0
Save catalog to file.
virtual void renamePFN(const std::string &pfn, const std::string &new_pfn) const =0
rename a PFN
virtual bool dirty() const =0
Check if the catalog should be updated.
std::vector< std::string > Strings
virtual void registerLFN(const std::string &fid, const std::string &lfn) const =0
Create a Node for a FileID and DOM Node of the LFN with all the attributes.
DeclareInterfaceID(IFileCatalog, 2, 0)
InterfaceID.
Gaudi::PluginService::Factory< IInterface *(const std::string &, IMessageSvc *)> Factory
virtual bool existsPFN(const std::string &pfn) const =0
Return the status of a PFName.
virtual std::string lookupLFN(const std::string &lfn) const =0
Lookup file identifier by physical file name.
virtual void registerFID(const std::string &fid) const =0
Create a Node for a FileID and DOM Node.
virtual void dropMetaData(const std::string &fid) const =0
Drop all metadata of one FID.
std::vector< NamedItem > Files
virtual bool existsLFN(const std::string &lfn) const =0
Return the status of a LFName.
virtual void getLFN(const std::string &fid, Files &files) const =0
Dump all LFNames of the catalog associate to the FileID.
virtual void registerPFN(const std::string &fid, const std::string &pfn, const std::string &ftype) const =0
Create a Node for a FileID and DOM Node of the PFN with all the attributes.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
virtual void setMetaData(const std::string &fid, const std::string &name, const std::string &value) const =0
Insert/update metadata item.
virtual void getMetaData(const std::string &fid, Attributes &attr) const =0
Dump all MetaData of the catalog for a given file ID.
virtual void getPFN(const std::string &fid, Files &files) const =0
Dump all PFNames of the catalog and their attributes associate to the FileID.
virtual void init()=0
Parse the DOM tree of the XML catalog.
std::pair< std::string, std::string > NamedItem
Public type definitions.
virtual void dropMetaData(const std::string &fid, const std::string &attr) const =0
Drop specified metadata item.
virtual void getFID(Strings &fids) const =0
Dump all file Identifiers.
virtual std::string getMetaDataItem(const std::string &fid, const std::string &name) const =0
Access metadata item.
virtual void deleteFID(const std::string &FileID) const =0
Delete FileID Node from the catalog.
virtual void deletePFN(const std::string &pfn) const =0
remove a PFN
virtual bool existsFID(const std::string &fid) const =0
Return the status of a FileID.
std::vector< NamedItem > Attributes