Open CASCADE Technology
7.6.0
|
Provides a way to dump entities processed through STEP, with these features : More...
#include <StepData_StepDumper.hxx>
Public Member Functions | |
StepData_StepDumper (const Handle< StepData_StepModel > &amodel, const Handle< StepData_Protocol > &protocol, const Standard_Integer mode=0) | |
Creates a StepDumper, able to work on a given StepModel (which defines the total scope for dumping entities) and a given Protocol from Step (which defines the authorized types to be dumped) <mode> commands what is to be displayed (number or label) 0 for number (and corresponding labels are displayed apart) 1 for label (and corresponding numbers are displayed apart) 2 for label without anymore. More... | |
StepData_StepWriter & | StepWriter () |
Gives an access to the tool which is used to work : this allow to acts on some parameters : Floating Format, Scopes ... More... | |
Standard_Boolean | Dump (Standard_OStream &S, const Handle< Standard_Transient > &ent, const Standard_Integer level) |
Dumps a Entity on an Messenger. Returns True if success, False, if the entity to dump has not been recognized by the Protocol. <level> can have one of these values : More... | |
Standard_Boolean | Dump (Standard_OStream &S, const Standard_Integer num, const Standard_Integer level) |
Works as Dump with a Transient, but directly takes the entity designated by its number in the Model Returns False, also if <num> is out of range. More... | |
Provides a way to dump entities processed through STEP, with these features :
StepData_StepDumper::StepData_StepDumper | ( | const Handle< StepData_StepModel > & | amodel, |
const Handle< StepData_Protocol > & | protocol, | ||
const Standard_Integer | mode = 0 |
||
) |
Creates a StepDumper, able to work on a given StepModel (which defines the total scope for dumping entities) and a given Protocol from Step (which defines the authorized types to be dumped) <mode> commands what is to be displayed (number or label) 0 for number (and corresponding labels are displayed apart) 1 for label (and corresponding numbers are displayed apart) 2 for label without anymore.
Standard_Boolean StepData_StepDumper::Dump | ( | Standard_OStream & | S, |
const Handle< Standard_Transient > & | ent, | ||
const Standard_Integer | level | ||
) |
Dumps a Entity on an Messenger. Returns True if success, False, if the entity to dump has not been recognized by the Protocol. <level> can have one of these values :
For levels 1,2,3, the numbers displayed (form #nnn) are the numbers of the corresponding entities in the Model
Standard_Boolean StepData_StepDumper::Dump | ( | Standard_OStream & | S, |
const Standard_Integer | num, | ||
const Standard_Integer | level | ||
) |
Works as Dump with a Transient, but directly takes the entity designated by its number in the Model Returns False, also if <num> is out of range.
StepData_StepWriter& StepData_StepDumper::StepWriter | ( | ) |
Gives an access to the tool which is used to work : this allow to acts on some parameters : Floating Format, Scopes ...