Salome HOME
Issue #1540: Added attribute for array of double.
[modules/shaper.git] / src / ModelAPI / ModelAPI_swig.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:    ModelAPI_swig.h
4 // Created: Dec 15, 2015
5 // Author:  Sergey POKHODENKO
6
7 #ifndef SRC_MODELAPI_MODELAPI_SWIG_H_
8 #define SRC_MODELAPI_MODELAPI_SWIG_H_
9
10   #include <GeomAPI_swig.h>
11
12   #include "ModelAPI.h"
13   #include "ModelAPI_Entity.h"
14   #include "ModelAPI_Document.h"
15   #include "ModelAPI_Session.h"
16   #include "ModelAPI_Object.h"
17   #include "ModelAPI_Feature.h"
18   #include "ModelAPI_Plugin.h"
19   #include "ModelAPI_CompositeFeature.h"
20   #include "ModelAPI_Data.h"
21   #include "ModelAPI_Attribute.h"
22   #include "ModelAPI_AttributeDocRef.h"
23   #include "ModelAPI_AttributeDouble.h"
24   #include "ModelAPI_AttributeDoubleArray.h"
25   #include "ModelAPI_AttributeInteger.h"
26   #include "ModelAPI_AttributeIntArray.h"
27   #include "ModelAPI_AttributeString.h"
28   #include "ModelAPI_AttributeReference.h"
29   #include "ModelAPI_AttributeRefAttr.h"
30   #include "ModelAPI_AttributeSelection.h"
31   #include "ModelAPI_AttributeSelectionList.h"
32   #include "ModelAPI_AttributeValidator.h"
33   #include "ModelAPI_Validator.h"
34   #include "ModelAPI_FeatureValidator.h"
35   #include "ModelAPI_AttributeRefList.h"
36   #include "ModelAPI_AttributeRefAttrList.h"
37   #include "ModelAPI_AttributeBoolean.h"
38   #include "ModelAPI_Result.h"
39   #include "ModelAPI_ResultConstruction.h"
40   #include "ModelAPI_ResultBody.h"
41   #include "ModelAPI_ResultPart.h"
42   #include "ModelAPI_ResultParameter.h"
43   #include "ModelAPI_ResultGroup.h"
44   #include "ModelAPI_Tools.h"
45   #include "ModelAPI_ResultCompSolid.h"
46
47   #include <memory>
48   #include <string>
49
50   template<class T1, class T2>
51   std::shared_ptr<T1> shared_ptr_cast(std::shared_ptr<T2> theObject)
52   {
53     return std::dynamic_pointer_cast<T1>(theObject);
54   }
55
56 #endif /* SRC_MODELAPI_MODELAPI_SWIG_H_ */