#include <Med_Gen_Driver_i.hxx>

Public Member Functions | |
| Med_Gen_Driver_i (CORBA::ORB_ptr orb) | |
| virtual | ~Med_Gen_Driver_i () |
| SALOMEDS::TMPFile * | Save (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile) |
| Save data published under MED component. | |
| SALOMEDS::TMPFile * | SaveASCII (SALOMEDS::SComponent_ptr theComponent, const char *theURL, bool isMultiFile) |
| Save data published under MED component in ASCII file. | |
| CORBA::Boolean | Load (SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile &theStream, const char *theURL, bool isMultiFile) |
| CORBA::Boolean | LoadASCII (SALOMEDS::SComponent_ptr theComponent, const SALOMEDS::TMPFile &theStream, const char *theURL, bool isMultiFile) |
| void | Close (SALOMEDS::SComponent_ptr theComponent) |
| char * | IORToLocalPersistentID (SALOMEDS::SObject_ptr theSObject, const char *IORString, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII) |
| char * | LocalPersistentIDToIOR (SALOMEDS::SObject_ptr theSObject, const char *aLocalPersistentID, CORBA::Boolean isMultiFile, CORBA::Boolean isASCII) throw (SALOME::SALOME_Exception) |
| bool | CanPublishInStudy (CORBA::Object_ptr theIOR) |
| SALOMEDS::SObject_ptr | PublishInStudy (SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject, CORBA::Object_ptr theObject, const char *theName) throw (SALOME::SALOME_Exception) |
| CORBA::Boolean | CanCopy (SALOMEDS::SObject_ptr theObject) |
| SALOMEDS::TMPFile * | CopyFrom (SALOMEDS::SObject_ptr theObject, CORBA::Long &theObjectID) |
| CORBA::Boolean | CanPaste (const char *theComponentName, CORBA::Long theObjectID) |
| SALOMEDS::SObject_ptr | PasteInto (const SALOMEDS::TMPFile &theStream, CORBA::Long theObjectID, SALOMEDS::SObject_ptr theObject) |
| virtual Engines::EngineComponent_ptr | GetComponentInstance ()=0 |
Static Public Member Functions | |
| static MEDMEM::MED_i * | GetMED (SALOMEDS::SComponent_ptr theStudy) |
Protected Attributes | |
| SALOME_NamingService * | _NS |
Private Member Functions | |
| Med_Gen_Driver_i () | |
Private Attributes | |
| CORBA::ORB_ptr | _driver_orb |
Static Private Attributes | |
| static std::map< std::string, MEDMEM::MED_i * > | _MedCorbaObj |
| Med_Gen_Driver_i::Med_Gen_Driver_i | ( | ) | [private] |
default constructor: not for use
References MESSAGE.
| Med_Gen_Driver_i::Med_Gen_Driver_i | ( | CORBA::ORB_ptr | orb | ) |
| Med_Gen_Driver_i::~Med_Gen_Driver_i | ( | ) | [virtual] |
Destructor
References MESSAGE.
| MEDMEM::MED_i * Med_Gen_Driver_i::GetMED | ( | SALOMEDS::SComponent_ptr | theComponent | ) | [static] |
| SALOMEDS::TMPFile * Med_Gen_Driver_i::Save | ( | SALOMEDS::SComponent_ptr | theComponent, |
| const char * | theURL, | ||
| bool | isMultiFile | ||
| ) |
| SALOMEDS::TMPFile * Med_Gen_Driver_i::SaveASCII | ( | SALOMEDS::SComponent_ptr | theComponent, |
| const char * | theURL, | ||
| bool | isMultiFile | ||
| ) |
Save data published under MED component in ASCII file.
| theComponent | - MED component |
| theURL | - path to store |
| isMultiFile | - store mode |
| SALOMEDS.TMPFile* | - result file |
References ensightMedEnsight_test.ASCII.
| CORBA::Boolean Med_Gen_Driver_i::Load | ( | SALOMEDS::SComponent_ptr | theComponent, |
| const SALOMEDS::TMPFile & | theStream, | ||
| const char * | theURL, | ||
| bool | isMultiFile | ||
| ) |
CORBA: Load Mesh objects (called when an existing study is opened)
| CORBA::Boolean Med_Gen_Driver_i::LoadASCII | ( | SALOMEDS::SComponent_ptr | theComponent, |
| const SALOMEDS::TMPFile & | theStream, | ||
| const char * | theURL, | ||
| bool | isMultiFile | ||
| ) |
References ensightMedEnsight_test.ASCII.
| void Med_Gen_Driver_i::Close | ( | SALOMEDS::SComponent_ptr | theComponent | ) |
CORBA:
References MESSAGE.
| char * Med_Gen_Driver_i::IORToLocalPersistentID | ( | SALOMEDS::SObject_ptr | theSObject, |
| const char * | IORString, | ||
| CORBA::Boolean | isMultiFile, | ||
| CORBA::Boolean | isASCII | ||
| ) |
CORBA: give a persistent reference of a transient object (for study save)
References testGaussLocalization.a, testGaussLocalization.b, med_opsupp_test.family, MESSAGE, test_NonCoincidentDEC.size, and medClient_test.type.
| char * Med_Gen_Driver_i::LocalPersistentIDToIOR | ( | SALOMEDS::SObject_ptr | theSObject, |
| const char * | aLocalPersistentID, | ||
| CORBA::Boolean | isMultiFile, | ||
| CORBA::Boolean | isASCII | ||
| ) | throw (SALOME::SALOME_Exception) |
CORBA: give a transient reference (when loading an object, opening study)
References med_opsupp_test.entity, GetMED(), MEDMEM.MED_i.getSupport(), MEDMEM.healName(), MEDCouplingCorbaSwigTestClt.ior, MED_test2.mesh, Med_Gen_test.meshName, medClient_test.name, and medClient_test.type.
| bool Med_Gen_Driver_i::CanPublishInStudy | ( | CORBA::Object_ptr | theIOR | ) |
returns true, if can publish object
| SALOMEDS::SObject_ptr Med_Gen_Driver_i::PublishInStudy | ( | SALOMEDS::Study_ptr | theStudy, |
| SALOMEDS::SObject_ptr | theSObject, | ||
| CORBA::Object_ptr | theObject, | ||
| const char * | theName | ||
| ) | throw (SALOME::SALOME_Exception) |
publish the given object
| CORBA::Boolean Med_Gen_Driver_i::CanCopy | ( | SALOMEDS::SObject_ptr | theObject | ) |
returns true, if can copy the object
| SALOMEDS::TMPFile * Med_Gen_Driver_i::CopyFrom | ( | SALOMEDS::SObject_ptr | theObject, |
| CORBA::Long & | theObjectID | ||
| ) |
create copy of the object and put it to the stream
References SALOME_MED.MED_DRIVER.
| CORBA::Boolean Med_Gen_Driver_i::CanPaste | ( | const char * | theComponentName, |
| CORBA::Long | theObjectID | ||
| ) |
returns true, if can copy the object
| SALOMEDS::SObject_ptr Med_Gen_Driver_i::PasteInto | ( | const SALOMEDS::TMPFile & | theStream, |
| CORBA::Long | theObjectID, | ||
| SALOMEDS::SObject_ptr | theObject | ||
| ) |
returns true, if can copy the object
References MEDMEM.GMESH_i.addInStudy(), MEDMEM.MED_MESH_DRIVER.close(), MESSAGE, MEDMEM.MED_MESH_DRIVER.open(), MEDMEM.MED_MESH_RDONLY_DRIVER.read(), MEDMEM.MED_MESH_DRIVER.setMeshName(), and MEDMEM.GMESH.setName().
| virtual Engines::EngineComponent_ptr Med_Gen_Driver_i.GetComponentInstance | ( | ) | [pure virtual] |
Implemented in Med_Gen_i.
map< string, MEDMEM::MED_i * > Med_Gen_Driver_i::_MedCorbaObj [static, private] |
CORBA::ORB_ptr Med_Gen_Driver_i._driver_orb [private] |
SALOME_NamingService* Med_Gen_Driver_i._NS [protected] |