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
Copyright update 2020
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESH_Controls.hxx
diff --git
a/src/SMESHDS/SMESH_Controls.hxx
b/src/SMESHDS/SMESH_Controls.hxx
index 521a168ee8999e253055d5fb0e0b34fb9c88ce48..442cc15319658fe129f37ff9a0045fbd88e68b02 100644
(file)
--- a/
src/SMESHDS/SMESH_Controls.hxx
+++ b/
src/SMESHDS/SMESH_Controls.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
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
@@
-43,8
+43,8
@@
class SMDS_Mesh;
class SMDS_Mesh;
-namespace SMESH{
- namespace Controls{
+namespace SMESH
{
+ namespace Controls
{
/*
Class : Functor
/*
Class : Functor
@@
-67,10
+67,11
@@
namespace SMESH{
Class : Predicate
Description : Base class for all predicates
*/
Class : Predicate
Description : Base class for all predicates
*/
- class SMESHCONTROLS_EXPORT Predicate: public virtual Functor{
+ class SMESHCONTROLS_EXPORT Predicate: public virtual Functor
{
public:
virtual bool IsSatisfy( long theElementId ) = 0;
virtual SMDSAbs_ElementType GetType() const = 0;
public:
virtual bool IsSatisfy( long theElementId ) = 0;
virtual SMDSAbs_ElementType GetType() const = 0;
+ virtual Predicate* clone() const { return 0; } // return a thread-safe copy of this
};
typedef boost::shared_ptr<Predicate> PredicatePtr;
};
typedef boost::shared_ptr<Predicate> PredicatePtr;