DiscussionsIssue archiveOCCT:Visualization

Archived issue #0032099

Visualization - define OSD_FileSystem class managing opening of file streams

Open CASCADEOCCT:Visualizationclosed20 public notes

Search issues

Description

Add new classes to handle std::istream/ostream/iostream and some file system to manage files opening.

Steps to reproduce

Not required

Public activity

20 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Jan 29 18:04:51 2021 +0300

    0032099: Visualization - create file stream system
02Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Thu Feb 4 17:30:17 2021 +0300

    0032099: Visualization - create file stream system
    
    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 to some possible file system OSD_FileSystem and its inheritor OSD_CachedFileSystem that caches previously opened stream
    and can reuse it during next opening operations.
    3) Use OSD_CachedFileSystem object instead of RWGltf_GltfSharedIStream during Gltf reading.
03Commenter 3
The patches are ready to review:
- OCCT: CR32099_1
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
04Commenter 4
05Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Feb 5 17:51:17 2021 +0300

    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.
06Commenter 6
The patches were updated and are ready to review:
- OCCT: CR32099_2
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
07Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
08Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
09Commenter 2
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Feb 8 14:30:22 2021 +0300

    #kgv remarks

10Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Feb 5 17:51:17 2021 +0300

    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.
11Commenter 11
The patches were updated and are ready to review:
- OCCT: CR32099_3
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
12Commenter 12
13Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
14Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
15Commenter 2
Branch [archived branch] has been updated by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Thu Feb 11 13:35:10 2021 +0300

    fix compilation for VC2008

16Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17805.430000000237 / 17802.420000000013 [+0.02%]
Products
Total CPU difference: 11513.250000000124 / 11523.070000000105 [-0.09%]
Windows-64-VC14:
OCCT
Total CPU difference: 19375.296875 / 19372.265625 [+0.02%]
Products
Total CPU difference: 12857.265625 / 12882.921875 [-0.20%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
17Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]
18Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]
19Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]
20Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records