#include <StepSelect_WorkLibrary.hxx>
Inheritance diagram for StepSelect_WorkLibrary:
Public Member Functions | |
Standard_EXPORT | StepSelect_WorkLibrary (const Standard_Boolean copymode=Standard_True) |
Creates a STEP WorkLibrary <copymode> precises whether Copy is implemented or not . | |
Standard_EXPORT void | SetDumpLabel (const Standard_Integer mode) |
Selects a mode to dump entities 0 (D) : prints numbers, then displays table number/label 1 : prints labels, then displays table label/number 2 : prints labels onky . | |
Standard_EXPORT Standard_Integer | ReadFile (const Standard_CString name, Handle(Interface_InterfaceModel)&model, const Handle(Interface_Protocol)&protocol) const |
Reads a STEP File and returns a STEP Model (into <mod>), or lets <mod> "Null" in case of Error Returns 0 if OK, 1 if Read Error, -1 if File not opened . | |
Standard_EXPORT Standard_Boolean | WriteFile (IFSelect_ContextWrite &ctx) const |
Writes a File from a STEP Model Returns False (and writes no file) if <ctx> does not bring a STEP Model . | |
virtual Standard_EXPORT Standard_Boolean | CopyModel (const Handle(Interface_InterfaceModel)&original, const Handle(Interface_InterfaceModel)&newmodel, const Interface_EntityIterator &list, Interface_CopyTool &TC) const |
Performs the copy of entities from an original model to a new one. Works according <copymode> : if True, standard copy is run else nothing is done and returned value is False . | |
Standard_EXPORT void | DumpEntity (const Handle(Interface_InterfaceModel)&model, const Handle(Interface_Protocol)&protocol, const Handle(Standard_Transient)&entity, const Handle(Message_Messenger)&S, const Standard_Integer level) const |
Dumps an entity under STEP form, i.e. as a part of a Step file Works with a StepDumper. Level 0 just displays type; level 1 displays the entity itself and level 2 displays the entity plus its shared ones (one sub-level : immediately shared entities) . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Standard_Boolean | thecopymode |
Standard_Integer | thelabmode |
|
|
|
Reimplemented from IFSelect_WorkLibrary. |
|
Implements IFSelect_WorkLibrary. |
|
Reimplemented from IFSelect_WorkLibrary. |
|
Implements IFSelect_WorkLibrary. |
|
|
|
Implements IFSelect_WorkLibrary. |
|
|
|
|