Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/fbt/fix_french_translation'
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_Hypothesis.cxx
diff --git
a/src/SMESHDS/SMESHDS_Hypothesis.cxx
b/src/SMESHDS/SMESHDS_Hypothesis.cxx
index a5851a204dabd96da12107c3a2570305363e8942..571a1946b51de68955f5d44fb7e3d917fd2d3fd2 100644
(file)
--- a/
src/SMESHDS/SMESHDS_Hypothesis.cxx
+++ b/
src/SMESHDS/SMESHDS_Hypothesis.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-103,3
+103,14
@@
bool SMESHDS_Hypothesis::operator==(const SMESHDS_Hypothesis& other) const
((SMESHDS_Hypothesis*)&other)->SaveTo(otherSave);
return mySave.str() == otherSave.str();
}
((SMESHDS_Hypothesis*)&other)->SaveTo(otherSave);
return mySave.str() == otherSave.str();
}
+
+//================================================================================
+/*!
+ * \brief Compare types of hypotheses
+ */
+//================================================================================
+
+bool SMESHDS_Hypothesis::IsSameName( const SMESHDS_Hypothesis& other) const
+{
+ return _name == other._name;
+}