| The Gaudi Framework v32r1 (f65d50dc)

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/IFileMgr.h"
12 #include "GaudiKernel/IMessageSvc.h"
13 #include "GaudiKernel/MsgStream.h"
14
15 #include <string>
16
17 class POSIXFileHandler {
18
19 public:
20 POSIXFileHandler( IMessageSvc* );
21
22 Io::open_t openPOSIXFile( const std::string& n, const Io::IoFlags& f, const std::string& desc, Io::Fd& fd,
23 void*& ptr );
24
25 Io::close_t closePOSIXFile( Io::Fd fd );
26 Io::reopen_t reopenPOSIXFile( Io::Fd fd, const Io::IoFlags& );
27
28 private:
29 MsgStream m_log;
30 int m_level;
31 };
32
33 #endif
POSIXFileHandler::closePOSIXFile
Io::close_t closePOSIXFile(Io::Fd fd)
Definition: POSIXFileHandler.cpp:76
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:96
gaudirun.fd
fd
Definition: gaudirun.py:559
MsgStream.h
Io::reopen_t
int reopen_t
Definition: IFileMgr.h:235
Io::Fd
int Fd
Definition: IFileMgr.h:159
POSIXFileHandler::POSIXFileHandler
POSIXFileHandler(IMessageSvc *)
Definition: POSIXFileHandler.cpp:15
Io::open_t
int open_t
Definition: IFileMgr.h:233
POSIXFileHandler
Definition: POSIXFileHandler.h:17
std::string
STL class.
POSIXFileHandler::m_level
int m_level
Definition: POSIXFileHandler.h:30
GaudiPluginService.cpluginsvc.n
n
Definition: cpluginsvc.py:210
POSIXFileHandler::m_log
MsgStream m_log
Definition: POSIXFileHandler.h:29
Io::IoFlags
Definition: IFileMgr.h:40
IMessageSvc
The IMessage is the interface implemented by the message service.
Definition: IMessageSvc.h:37
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:22
IFileMgr.h
Io::close_t
int close_t
Definition: IFileMgr.h:234