1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0028887: TKJT - add option to cache file content

Added new auxiliary class Standard_ArrayStreamBuffer implementing
std::streambuf interface for defining std::istream from allocated memory.
This commit is contained in:
kgv
2017-07-03 20:22:56 +03:00
committed by bugmaster
parent da67ffb75a
commit a5460e9d98
6 changed files with 428 additions and 0 deletions

15
tests/bugs/xde/bug28887_1 Normal file
View File

@@ -0,0 +1,15 @@
puts "=========="
puts "OCC28887 Test case for Standard_ArrayStreamBuffer class - streaming interface for reading from allocated memory block"
puts "=========="
puts ""
pload QAcommands VISUALIZATION
OCC28887 [locate_data_file face.brep] f
vclear
vclose ALL
vinit View1
vaxo
vdisplay -dispMode 1 f
vfit
vdump $::imagedir/${::casename}.png

16
tests/bugs/xde/bug28887_2 Normal file
View File

@@ -0,0 +1,16 @@
puts "=========="
puts "OCC28887 Test case for Standard_ArrayStreamBuffer class - streaming interface for reading from allocated memory block"
puts "=========="
puts ""
pload QAcommands VISUALIZATION DCAF
catch { Close doc }
OCC28887 [locate_data_file bug23384-doc_subshapes.xbf] doc
vclear
vclose ALL
XShow doc
vaxo
vfit
vsetdispmode 1
vdump $::imagedir/${::casename}.png