Salome HOME
*** empty log message ***
authorvsr <vsr@opencascade.com>
Fri, 21 Mar 2008 09:35:03 +0000 (09:35 +0000)
committervsr <vsr@opencascade.com>
Fri, 21 Mar 2008 09:35:03 +0000 (09:35 +0000)
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
src/SMESHGUI/SMESHGUI_HypothesesUtils.cxx
src/SMESHGUI/SMESHGUI_MeshOp.cxx
src/SMESHGUI/SMESHGUI_ShapeByMeshDlg.cxx
src/SMESHGUI/SMESHGUI_VTKUtils.cxx
src/StdMeshersGUI/StdMeshersGUI_DistrPreview.cxx
src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx

index 195295c12a29b94c5a9b0bd1bc8e5d695396be96..156e6f3b7f14003cebea310560010a38751f9d9e 100644 (file)
@@ -182,7 +182,7 @@ namespace SMESH
     // -----------------------------------------------------------------------
     bool HasReadyActorsFor (int subShapeID, GEOM::GEOM_Object_var aMainShape )
     {
-      string mainEntry;
+      std::string mainEntry;
       if ( !aMainShape->_is_nil() )
         mainEntry = aMainShape->GetStudyEntry();
       return ( myMainEntry == mainEntry &&
@@ -192,7 +192,7 @@ namespace SMESH
     void Show( int subShapeID, GEOM::GEOM_Object_var aMainShape, bool only = false)
     {
       SVTK_ViewWindow* aViewWindow  = SMESH::GetViewWindow( SMESHGUI::GetSMESHGUI() );
-      string mainEntry;
+      std::string mainEntry;
       if ( !aMainShape->_is_nil() )
         mainEntry = aMainShape->GetStudyEntry();
       if ( myMainEntry != mainEntry || aViewWindow != myViewWindow ) { // remove actors
@@ -243,7 +243,7 @@ namespace SMESH
     TActorVec                  myActors;
     TActorVec                  myShownActors;
     TopTools_IndexedMapOfShape myIndexToShape;
-    string                     myMainEntry;
+    std::string                myMainEntry;
     SVTK_ViewWindow*           myViewWindow;
     vtkProperty*               myProperty;
     std::set<int>              myBuiltSubs;
index 14a12754e98ff5d1327d84edd10dd189a6be3b6e..af86ea9cbb3c3db30c8b0975827597be6083114f 100644 (file)
@@ -239,7 +239,7 @@ namespace SMESH
     // Init list of available hypotheses, if needed
     InitAvailableHypotheses();
 
-    list<HypothesesSet*>::iterator hypoSet = myListOfHypothesesSets.begin();
+    std::list<HypothesesSet*>::iterator hypoSet = myListOfHypothesesSets.begin();
     for ( ; hypoSet != myListOfHypothesesSets.end(); ++hypoSet )
       {
        HypothesesSet* aSet = *hypoSet;
@@ -253,7 +253,7 @@ namespace SMESH
 
   HypothesesSet* GetHypothesesSet(const QString& theSetName)
   {
-    list<HypothesesSet*>::iterator hypoSet = myListOfHypothesesSets.begin();
+    std::list<HypothesesSet*>::iterator hypoSet = myListOfHypothesesSets.begin();
     for ( ; hypoSet != myListOfHypothesesSets.end(); ++hypoSet )
       {
        HypothesesSet* aSet = *hypoSet;
index 909fbdd578c25004bb3de6fa2f75fcca199cae36..14fed46e849792a8beba33a79563a3b1569fa8e5 100644 (file)
@@ -321,7 +321,7 @@ bool SMESHGUI_MeshOp::isSubshapeOk() const
       while(1) {
         if (mainObj->_is_nil())
           return false;
-        if (string(mainObj->GetEntry()) == string(mainGeom->GetEntry()))
+        if (std::string(mainObj->GetEntry()) == std::string(mainGeom->GetEntry()))
           return true;
         mainObj = op->GetMainShape(mainObj);
       }
index ba45e57351e91d82b53a7f118bebabdab524a74f..2f87dfd75b1017dbea0aeeaa6bdce9aa5e8be9da 100644 (file)
@@ -239,13 +239,13 @@ void SMESHGUI_ShapeByMeshOp::SetMesh (SMESH::SMESH_Mesh_ptr thePtr)
   myGeomObj = GEOM::GEOM_Object::_nil();
   myHasSolids = false;
 
-  vector< bool > hasElement (myDlg->myElemTypeGroup->buttons().count(), false);
+  std::vector< bool > hasElement (myDlg->myElemTypeGroup->buttons().count(), false);
   if (!myMesh->_is_nil() )
     {
       //     _PTR(SObject) aSobj = SMESH::FindSObject(myMesh.in());
       //     SUIT_DataOwnerPtr anIObj (new LightApp_DataOwner(aSobj->GetID().c_str()));
 
-      vector< int > nbShapes( TopAbs_SHAPE, 0 );
+      std::vector< int > nbShapes( TopAbs_SHAPE, 0 );
       int shapeDim = 0; // max dim with several shapes
       //if ( /*mySelectionMgr*/ selectionMgr()->isOk(anIObj) ) // check that the mesh has a valid shape
       {
index 1a3f71f69a6d9dd74cef5da7668cf29fc44cd36e..3cfbaf35400798eefe23920d146a48c113da9cf0 100644 (file)
@@ -1041,7 +1041,7 @@ namespace SMESH
       if(FindActorByEntry(theIO->getEntry())){
        TColStd_IndexedMapOfInteger aMapIndex;
        theMgr->GetIndexes(theIO,aMapIndex);
-       typedef set<int> TIdContainer;
+       typedef std::set<int> TIdContainer;
        TIdContainer anIdContainer;
        for( int i = 1; i <= aMapIndex.Extent(); i++)
          anIdContainer.insert(aMapIndex(i));
index 96a72747ec54058351768405b116f7c07b625344..66e167a4f2744d3c4570d8f95611596d465c7a4e 100644 (file)
@@ -252,7 +252,7 @@ void StdMeshersGUI_DistrPreview::update()
   }
 
   setAxisScale( myDensity->xAxis(), min_x, max_x );
-  setAxisScale( myDensity->yAxis(), min( 0.0, min_y ), max( 0.0, max_y ) );
+  setAxisScale( myDensity->yAxis(), std::min( 0.0, min_y ), std::max( 0.0, max_y ) );
   myDensity->setData( x, y, size );
   if( x )
     delete[] x;
index fdcede76bc462cc071b7093c15bd52481894f2bf..0383397398f8caa486a464fd83841fae32cc074e 100644 (file)
@@ -190,7 +190,7 @@ void StdMeshersGUI_ObjectReferenceParamWdg::SetObject(CORBA::Object_ptr obj)
   if ( !CORBA::is_nil( obj ))
     sobj = SMESH::FindSObject (obj);
   if ( sobj ) {
-    string name = sobj->GetName();
+    std::string name = sobj->GetName();
     myObjNameLineEdit->setText( name.c_str() );
     myObject = CORBA::Object::_duplicate( obj );
     myParamValue = sobj->GetID().c_str();