Go to the documentation of this file.
28 class RawDataConnectionEntry;
40 typedef const std::string&
CSTR;
50 typedef std::map<std::string, std::string>
FidMap;
53 "name of the file catalog service" };
56 "if unaccessible files should be quarantines in job" };
59 this,
"DisablePFNWarning",
false,
60 "if set to True, we will not report when a file is opened by its physical name" };
77 using extends::extends;
92 Connection*
connection(
const std::string& dsn )
const override;
96 StatusCode read( Connection* ioDesc,
void*
const data,
size_t len )
override;
98 StatusCode write( Connection* con,
const void* data,
int len )
override;
100 long long int seek( Connection* ioDesc,
long long int where,
int origin )
override;
IDataConnection * connection
Gaudi::Property< bool > m_quarantine
Connections connections(const IInterface *owner) const override
Get connection by owner instance (0=ALL)
StatusCode connectRead(bool keep_open, Connection *ioDesc) override
Open data stream in read mode.
Gaudi::Property< bool > m_useGFAL
StatusCode establishConnection(Connection *con)
StatusCode connectWrite(Connection *con, IoType mode=Connection::CREATE, CSTR doctype="UNKNOWN") override
Open data stream in write mode.
StatusCode error(CSTR msg)
Small routine to issue exceptions.
Gaudi::Property< int > m_ageLimit
ConnectionMap m_connectionMap
Map with I/O descriptors.
Connection * connection(const std::string &dsn) const override
Retrieve known connection.
StatusCode read(Connection *ioDesc, void *const data, size_t len) override
Read raw byte buffer from input stream.
StatusCode initialize() override
IService implementation: initialize the service.
StatusCode finalize() override
IService implementation: finalize the service.
Gaudi::Property< std::string > m_catalogSvcName
Base class used to extend a class implementing other interfaces.
StatusCode write(Connection *con, const void *data, int len) override
Write raw byte buffer to output stream.
SmartIF< IFileCatalog > m_catalog
Reference to file catalog.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
StatusCode disconnect(Connection *ioDesc) override
Release data stream.
StatusCode reconnect(Entry *e)
long long int seek(Connection *ioDesc, long long int where, int origin) override
Seek on the file described by ioDesc. Arguments as in ::seek()
FidMap m_fidMap
Map of FID to PFN.
std::map< std::string, std::string > FidMap
Entry(CSTR tech, bool k, IoType iot, IDataConnection *con)
Gaudi::Property< bool > m_disablePFNWarning
std::map< std::string, Entry * > ConnectionMap
SmartIF< IIncidentSvc > m_incSvc
StatusCode connectDataIO(int typ, IoType rw, CSTR fn, CSTR technology, bool keep, Connection *con)