]> OCCT Git - occt-copy.git/commit
STEP - support C++ streams for import / export CR30397_720
authorimn <imn@opencascade.com>
Wed, 6 Apr 2016 13:09:55 +0000 (16:09 +0300)
committerika <ika@opencascade.com>
Tue, 11 Dec 2018 12:27:59 +0000 (15:27 +0300)
commitd38eddc38fe88f2c2ee3780f515766ab02445cb6
treef485550da4ad939f5613219b7a1cbe434fec7b7c
parentd2c909178edea381a99889edd7d75b57f4cdf4d3
STEP - support C++ streams for import / export

- New possibility to import STEP from stream.
- Update STEP low-level parser, using bison/flex generator from C to C++.

Add new method ReadStream(const Standard_CString filename, std::istream* istream) for all necessary classes to access main StepFile_Read() function with using stream.
30 files changed:
src/IFSelect/IFSelect_WorkLibrary.cxx
src/IFSelect/IFSelect_WorkLibrary.hxx
src/IFSelect/IFSelect_WorkSession.cxx
src/IFSelect/IFSelect_WorkSession.hxx
src/StepFile/FILES
src/StepFile/FlexLexer.h [new file with mode: 0644]
src/StepFile/StepFile_CallFailure.cxx
src/StepFile/StepFile_CallFailure.hxx
src/StepFile/StepFile_Read.cxx
src/StepFile/StepFile_Read.hxx
src/StepFile/lex.step.c [deleted file]
src/StepFile/lex.step.cxx [new file with mode: 0644]
src/StepFile/location.hh [new file with mode: 0644]
src/StepFile/position.hh [new file with mode: 0644]
src/StepFile/recfile.pc
src/StepFile/scanner.hpp [new file with mode: 0644]
src/StepFile/stack.hh [new file with mode: 0644]
src/StepFile/step.lex
src/StepFile/step.tab.c [deleted file]
src/StepFile/step.tab.cxx [new file with mode: 0644]
src/StepFile/step.tab.h [deleted file]
src/StepFile/step.tab.hxx [new file with mode: 0644]
src/StepFile/step.yacc
src/StepFile/stepread.c [deleted file]
src/StepFile/stepread.cxx [new file with mode: 0644]
src/StepFile/stepread.ph
src/StepSelect/StepSelect_WorkLibrary.cxx
src/StepSelect/StepSelect_WorkLibrary.hxx
src/XSControl/XSControl_Reader.cxx
src/XSControl/XSControl_Reader.hxx