The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
IFileMgr.h File Reference
#include <GaudiKernel/ClassID.h>
#include <GaudiKernel/IService.h>
#include <bitset>
#include <fcntl.h>
#include <functional>
#include <map>
#include <string>
#include <vector>
Include dependency graph for IFileMgr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Io::IoFlags
 
class  Io::FileAttr
 
struct  Io::FileHdlr
 
class  IFileMgr
 

Namespaces

namespace  Io
 

Macros

#define FILEMGR_CALLBACK_ARGS   const Io::FileAttr*, const std::string&
 

Typedefs

typedef int Io::Fd
 
typedef int Io::open_t
 
typedef int Io::close_t
 
typedef int Io::reopen_t
 
typedef std::function< Io::open_t(const std::string &, Io::IoFlags, const std::string &, Io::Fd &, void *&)> Io::bfcn_open_t
 
typedef std::function< Io::close_t(Io::Fd)> Io::bfcn_close_t
 
typedef std::function< Io::close_t(void *)> Io::bfcn_closeP_t
 
typedef std::function< Io::reopen_t(Io::Fd, Io::IoFlags)> Io::bfcn_reopen_t
 
typedef std::function< Io::reopen_t(void *, Io::IoFlags)> Io::bfcn_reopenP_t
 
using Io::Action_bitmap = std::bitset<INVALID_ACTION + 1>
 
typedef std::function< StatusCode(FILEMGR_CALLBACK_ARGS)> Io::bfcn_action_t
 

Enumerations

enum  Io::IoFlag : unsigned {
  Io::READ = O_RDONLY , Io::WRITE = O_WRONLY , Io::RDWR = O_RDWR , Io::CREATE = O_CREAT ,
  Io::EXCL = O_EXCL , Io::TRUNC = O_TRUNC , Io::APPEND = O_APPEND , Io::INVALID = 1u << 31
}
 
enum  Io::IoTech {
  Io::UNKNOWN , Io::POSIX , Io::ROOT , Io::BS ,
  Io::HDF5 , Io::SQLITE
}
 
enum  Io::Action {
  Io::OPEN = 0 , Io::CLOSE , Io::REOPEN , Io::OPEN_ERR ,
  Io::CLOSE_ERR , Io::REOPEN_ERR , Io::INVALID_ACTION
}
 

Functions

IoFlags Io::IoFlagFromName (const std::string &f)
 
std::ostream & Io::operator<< (std::ostream &s, const IoFlag &f)
 
std::ostream & Io::operator<< (std::ostream &s, const IoFlags &f)
 
std::ostream & Io::operator<< (std::ostream &s, const IoTech &t)
 
std::ostream & Io::operator<< (std::ostream &s, const Action &t)
 

Macro Definition Documentation

◆ FILEMGR_CALLBACK_ARGS

#define FILEMGR_CALLBACK_ARGS   const Io::FileAttr*, const std::string&

Definition at line 272 of file IFileMgr.h.