#include <MEDMEM_Med_i.hxx>

Public Member Functions | |
| MED_i () | |
| ~MED_i () | |
| void | init (SALOMEDS::Study_ptr myStudy, driverTypes driverType, const string &fileName) |
| void | initWithFieldType (SALOMEDS::Study_ptr myStudy, driverTypes driverType, const string &fileName, bool persistence=false) |
| void | addInStudy (SALOMEDS::Study_ptr myStudy, SALOME_MED::MED_ptr myIor, SALOMEDS::SComponent_ptr mySComp, const char *medObjName) throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection) |
| SALOME_MED::SUPPORT_ptr | getSupport (string meshName, MED_EN::medEntityMesh entity, const string name="") throw (SALOME::SALOME_Exception) |
| CORBA::Long | getNumberOfMeshes () throw (SALOME::SALOME_Exception) |
| CORBA::Long | getNumberOfFields () throw (SALOME::SALOME_Exception) |
| SALOME_TYPES::ListOfString * | getMeshNames () throw (SALOME::SALOME_Exception) |
| SALOME_TYPES::ListOfString * | getFieldNames () throw (SALOME::SALOME_Exception) |
| SALOME_MED::GMESH_ptr | getMeshByName (const char *meshName) throw (SALOME::SALOME_Exception) |
| SALOME_MED::GMESH_ptr | getMesh (SALOME_MED::FIELD_ptr fieldPtr) throw (SALOME::SALOME_Exception) |
| CORBA::Long | getFieldNumberOfIteration (const char *fieldName) throw (SALOME::SALOME_Exception) |
| SALOME_TYPES::ListOfLong * | getFieldIteration (const char *fieldName, CORBA::Long i) throw (SALOME::SALOME_Exception) |
| SALOME_TYPES::ListOfLong * | getFieldIterations (const char *fieldName) throw (SALOME::SALOME_Exception) |
| SALOME_MED::FIELD_ptr | getField (const char *fieldName, CORBA::Long pasTemps, CORBA::Long numOrdre) throw (SALOME::SALOME_Exception) |
| CORBA::Long | addDriver (SALOME_MED::medDriverTypes driverType, const char *fileName) throw (SALOME::SALOME_Exception) |
| void | rmDriver (CORBA::Long i) throw (SALOME::SALOME_Exception) |
| void | readFileStruct (CORBA::Long i) throw (SALOME::SALOME_Exception) |
| void | writeFrom (CORBA::Long i) throw (SALOME::SALOME_Exception) |
| void | write (CORBA::Long i) throw (SALOME::SALOME_Exception) |
| void | addMesh (SALOME_MED::GMESH_ptr ptrMesh) throw (SALOME::SALOME_Exception) |
| void | addField (SALOME_MED::FIELD_ptr ptrField) throw (SALOME::SALOME_Exception) |
| void | addInStudy (SALOMEDS::Study_ptr myStudy, SALOME_MED::MED_ptr myIor) throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection) |
Protected Attributes | |
| MEDFILEBROWSER | _med |
| map< string,::MEDMEM::GMESH * > | _medmem_meshes |
| vector< ::MEDMEM::FIELD_ * > | _medmem_fields |
| string | _medId |
| map< string, SALOME_MED::GMESH_ptr > | _meshes |
| map< string, map < MED_EN::medEntityMesh, SALOME_MED::SUPPORT_ptr > > | _supports |
| map< string, MAP_IOR_DT_IT_ > | _fields |
| MED_i::MED_i | ( | ) |
Default constructor
| MED_i::~MED_i | ( | ) |
| void MEDMEM.MED_i.init | ( | SALOMEDS::Study_ptr | myStudy, |
| driverTypes | driverType, | ||
| const string & | fileName | ||
| ) |
| void MED_i::initWithFieldType | ( | SALOMEDS::Study_ptr | myStudy, |
| driverTypes | driverType, | ||
| const string & | fileName, | ||
| bool | persistence = false |
||
| ) |
methods
References MEDMEM.SUPPORT_i.addInStudy(), MEDMEM.GMESH_i.addInStudy(), med_test1.begin, MEDMEM.GRID.convertInMESH(), MEDMEM.DT_IT_.dt, med_opsupp_test.entity, Med_Gen_test.fileName, MEDMEM.DT_IT_.it, MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_ALL_ENTITIES, MEDMEM.MED_DRIVER, MED_EXCEPTION, MED_EN.MED_INT32, MED_EN.MED_REEL64, MED_test2.mesh, MED_EN.meshEntities, Med_Gen_test.meshName, MESSAGE, Med_Gen_test.supportName, and medClient_test.type.
| void MED_i::addInStudy | ( | SALOMEDS::Study_ptr | myStudy, |
| SALOME_MED::MED_ptr | myIor, | ||
| SALOMEDS::SComponent_ptr | medfather, | ||
| const char * | fileName | ||
| ) | throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection) |
CORBA: Add Med object in Study with a name medObjName
FOR PERSISTANCE: if fileName is NULL string, looks for a SObject with a suitable name and bad IOR and update the IOR
References ASSERT, Med_Gen_test.fileName, init, MEDCouplingCorbaSwigTestClt.ior, Med_Gen_test.medObj, MESSAGE, medClient_test.name, and TestMedCorba1.orb.
| SALOME_MED::SUPPORT_ptr MEDMEM.MED_i.getSupport | ( | string | meshName, |
| MED_EN::medEntityMesh | entity, | ||
| const string | name = "" |
||
| ) | throw (SALOME::SALOME_Exception) |
| CORBA::Long MED_i::getNumberOfMeshes | ( | void | ) | throw (SALOME::SALOME_Exception) |
References MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long MED_i::getNumberOfFields | ( | void | ) | throw (SALOME::SALOME_Exception) |
References MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_TYPES::ListOfString * MED_i::getMeshNames | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for meshes names
References MESSAGE, batchmode_medcorba_test.nbMeshes, and MEDMEM.MEDEXCEPTION.what().
| SALOME_TYPES::ListOfString * MED_i::getFieldNames | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for fields names
References MESSAGE, batchmode_medcorba_test.nbFields, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::GMESH_ptr MED_i::getMeshByName | ( | const char * | meshName | ) | throw (SALOME::SALOME_Exception) |
References MEDMEM.MED_DRIVER, Med_Gen_test.meshName, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::GMESH_ptr MED_i::getMesh | ( | SALOME_MED::FIELD_ptr | fieldPtr | ) | throw (SALOME::SALOME_Exception) |
| CORBA::Long MED_i::getFieldNumberOfIteration | ( | const char * | fieldName | ) | throw (SALOME::SALOME_Exception) |
References Med_Gen_test.fieldName, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_TYPES::ListOfLong * MED_i::getFieldIteration | ( | const char * | fieldName, |
| CORBA::Long | i | ||
| ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for the Corba equivalent DT_IT_ (see MEDMEM direcrtory) of a given field by its name and its number (sequence of two long integers).
References Med_Gen_test.fieldName, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_TYPES::ListOfLong * MED_i::getFieldIterations | ( | const char * | fieldName | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for the list of Corba equivalent DT_IT_ (see MEDMEM direcrtory) of a given field by its name (sequence of two by iteration number long integers).
References Med_Gen_test.fieldName, medClient_test.index, MESSAGE, test_NonCoincidentDEC.size, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::FIELD_ptr MED_i::getField | ( | const char * | fieldName, |
| CORBA::Long | pasTemps, | ||
| CORBA::Long | numOrdre | ||
| ) | throw (SALOME::SALOME_Exception) |
References MEDMEM.DT_IT_.dt, Med_Gen_test.fieldName, and MEDMEM.DT_IT_.it.
| CORBA::Long MED_i::addDriver | ( | SALOME_MED::medDriverTypes | driverType, |
| const char * | fileName | ||
| ) | throw (SALOME::SALOME_Exception) |
| void MED_i::rmDriver | ( | CORBA::Long | i | ) | throw (SALOME::SALOME_Exception) |
| void MED_i::readFileStruct | ( | CORBA::Long | i | ) | throw (SALOME::SALOME_Exception) |
| void MED_i::writeFrom | ( | CORBA::Long | i | ) | throw (SALOME::SALOME_Exception) |
| void MED_i::write | ( | CORBA::Long | i | ) | throw (SALOME::SALOME_Exception) |
| void MED_i::addMesh | ( | SALOME_MED::GMESH_ptr | ptrMesh | ) | throw (SALOME::SALOME_Exception) |
| void MED_i::addField | ( | SALOME_MED::FIELD_ptr | ptrField | ) | throw (SALOME::SALOME_Exception) |
| void MED_i::addInStudy | ( | SALOMEDS::Study_ptr | myStudy, |
| SALOME_MED::MED_ptr | myIor | ||
| ) | throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection) |
References ASSERT, init, MESSAGE, and TestMedCorba1.orb.
MEDFILEBROWSER MEDMEM.MED_i._med [protected] |
map<string, ::MEDMEM::GMESH* > MEDMEM.MED_i._medmem_meshes [protected] |
vector< ::MEDMEM::FIELD_* > MEDMEM.MED_i._medmem_fields [protected] |
string MEDMEM.MED_i._medId [protected] |
map<string,SALOME_MED::GMESH_ptr> MEDMEM.MED_i._meshes [protected] |
map<string,map<MED_EN::medEntityMesh,SALOME_MED::SUPPORT_ptr> > MEDMEM.MED_i._supports [protected] |
map<string,MAP_IOR_DT_IT_> MEDMEM.MED_i._fields [protected] |