| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
POSIXFileHandler.h
Go to the documentation of this file.
1
2 // POSIXFileHandler.h
3 // Provides open/close/reopen functions for POSIX (ASCII) files
4 //
5 // Author: C.Leggett
7
8 #ifndef GAUDISVC_POSIXFILEHANDLER_H
9 #define GAUDISVC_POSIXFILEHANDLER_H 1
10
11 #include "GaudiKernel/IMessageSvc.h"
12 #include "GaudiKernel/MsgStream.h"
13 #include "GaudiKernel/IFileMgr.h"
14
15 #include <string>
16
17 class POSIXFileHandler {
18
19 public:
20
21 POSIXFileHandler(IMessageSvc*);
22
23 Io::open_t openPOSIXFile(const std::string& n, const Io::IoFlags& f,
24 const std::string& desc, Io::Fd& fd,
25 void*& ptr);
26
27 Io::close_t closePOSIXFile(Io::Fd fd);
28 Io::reopen_t reopenPOSIXFile(Io::Fd fd, const Io::IoFlags&);
29
30 private:
31 MsgStream m_log;
32 int m_level;
33 };
34
35 #endif