Open CASCADE Technology  7.5.0
Functions
StepFile_Read.hxx File Reference
#include <iostream>
#include <StepData_StepModel.hxx>
#include <StepData_FileRecognizer.hxx>
#include <StepData_Protocol.hxx>

Functions

void StepFile_ReadTrace (const Standard_Integer mode)
 
Standard_Integer StepFile_Read (const char *theName, std::istream *theIStream, const Handle< StepData_StepModel > &theModel, const Handle< StepData_Protocol > &theProtocol)
 Working function reading STEP file or stream. More...
 

Function Documentation

◆ StepFile_Read()

Standard_Integer StepFile_Read ( const char *  theName,
std::istream *  theIStream,
const Handle< StepData_StepModel > &  theModel,
const Handle< StepData_Protocol > &  theProtocol 
)

Working function reading STEP file or stream.

Parameters
theName- name of the file or stream
theIStream- pointer to stream to read; if null, file theName will be opened
theModel- STEP model
theProtocol- STEP protocol object
Returns
0 on success, -1 if stream fails, 1 in case of parsing error

◆ StepFile_ReadTrace()

void StepFile_ReadTrace ( const Standard_Integer  mode)