Extend IFileAccess interface with a `read` function
`IFileAccess;:read` returns an `optional<string>` with the content of the requested file -- if it can be read. Otherwise it returns an 'empty' optional.
Showing
- GaudiKernel/include/GaudiKernel/IFileAccess.h 12 additions, 2 deletionsGaudiKernel/include/GaudiKernel/IFileAccess.h
- GaudiKernel/include/GaudiKernel/ServiceHandle.h 1 addition, 3 deletionsGaudiKernel/include/GaudiKernel/ServiceHandle.h
- GaudiUtils/src/component/FileReadTool.cpp 28 additions, 16 deletionsGaudiUtils/src/component/FileReadTool.cpp
- GaudiUtils/src/component/FileReadTool.h 0 additions, 36 deletionsGaudiUtils/src/component/FileReadTool.h
- GaudiUtils/src/component/VFSSvc.cpp 56 additions, 18 deletionsGaudiUtils/src/component/VFSSvc.cpp
- GaudiUtils/src/component/VFSSvc.h 0 additions, 70 deletionsGaudiUtils/src/component/VFSSvc.h
Loading
Please register or sign in to comment