| The Gaudi Framework v28r2p1 (f1a77ff4)

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

- File List
- File Members

POSIXFileHandler.h
Go to the documentation of this file.
1 // 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
POSIXFileHandler::closePOSIXFile
Io::close_t closePOSIXFile(Io::Fd fd)
Definition: POSIXFileHandler.cpp:95
MsgStream
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
POSIXFileHandler::reopenPOSIXFile
Io::reopen_t reopenPOSIXFile(Io::Fd fd, const Io::IoFlags &)
Definition: POSIXFileHandler.cpp:124
gaudirun.fd
fd
Definition: gaudirun.py:459
MsgStream.h
Io::reopen_t
int reopen_t
Definition: IFileMgr.h:254
Io::Fd
int Fd
Definition: IFileMgr.h:172
POSIXFileHandler::POSIXFileHandler
POSIXFileHandler(IMessageSvc *)
Definition: POSIXFileHandler.cpp:16
Io::open_t
int open_t
Definition: IFileMgr.h:252
POSIXFileHandler
Definition: POSIXFileHandler.h:17
std::string
STL class.
POSIXFileHandler::m_level
int m_level
Definition: POSIXFileHandler.h:32
GaudiPluginService.cpluginsvc.n
n
Definition: cpluginsvc.py:217
POSIXFileHandler::m_log
MsgStream m_log
Definition: POSIXFileHandler.h:31
Io::IoFlags
Definition: IFileMgr.h:39
IMessageSvc
The IMessage is the interface implemented by the message service.
Definition: IMessageSvc.h:57
IMessageSvc.h
POSIXFileHandler::openPOSIXFile
Io::open_t openPOSIXFile(const std::string &n, const Io::IoFlags &f, const std::string &desc, Io::Fd &fd, void *&ptr)
Definition: POSIXFileHandler.cpp:27
IFileMgr.h
Io::close_t
int close_t
Definition: IFileMgr.h:253