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
00024
00025
00026
00027
00028
00029
00030 #ifndef _MED_SUPPORT_I_HXX_
00031 #define _MED_SUPPORT_I_HXX_
00032
00033 #include "MEDMEM_I.hxx"
00034
00035 #include <map>
00036 #include <string>
00037
00038 #include <SALOMEconfig.h>
00039
00040 #include "SALOMEMultiComm.hxx"
00041 #include "SALOME_GenericObj_i.hh"
00042 #include CORBA_SERVER_HEADER(MED)
00043 #include CORBA_SERVER_HEADER(SALOME_Comm)
00044
00045 namespace MEDMEM {
00046 class SUPPORT;
00047
00048 class MEDMEM_I_EXPORT SUPPORT_i: virtual public POA_SALOME_MED::SUPPORT,
00049 virtual public SALOMEMultiComm,
00050 virtual public SALOME::GenericObj_i
00051 {
00052 public :
00053 static std::map < int,::MEDMEM::SUPPORT *> supportMap;
00054 private :
00055 static int supportIndex;
00056
00057 protected :
00058
00059
00060 const ::MEDMEM::SUPPORT * const _support;
00061 const int _corbaIndex ;
00062 std::string _supportId ;
00063
00064 public:
00065
00066 SUPPORT_i();
00067 ~SUPPORT_i();
00068
00069
00070 SUPPORT_i(const ::MEDMEM::SUPPORT * const s);
00071 SUPPORT_i(const SUPPORT_i & s);
00072
00073
00074 char * getName() throw (SALOME::SALOME_Exception);
00075 char * getDescription() throw (SALOME::SALOME_Exception);
00076 SALOME_MED::GMESH_ptr getMesh() throw (SALOME::SALOME_Exception);
00077 CORBA::Boolean isOnAllElements() throw (SALOME::SALOME_Exception);
00078 SALOME_MED::medEntityMesh getEntity() throw (SALOME::SALOME_Exception);
00079 CORBA::Long getNumberOfElements(SALOME_MED::medGeometryElement geomElement)
00080 throw (SALOME::SALOME_Exception);
00081 CORBA::Long getNumberOfTypes()
00082 throw (SALOME::SALOME_Exception);
00083 SALOME_TYPES::ListOfLong* getNumber(SALOME_MED::medGeometryElement geomElement)
00084 throw (SALOME::SALOME_Exception);
00085
00086 SALOME_TYPES::ListOfLong* getNumberFromFile(SALOME_MED::medGeometryElement geomElement)
00087 throw (SALOME::SALOME_Exception);
00088
00089 SALOME::SenderInt_ptr getSenderForNumber(SALOME_MED::medGeometryElement geomElement)
00090 throw (SALOME::SALOME_Exception);
00091 SALOME_TYPES::ListOfLong* getNumberIndex()
00092 throw (SALOME::SALOME_Exception);
00093 SALOME::SenderInt_ptr getSenderForNumberIndex()
00094 throw (SALOME::SALOME_Exception);
00095 CORBA::Long getNumberOfGaussPoint(SALOME_MED::medGeometryElement geomElement)
00096 throw (SALOME::SALOME_Exception);
00097 SALOME_TYPES::ListOfLong* getNumbersOfGaussPoint()
00098 throw (SALOME::SALOME_Exception);
00099
00100 SALOME_MED::medGeometryElement_array* getTypes()
00101 throw (SALOME::SALOME_Exception);
00102
00103 void getBoundaryElements() throw (SALOME::SALOME_Exception);
00104
00105
00106
00107 void addInStudy (SALOMEDS::Study_ptr myStudy,
00108 SALOME_MED::SUPPORT_ptr myIor)
00109 throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection);
00110
00111 static std::string getEntryPath (const MEDMEM::SUPPORT * aSupport);
00112
00113 void release();
00114
00115 CORBA::Long getCorbaIndex() throw (SALOME::SALOME_Exception);
00116 SALOME_MED::SUPPORT::supportInfos * getSupportGlobal() throw (SALOME::SALOME_Exception);
00117 };
00118 }
00119
00120 #endif