]> OCCT Git - occt.git/commit
0027342: STEP - support C++ streams for import / export IR-2020-09-25
authorimn <imn@opencascade.com>
Wed, 6 Apr 2016 13:09:55 +0000 (16:09 +0300)
committerbugmaster <bugmaster@opencascade.com>
Mon, 28 Sep 2020 07:46:04 +0000 (10:46 +0300)
commit68922bccc48539a8f52e632eea1cb8ce60921dfe
treed51be5706ec4d30c58c5b46c34cc56e877e68446
parented75148574923d8044904b4e422015a64317acd2
0027342: STEP - support C++ streams for import / export

- STEP low-level parser is converted to C++; required minimal version of flex is elevated to 2.5.37.
- Added possibility to import STEP from stream, see new method XSControl_Reader::ReadStream() (now implemented in STEP only).
- Parsers ported to win_flex_bison 2.5.23 (flex 2.6.4, bison 3.7.1)
- Added support of C++ flex and bison scanners in in CMake scripts
- Some code clean-up in StepFile and around (unused files and functions are eliminated)
- Option to read from stream is added in DRAW command testreadstep for testing ReadStream() function
- Added test bugs step bug27342
38 files changed:
adm/cmake/bison.cmake
adm/cmake/flex.cmake
adm/cmake/occt_toolkit.cmake
src/ExprIntrp/ExprIntrp.tab.c
src/ExprIntrp/ExprIntrp.tab.h
src/ExprIntrp/ExprIntrp.yacc
src/ExprIntrp/lex.ExprIntrp.c
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 [deleted file]
src/StepFile/StepFile_CallFailure.hxx [deleted file]
src/StepFile/StepFile_Read.cxx
src/StepFile/StepFile_Read.hxx
src/StepFile/StepFile_Transfer.hxx [deleted file]
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/recfile.pc
src/StepFile/recfile.ph
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
src/XSDRAWSTEP/XSDRAWSTEP.cxx
tests/bugs/step/bug27342 [new file with mode: 0644]