1 // Copyright (C) 2014-2017 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or
18 // email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
21 #ifndef SRC_MODELAPI_MODELAPI_SWIG_H_
22 #define SRC_MODELAPI_MODELAPI_SWIG_H_
24 #include <GeomAPI_swig.h>
27 #include "ModelAPI_Entity.h"
28 #include "ModelAPI_Document.h"
29 #include "ModelAPI_Session.h"
30 #include "ModelAPI_Object.h"
31 #include "ModelAPI_Feature.h"
32 #include "ModelAPI_Plugin.h"
33 #include "ModelAPI_CompositeFeature.h"
34 #include "ModelAPI_Data.h"
35 #include "ModelAPI_Attribute.h"
36 #include "ModelAPI_AttributeDocRef.h"
37 #include "ModelAPI_AttributeDouble.h"
38 #include "ModelAPI_AttributeDoubleArray.h"
39 #include "ModelAPI_AttributeInteger.h"
40 #include "ModelAPI_AttributeIntArray.h"
41 #include "ModelAPI_AttributeString.h"
42 #include "ModelAPI_AttributeStringArray.h"
43 #include "ModelAPI_AttributeReference.h"
44 #include "ModelAPI_AttributeRefAttr.h"
45 #include "ModelAPI_AttributeSelection.h"
46 #include "ModelAPI_AttributeSelectionList.h"
47 #include "ModelAPI_AttributeTables.h"
48 #include "ModelAPI_AttributeValidator.h"
49 #include "ModelAPI_Validator.h"
50 #include "ModelAPI_FeatureValidator.h"
51 #include "ModelAPI_AttributeRefList.h"
52 #include "ModelAPI_AttributeRefAttrList.h"
53 #include "ModelAPI_AttributeBoolean.h"
54 #include "ModelAPI_Result.h"
55 #include "ModelAPI_ResultConstruction.h"
56 #include "ModelAPI_ResultBody.h"
57 #include "ModelAPI_ResultPart.h"
58 #include "ModelAPI_ResultParameter.h"
59 #include "ModelAPI_ResultGroup.h"
60 #include "ModelAPI_ResultField.h"
61 #include "ModelAPI_Tools.h"
62 #include "ModelAPI_ResultCompSolid.h"
63 #include "ModelAPI_Folder.h"
68 template<class T1, class T2>
69 std::shared_ptr<T1> shared_ptr_cast(std::shared_ptr<T2> theObject)
71 return std::dynamic_pointer_cast<T1>(theObject);
74 #endif /* SRC_MODELAPI_MODELAPI_SWIG_H_ */