Salome HOME
*** empty log message ***
[modules/multipr.git] / src / MULTIPR / MULTIPR_i.cxx
index e9dd3a2a335a9872fc2155b76918cdf3e69cb145..6136568770fa247868f99adb295b39c2c2d9e9e6 100644 (file)
@@ -338,7 +338,7 @@ MULTIPR_ORB::string_array* MULTIPR_Obj_i::getParts()
 
 
 char* MULTIPR_Obj_i::getPartInfo(const char* pPartName)
-               throw (SALOME::SALOME_Exception)
+       throw (SALOME::SALOME_Exception)
 {
        if (mObj == NULL) THROW_SALOME_CORBA_EXCEPTION("No associated MED file", SALOME::INTERNAL_ERROR);
        
@@ -346,6 +346,15 @@ char* MULTIPR_Obj_i::getPartInfo(const char* pPartName)
 }
 
 
+void MULTIPR_Obj_i::removePart(const char* pPartName)
+       throw (SALOME::SALOME_Exception)
+{
+       if (mObj == NULL) THROW_SALOME_CORBA_EXCEPTION("No associated MED file", SALOME::INTERNAL_ERROR);
+       
+       mObj->removeParts(pPartName);
+}
+
+
 MULTIPR_ORB::string_array* MULTIPR_Obj_i::partitionneDomaine()
        throw (SALOME::SALOME_Exception)
 {