]> SALOME platform Git repositories - modules/shaper.git/blob - src/ModuleBase/ModuleBase_Tools.h
Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.h
1 // File:        ModuleBase_Tools.h
2 // Created:     11 July 2014
3 // Author:      Vitaly Smetannikov
4
5
6 #ifndef ModuleBase_Tools_H
7 #define ModuleBase_Tools_H
8
9 #include "ModuleBase.h"
10
11 #include <ModelAPI_Result.h>
12
13 class GeomAPI_Shape;
14
15 namespace ModuleBase_Tools 
16 {
17
18   /**
19   * Returns returns a shape if the result has a shape method. Otherwise returns NULL pointer
20   */
21   MODULEBASE_EXPORT boost::shared_ptr<GeomAPI_Shape> shape(ResultPtr theResult);
22
23 };
24
25 #endif