0022627: Change OCCT memory management defaults
[occt.git] / src / ShapeProcess / ShapeProcess_UOperator.cxx
1 // File:        ShapeProcess_UOperator.cxx
2 // Created:     Tue Aug 22 13:29:08 2000
3 // Author:      Andrey BETENEV
4 //              <abv@nnov.matra-dtv.fr>
5
6 #include <ShapeProcess_UOperator.ixx>
7
8 //=======================================================================
9 //function : ShapeProcess_UOperator
10 //purpose  : 
11 //=======================================================================
12
13 ShapeProcess_UOperator::ShapeProcess_UOperator (const ShapeProcess_OperFunc func) : myFunc(func)
14 {
15 }
16
17 //=======================================================================
18 //function : Perform
19 //purpose  : 
20 //=======================================================================
21
22 Standard_Boolean ShapeProcess_UOperator::Perform (const Handle(ShapeProcess_Context)& context)
23 {
24   return myFunc ( context );
25 }