Open CASCADE Technology  7.7.0.dev
Data Structures

OSD_CachedFileSystem.hxx File Reference

#include <OSD_FileSystem.hxx>

Data Structures

class  OSD_CachedFileSystem
 File system keeping last stream created by linked file system (OSD_FileSystem::DefaultFileSystem() by default) to be reused for opening a stream with the same URL. Note that as file is kept in opened state, application will need destroying this object to ensure all files being closed. This interface could be handy in context of reading numerous objects pointing to the same file (at different offset). Make sure to create a dedicated OSD_CachedFileSystem for each working thread to avoid data races. More...
 
struct  OSD_CachedFileSystem::OSD_CachedStream