2 #ifndef GaudiSvc_VFSSvc_H
3 #define GaudiSvc_VFSSvc_H 1
35 virtual std::auto_ptr<std::istream>
open(
const std::string &url);
38 virtual const std::vector<std::string> &
protocols()
const;
SmartIF< IToolSvc > m_toolSvc
Handle to the tool service.
std::vector< std::string > m_protocols
Protocols registered.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
virtual StatusCode initialize()
Initialize Service.
std::string m_fallBackProtocol
Protocol to use in case there is not a specific tool to handle the URL.
GaudiUtils::HashMap< std::string, IFileAccess * > m_urlHandlers
Map of the tools handling the known protocols.
virtual ~VFSSvc()
Destructor.
virtual const std::vector< std::string > & protocols() const
This class is used for returning status codes from appropriate routines.
Base class used to extend a class implementing other interfaces.
VFSSvc(const std::string &name, ISvcLocator *svcloc)
Standard constructor.
virtual StatusCode finalize()
Finalize Service.
virtual const std::string & name() const
Retrieve name of the service.
std::list< IAlgTool * > m_acquiredTools
List of acquired tools (needed to release them).
Simple service that allows to read files independently from the storage.
virtual std::auto_ptr< std::istream > open(const std::string &url)
std::vector< std::string > m_urlHandlersNames
Names of the handlers to use.