2 #ifndef _GEOMImpl_IInsertOperations_HXX_
3 #define _GEOMImpl_IInsertOperations_HXX_
5 #include "Utils_SALOME_Exception.hxx"
6 #include "GEOM_IOperations.hxx"
7 #include "GEOM_Engine.hxx"
8 #include "GEOM_Object.hxx"
9 #include <TDocStd_Document.hxx>
10 #include <TColStd_HSequenceOfAsciiString.hxx>
11 #include <TCollection_HAsciiString.hxx>
12 #include <Resource_Manager.hxx>
14 class GEOMImpl_IInsertOperations : public GEOM_IOperations {
16 GEOMImpl_IInsertOperations(GEOM_Engine* theEngine, int theDocID);
17 ~GEOMImpl_IInsertOperations();
20 Handle(GEOM_Object) MakeCopy (Handle(GEOM_Object) theOriginal);
22 Handle(GEOM_Object) Import (const char* theFileName, const char* theFormatType);
24 void Export (const Handle(GEOM_Object) theOriginal,
25 const char* theFileName,
26 const char* theFormatType);
28 Standard_Boolean ImportTranslators (Handle(TColStd_HSequenceOfAsciiString)& theFormats,
29 Handle(TColStd_HSequenceOfAsciiString)& thePatterns);
31 Standard_Boolean ExportTranslators (Handle(TColStd_HSequenceOfAsciiString)& theFormats,
32 Handle(TColStd_HSequenceOfAsciiString)& thePatterns);
34 Standard_Boolean IsSupported (const Standard_Boolean isImport,
35 const TCollection_AsciiString theFormat,
36 Handle(TCollection_HAsciiString)& theLibName);
39 Standard_Boolean InitResMgr ();
42 Handle(Resource_Manager) myResMgr;