Open CASCADE Technology 6.6.0
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

IGESSelect_WorkLibrary::IGESSelect_WorkLibrary ( const Standard_Boolean  modefnes = Standard_False)

Member Function Documentation

static Handle_IGESData_Protocol IGESSelect_WorkLibrary::DefineProtocol ( ) [static]
void IGESSelect_WorkLibrary::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 [virtual]

Implements IFSelect_WorkLibrary.

Standard_Integer IGESSelect_WorkLibrary::ReadFile ( const Standard_CString  name,
Handle< Interface_InterfaceModel > &  model,
const Handle< Interface_Protocol > &  protocol 
) const [virtual]

Implements IFSelect_WorkLibrary.

Standard_Boolean IGESSelect_WorkLibrary::WriteFile ( IFSelect_ContextWrite ctx) const [virtual]

Implements IFSelect_WorkLibrary.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines