Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
POSIXFileHandler.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
12 // POSIXFileHandler.h
13 // Provides open/close/reopen functions for POSIX (ASCII) files
14 //
15 // Author: C.Leggett
17 
18 #pragma once
19 
20 #include <GaudiKernel/IFileMgr.h>
22 #include <GaudiKernel/MsgStream.h>
23 
24 #include <string>
25 
27 
28 public:
30 
31  Io::open_t openPOSIXFile( const std::string& n, const Io::IoFlags& f, const std::string& desc, Io::Fd& fd,
32  void*& ptr );
33 
36 
37 private:
39  int m_level;
40 };
IMessageSvc
Definition: IMessageSvc.h:34
Io::open_t
int open_t
Definition: IFileMgr.h:230
gaudirun.fd
fd
Definition: gaudirun.py:630
POSIXFileHandler::reopenPOSIXFile
Io::reopen_t reopenPOSIXFile(Io::Fd fd, const Io::IoFlags &)
Definition: POSIXFileHandler.cpp:106
POSIXFileHandler::m_level
int m_level
Definition: POSIXFileHandler.h:39
IFileMgr.h
POSIXFileHandler::POSIXFileHandler
POSIXFileHandler(IMessageSvc *)
Definition: POSIXFileHandler.cpp:25
IMessageSvc.h
Io::reopen_t
int reopen_t
Definition: IFileMgr.h:232
POSIXFileHandler::closePOSIXFile
Io::close_t closePOSIXFile(Io::Fd fd)
Definition: POSIXFileHandler.cpp:86
Io::Fd
int Fd
Definition: IFileMgr.h:158
Io::close_t
int close_t
Definition: IFileMgr.h:231
MsgStream
Definition: MsgStream.h:29
POSIXFileHandler
Definition: POSIXFileHandler.h:26
cpluginsvc.n
n
Definition: cpluginsvc.py:234
POSIXFileHandler::m_log
MsgStream m_log
Definition: POSIXFileHandler.h:38
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:32
Io::IoFlags
Definition: IFileMgr.h:43
MsgStream.h