-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMSPythonPCH.h
More file actions
74 lines (61 loc) · 2.03 KB
/
MSPythonPCH.h
File metadata and controls
74 lines (61 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*--------------------------------------------------------------------------------------+
|
| $Source: MSPython\MSPythonPCH.h $
|
| $Copyright: (c) 2023 Bentley Systems, Incorporated. All rights reserved. $
|
+--------------------------------------------------------------------------------------*/
#define BEGIN_BENTLEY_MSTNPLATFORM_MSPYTHON_NAMESPACE namespace Bentley { namespace MstnPlatform { namespace MSPython {
#define END_BENTLEY_MSTNPLATFORM_MSPYTHON_NAMESPACE } } }
#define USING_NAMESPACE_BENTLEY_MSTNPLATFORM_MSPYTHON using namespace Bentley::MstnPlatform::MSPython;
#define NOMINMAX
#include <windows.h>
// Avoid windows name mangling.
#undef GetClassName
#undef FindText
#undef ReplaceText
#undef GetCurrentTime
#include <memory>
#include <wtypes.h>
#include <ObjIdl.h>
#include <boost/optional/optional.hpp>
#undef ERROR
#undef true
#undef false
#include <Bentley/Bentley.h>
#include <Bentley/bvector.h>
#include <Bentley/WString.h>
#include <Bentley/BeFileName.h>
#include <Bentley/bmap.h>
#include <Bentley/RefCounted.h>
#include <Geom/GeomApi.h>
#include <Geom/msgeomstructs_typedefs.h>
#include <DgnPlatform/DgnPlatformLib.h>
#include <DgnPlatform/DgnPlatformAPI.h>
#include <Mstn/MstnPlatformAPI.h>
#include <ECObjects/ECObjectsAPI.h>
#include <Pybind11/pybind11.h>
#include <Pybind11/embed.h>
#include <Pybind11/cast.h>
#include <Pybind11/operators.h>
#include <Pybind11/stl_bind.h>
#include <Pybind11/stl.h>
USING_NAMESPACE_BENTLEY
USING_NAMESPACE_BENTLEY_MSTNPLATFORM
USING_NAMESPACE_BENTLEY_MSTNPLATFORM_ELEMENT
USING_NAMESPACE_BENTLEY_DGNPLATFORM
USING_NAMESPACE_BENTLEY_ECOBJECT
USING_NAMESPACE_BENTLEY_MSTNPLATFORM_PRINT
namespace py = pybind11;
using namespace py::literals;
#include <MSPython.h>
#include <ScriptEngineManager.h>
#include <MsPythonConsole.h>
#include <MSPythonEngine.h>
#include <MSPyBindTemplates.h>
#include <MSPyCommon.h>
#include <OpqueTypes_Bentley.h>
#include <OpqueTypes_Geom.h>
#include <OpqueTypes_DgnPlatform.h>
#include <OpqueTypes_ECObject.h>
USING_NAMESPACE_BENTLEY_MSTNPLATFORM_MSPYTHON