Salome HOME
PAL7360
[modules/geom.git] / src / GEOM_I / GEOM_IInsertOperations_i.hh
1
2 #ifndef _GEOM_IInsertOperations_i_HeaderFile
3 #define _GEOM_IInsertOperations_i_HeaderFile
4
5
6 #include <SALOMEconfig.h>
7
8 #include CORBA_SERVER_HEADER(GEOM_Gen)
9 #include "GEOM_IOperations_i.hh"
10 #include "GEOM_Object_i.hh"
11
12 #include "GEOMImpl_IInsertOperations.hxx"
13
14 class GEOM_IInsertOperations_i : 
15     public virtual POA_GEOM::GEOM_IInsertOperations,
16     public virtual GEOM_IOperations_i
17 {
18  public:
19   GEOM_IInsertOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
20                            ::GEOMImpl_IInsertOperations* theImpl);
21   ~GEOM_IInsertOperations_i();
22
23   GEOM::GEOM_Object_ptr MakeCopy (GEOM::GEOM_Object_ptr theOriginal);
24
25   void                  Export (GEOM::GEOM_Object_ptr theOriginal,
26                                 const char*           theFileName,
27                                 const char*           theFormatName);
28
29   GEOM::GEOM_Object_ptr Import (const char* theFileName,
30                                 const char* theFormatName);
31
32   void ImportTranslators (GEOM::string_array_out theFormats,
33                           GEOM::string_array_out thePatterns);
34
35   void ExportTranslators (GEOM::string_array_out theFormats,
36                           GEOM::string_array_out thePatterns);
37
38   ::GEOMImpl_IInsertOperations* GetOperations()
39   { return (::GEOMImpl_IInsertOperations*)GetImpl(); }
40 };
41
42 #endif