Go to the documentation of this file.
18 #ifndef GAUDISVC_FILEMGR_H
19 #define GAUDISVC_FILEMGR_H 1
47 using extends::extends;
78 bool onlyOpen =
true )
const override;
103 const std::string& desc =
"",
const bool shared =
false )
override;
107 const std::string& desc =
"",
const bool shared =
false )
override;
159 std::optional<RootFileHandler>
m_rfh;
160 std::optional<POSIXFileHandler>
m_pfh;
std::optional< RootFileHandler > m_rfh
StatusCode execActs(Io::FileAttr *, const std::string &, const Io::Action &, const actionMap &m) const
std::optional< POSIXFileHandler > m_pfh
bool isShareable(const std::string &filename, const Io::IoFlags &) const
int getFiles(std::vector< std::string > &, bool onlyOpen=true) const override
std::vector< FileAttr * > m_oldFiles
Gaudi::Property< bool > m_loadPosixHandler
Gaudi::Property< std::string > m_ssl_proxy
void * fptr(const std::string &) const override
Io::Fd fd(const std::string &) const override
void suppressAction(const std::string &) override
void handle(const Incident &) override
std::map< std::string, Io::Action_bitmap > m_supMap
Gaudi::Property< bool > m_loadRootHandler
virtual Io::open_t open(const IoTech &, const std::string &caller, const std::string &fname, const std::string &desc, const IoFlags &, Fd &, void *&, const bool shared)
StatusCode getFileAttr(const Fd, const FileAttr *&) const override
StatusCode hasHandler(const IoTech &) const override
virtual void listActions() const
StatusCode getHandler(const IoTech &, FileHdlr &) const override
Io::open_t open(const Io::IoTech &, const std::string &caller, const std::string &fname, const Io::IoFlags &, Io::Fd &fd, void *&ptr, const std::string &desc="", const bool shared=false) override
StatusCode initialize() override
Io::close_t close(const Fd, const std::string &caller) override
int getFileAttr(const std::string &, std::vector< const FileAttr * > &) const override
const std::string & fname(const Io::Fd &) const override
StatusCode regHandler(FileHdlr) override
std::multimap< std::string, FileAttr * > fileMap
std::map< IoTech, FileHdlr > m_handlers
StatusCode execAction(Io::FileAttr *, const std::string &, const Io::Action &) const
StatusCode deregHandler(const IoTech &) override
Gaudi::Property< std::string > m_logfile
std::map< Fd, FileAttr * > m_descriptors
Gaudi::Property< std::string > m_ssl_cert
bool accessMatch(const Io::IoFlags &, const Io::IoFlags &, bool strict=false) const
Base class used to extend a class implementing other interfaces.
virtual void listSuppression() const
StatusCode finalize() override
int getLastError(std::string &) const override
Gaudi::Property< bool > m_printSummary
StatusCode regAction(Io::bfcn_action_t, const Io::Action &, const std::string &desc="") override
void listFiles() const override
std::map< Io::Action, std::list< bfcn_desc_t > > actionMap
std::map< IoTech, actionMap > m_actions
void listHandlers() const override
int getFd(std::vector< Fd > &) const override
Io::reopen_t reopen(const Fd, const IoFlags &, const std::string &caller) override
std::pair< Io::bfcn_action_t, std::string > bfcn_desc_t
std::vector< std::unique_ptr< FileAttr > > m_attr