| The Gaudi Framework v29r0 (ff2e7097)

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