Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _GEOM_IInsertOperations_i_HeaderFile
00024 #define _GEOM_IInsertOperations_i_HeaderFile
00025
00026 #include "GEOMImpl_Gen.hxx"
00027
00028 #include <SALOMEconfig.h>
00029
00030 #include CORBA_SERVER_HEADER(GEOM_Gen)
00031 #include CORBA_CLIENT_HEADER(SALOMEDS)
00032 #include "GEOM_IOperations_i.hh"
00033 #include "GEOM_Object_i.hh"
00034
00035 #include "GEOMImpl_IInsertOperations.hxx"
00036
00037 class GEOM_I_EXPORT GEOM_IInsertOperations_i :
00038 public virtual POA_GEOM::GEOM_IInsertOperations,
00039 public virtual GEOM_IOperations_i
00040 {
00041 public:
00042 GEOM_IInsertOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
00043 ::GEOMImpl_IInsertOperations* theImpl);
00044 ~GEOM_IInsertOperations_i();
00045
00046 GEOM::GEOM_Object_ptr MakeCopy (GEOM::GEOM_Object_ptr theOriginal);
00047
00048 void Export (GEOM::GEOM_Object_ptr theOriginal,
00049 const char* theFileName,
00050 const char* theFormatName);
00051
00052 GEOM::GEOM_Object_ptr ImportFile (const char* theFileName,
00053 const char* theFormatName);
00054
00055 void ImportTranslators (GEOM::string_array_out theFormats,
00056 GEOM::string_array_out thePatterns);
00057
00058 void ExportTranslators (GEOM::string_array_out theFormats,
00059 GEOM::string_array_out thePatterns);
00060
00061 CORBA::Long LoadTexture(const char* theTextureFile);
00062 CORBA::Long AddTexture(CORBA::Long theWidth, CORBA::Long theHeight,
00063 const SALOMEDS::TMPFile& theTexture);
00064 SALOMEDS::TMPFile* GetTexture(CORBA::Long theID,
00065 CORBA::Long& theWidth,
00066 CORBA::Long& theHeight);
00067
00068 GEOM::ListOfLong* GetAllTextures();
00069
00070 ::GEOMImpl_IInsertOperations* GetOperations()
00071 { return (::GEOMImpl_IInsertOperations*)GetImpl(); }
00072 };
00073
00074 #endif