![]() |
The Gaudi Framework
v26r4
|
Simple service that allows to read files independently from the storage. More...
#include <src/component/VFSSvc.h>
Public Member Functions | |
StatusCode | initialize () override |
Initialize Service. More... | |
StatusCode | finalize () override |
Finalize Service. More... | |
std::unique_ptr< std::istream > | open (const std::string &url) override |
const std::vector< std::string > & | protocols () const override |
VFSSvc (const std::string &name, ISvcLocator *svcloc) | |
Standard constructor. More... | |
~VFSSvc () override=default | |
Destructor. More... | |
![]() | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Private Attributes | |
std::vector< std::string > | m_urlHandlersNames = { { {"FileReadTool"} } } |
Names of the handlers to use. More... | |
std::vector< std::string > | m_protocols |
Protocols registered. More... | |
std::string | m_fallBackProtocol |
Protocol to use in case there is not a specific tool to handle the URL. More... | |
GaudiUtils::HashMap< std::string, IFileAccess * > | m_urlHandlers |
Map of the tools handling the known protocols. More... | |
SmartIF< IToolSvc > | m_toolSvc |
Handle to the tool service. More... | |
std::vector< IAlgTool * > | m_acquiredTools |
List of acquired tools (needed to release them). More... | |
Additional Inherited Members | |
![]() | |
typedef extends | base_class |
Typedef to this class. More... | |
typedef extend_interfaces< Interfaces...> | extend_interfaces_base |
Typedef to the base of this class. More... | |
typedef extends | base_class |
Typedef to this class. More... | |
typedef extend_interfaces< Interfaces...> | extend_interfaces_base |
Typedef to the base of this class. More... | |
![]() | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
Simple service that allows to read files independently from the storage.
The service uses tools to resolve URLs and serve the files as input streams. The basic implementations read from the filesystem, and simple extensions allow to read from databases, web...
VFSSvc::VFSSvc | ( | const std::string & | name, |
ISvcLocator * | svcloc | ||
) |
Standard constructor.
Definition at line 10 of file VFSSvc.cpp.
|
overridedefault |
Destructor.
|
override |
Finalize Service.
Definition at line 64 of file VFSSvc.cpp.
|
override |
Initialize Service.
Definition at line 20 of file VFSSvc.cpp.
|
override |
Definition at line 79 of file VFSSvc.cpp.
|
override |
Definition at line 107 of file VFSSvc.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |