Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct compilation on Linux.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_Filter.cpp
diff --git
a/src/ModuleBase/ModuleBase_Filter.cpp
b/src/ModuleBase/ModuleBase_Filter.cpp
index 401d02919a59a4aa3dfe7622539c2629f481824f..c799ed47fee04187511a76b949f1ffb3fd040bac 100644
(file)
--- a/
src/ModuleBase/ModuleBase_Filter.cpp
+++ b/
src/ModuleBase/ModuleBase_Filter.cpp
@@
-1,14
+1,15
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModuleBase_Filter.cpp
// Created: 10 Dec 2014
// Author: Natalia ERMOLAEVA
// File: ModuleBase_Filter.cpp
// Created: 10 Dec 2014
// Author: Natalia ERMOLAEVA
-
#include "ModuleBase_Filter.h"
#include "ModuleBase_Filter.h"
-IMPLEMENT_STANDARD_HANDLE(ModuleBase_Filter, SelectMgr_Filter);
-IMPLEMENT_STANDARD_RTTIEXT(ModuleBase_Filter, SelectMgr_Filter);
-
-Standard_Boolean ModuleBase_Filter::IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const
+Handle(SelectMgr_Filter) ModuleBase_Filter::getFilter()
{
{
- return Standard_True;
+ if (myFilter.IsNull())
+ createFilter();
+
+ return myFilter;
}
}