Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
IGESSelect_WorkLibrary Class Reference

Performs Read and Write an IGES File with an IGES Model

#include <IGESSelect_WorkLibrary.hxx>

Inheritance diagram for IGESSelect_WorkLibrary:
Inheritance graph
[legend]

Public Member Functions

 IGESSelect_WorkLibrary (const Standard_Boolean modefnes=Standard_False)
 Creates a IGES WorkLibrary
If <modefnes> is given as True, it will work for FNES

Standard_Integer ReadFile (const Standard_CString name, Handle< Interface_InterfaceModel > &model, const Handle< Interface_Protocol > &protocol) const
 Reads a IGES File and returns a IGES 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_Boolean WriteFile (IFSelect_ContextWrite &ctx) const
 Writes a File from a IGES Model (brought by <ctx>)
Returns False (and writes no file) if <ctx> is not for IGES

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 IGES Entity with an IGES Dumper. <level> is the one
used by IGESDumper.

Static Public Member Functions

static Handle_IGESData_Protocol DefineProtocol ()
 Defines a protocol to be adequate for IGES
(encompasses ALL the IGES norm including IGESSolid, IGESAppli)


Constructor & Destructor Documentation


Member Function Documentation

static Handle_IGESData_Protocol IGESSelect_WorkLibrary::DefineProtocol ( ) [static]

Implements IFSelect_WorkLibrary.

Implements IFSelect_WorkLibrary.

Implements IFSelect_WorkLibrary.


The documentation for this class was generated from the following file: