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 from PHASE_25_BR 09/12/2010
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_HypoFilter.hxx
diff --git
a/src/SMESH/SMESH_HypoFilter.hxx
b/src/SMESH/SMESH_HypoFilter.hxx
index 0fb043e57debecc43d06911a28a3afb488a8ea4e..e7c7c274bc0de6f6a8b61969fc7045d78d04e348 100644
(file)
--- a/
src/SMESH/SMESH_HypoFilter.hxx
+++ b/
src/SMESH/SMESH_HypoFilter.hxx
@@
-23,7
+23,6
@@
// SMESH SMESH : implementaion of SMESH idl descriptions
// File : SMESH_HypoFilter.hxx
// Module : SMESH
// SMESH SMESH : implementaion of SMESH idl descriptions
// File : SMESH_HypoFilter.hxx
// Module : SMESH
-// $Header$
//
#ifndef SMESH_HypoFilter_HeaderFile
#define SMESH_HypoFilter_HeaderFile
//
#ifndef SMESH_HypoFilter_HeaderFile
#define SMESH_HypoFilter_HeaderFile
@@
-78,6
+77,8
@@
class SMESH_EXPORT SMESH_HypoFilter: public SMESH_HypoPredicate
static SMESH_HypoPredicate* HasDim(const int theDim);
static SMESH_HypoPredicate* HasType(const int theHypType);
static SMESH_HypoPredicate* HasDim(const int theDim);
static SMESH_HypoPredicate* HasType(const int theHypType);
+ bool IsEmpty() const { return myPredicates.empty(); }
+
/*!
* \brief check aHyp or/and aShape it is assigned to
*/
/*!
* \brief check aHyp or/and aShape it is assigned to
*/
@@
-168,8
+169,8
@@
class SMESH_EXPORT SMESH_HypoFilter: public SMESH_HypoPredicate
};
struct IsMoreLocalThanPredicate : public SMESH_HypoPredicate {
};
struct IsMoreLocalThanPredicate : public SMESH_HypoPredicate {
- Top
Abs_ShapeEnum _shapeTy
pe;
- IsMoreLocalThanPredicate( const TopoDS_Shape& shape ):_shape
Type(shape.ShapeType()
){}
+ Top
oDS_Shape _sha
pe;
+ IsMoreLocalThanPredicate( const TopoDS_Shape& shape ):_shape
(shape
){}
bool IsOk(const SMESH_Hypothesis* aHyp,
const TopoDS_Shape& aShape) const;
};
bool IsOk(const SMESH_Hypothesis* aHyp,
const TopoDS_Shape& aShape) const;
};