1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0032099: Visualization - define OSD_FileSystem class managing opening of file streams

1) Remove unnecessary includes of "Standard_OStream.hxx" file and add it only into files where it is really used.
2) Create the base interface for a file stream provider OSD_FileSystem and its inheritor OSD_CachedFileSystem that keeping last stream to be reused for opening a stream with the same URL.
3) Use OSD_CachedFileSystem object instead of RWGltf_GltfSharedIStream during Gltf reading.
This commit is contained in:
osa
2021-02-05 17:51:17 +03:00
committed by bugmaster
parent 9ee2481598
commit 92f8ec2f01
23 changed files with 712 additions and 41 deletions

View File

@@ -23,7 +23,6 @@
#include <Standard_CLocaleSentry.hxx>
#include <Standard_CString.hxx>
#include <Standard_Type.hxx>
#include <Standard_OStream.hxx>
#include <string.h>
#include <stdarg.h>

View File

@@ -25,7 +25,6 @@
#define _Standard_ExtCharacter_HeaderFile
#include <Standard_TypeDef.hxx>
#include <Standard_OStream.hxx>
#include <string.h>

View File

@@ -14,7 +14,6 @@
// commercial license or contractual agreement.
#include <Standard_Mutex.hxx>
#include <Standard_OStream.hxx>
#include <errno.h>

View File

@@ -18,7 +18,6 @@
#include <Standard_NumericError.hxx>
#include <Standard_NullValue.hxx>
#include <Standard_Stream.hxx>
#include <Standard_OStream.hxx>
static const Standard_Real ACosLimit = 1. + Epsilon(1.);

View File

@@ -16,7 +16,6 @@
#include <Standard_RangeError.hxx>
#include <Standard_NullValue.hxx>
#include <Standard_Stream.hxx>
#include <Standard_OStream.hxx>
//============================================================================
// function : HashCode