//---------------------------------------------------------------
extern "C"
VISU_Convertor*
-CreateConvertor(const string& theFileName)
+CreateConvertor(const std::string& theFileName)
{
if(MED::PWrapper aMed = MED::CrWrapper(theFileName,true))
return new VISU_MedConvertor(theFileName, aMed);
}
VISU_MedConvertor
-::VISU_MedConvertor(const string& theFileName, MED::PWrapper theMed):
+::VISU_MedConvertor(const std::string& theFileName, MED::PWrapper theMed):
myIsEntitiesDone(false),
myIsFieldsDone(false),
myIsGroupsDone(false),
vtkFloatingPointType& aMax = aMinMax.second;
for(TInt iGauss = 0; iGauss < aNbGauss; iGauss++){
const vtkFloatingPointType& aVal = aMValueSlice[iGauss];
- aMin = min(aMin,aVal);
- aMax = max(aMax,aVal);
+ aMin = std::min(aMin,aVal);
+ aMax = std::max(aMax,aVal);
}
}
}
aValue += aVal*aVal;
}
aValue = sqrt(aValue);
- aMin = min(aMin,aValue);
- aMax = max(aMax,aValue);
+ aMin = std::min(aMin,aValue);
+ aMax = std::max(aMax,aValue);
}
}
}
}catch(std::exception& exc){
throw;
}catch(...){
- EXCEPTION(runtime_error,"Unknown exception !!!");
+ EXCEPTION(std::runtime_error,"Unknown exception !!!");
}
return 0;
}catch(std::exception& exc){
throw;
}catch(...){
- EXCEPTION(runtime_error,"Unknown exception !!!");
+ EXCEPTION(std::runtime_error,"Unknown exception !!!");
}
return 0;
for(int iNode = 0; iNode < aVNbNodes; iNode++)
if(anArray[iNode] < 0 || aNbPoints <= anArray[iNode])
- EXCEPTION(runtime_error,"LoadCellsOnEntity - "<<
+ EXCEPTION(std::runtime_error,"LoadCellsOnEntity - "<<
" aNbPoints("<<aNbPoints<<") "<<
"<= anArray["<<iElem<<"]"<<
"["<<iNode<<"]"<<
}
for(int iNode = 0; iNode < aVNbNodes; iNode++)
if(anArray[iNode] < 0 || aNbPoints <= anArray[iNode])
- EXCEPTION(runtime_error,"LoadCellsOnEntity - "<<
+ EXCEPTION(std::runtime_error,"LoadCellsOnEntity - "<<
" aNbPoints("<<aNbPoints<<") "<<
"<= anArray["<<iElem<<"]"<<
"["<<iNode<<"]"<<
}catch(std::exception& exc){
throw;
}catch(...){
- EXCEPTION(runtime_error,"Unknown exception !!!");
+ EXCEPTION(std::runtime_error,"Unknown exception !!!");
}
#endif
}catch(std::exception& exc){
throw;
}catch(...){
- EXCEPTION(runtime_error,"Unknown exception !!!");
+ EXCEPTION(std::runtime_error,"Unknown exception !!!");
}
#endif