DgnPlatformBaseType.r.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #ifdef __cplusplus
11 #include <Geom/GeomApi.h>
12 #else
13 #include <Geom/GeomApi.r.h>
14 #endif
15 
16 //--------------------------------------------------------------------
17 // This file is included by both .cpp/h and .r files
18 //--------------------------------------------------------------------
19 
20 /*
21  This file defines types and constants used by other .h files.
22  This file should be included by .r files in place of
23  DgnPlatform.h, basetype.h or basedefs.h.
24 */
25 
26 #if defined (mdl_type_resource_generator) || defined (mdl_resource_compiler)
27  #define MDLTOOLS_END_OF_FILE __EndOfFile__
28 #else
29  #define MDLTOOLS_END_OF_FILE
30 #endif
31 
32 #if defined (mdl_resource_compiler)
33  #define RCOMP_END_OF_FILE __EndOfFile__
34 #else
35  #define RCOMP_END_OF_FILE
36 #endif
37 
38 #if defined (mdl_type_resource_generator)
39  #define RSCTYPE_END_OF_FILE __EndOfFile__
40 #else
41  #define RSCTYPE_END_OF_FILE
42 #endif
43 
44 #if defined (mdl_type_resource_generator)
45  // These types sometimes appear in structs that are published for CExpression
46 
47  typedef void* DgnFileP;
48  typedef void* DgnModelRefP;
49  typedef void* DgnModelRefListP;
50  typedef void* ModelRefIteratorP;
51  typedef void* BitMaskP;
52  typedef UInt32 RscFileHandle;
53  typedef struct MSElementDescr* MSElementDescrP;
54 
55  typedef struct BSIRect
56  {
57  Point2d origin;
58  Point2d corner;
59  } BSIRect;
60 #endif // defined (mdl_type_resource_generator)
61 
62 #if defined (mdl_resource_compiler) || defined (mdl_type_resource_generator)
63 
64  #define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
65  #define END_BENTLEY_DGNPLATFORM_NAMESPACE
66 #else
67 
68  #define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE BEGIN_BENTLEY_NAMESPACE namespace DgnPlatform {
69  #define END_BENTLEY_DGNPLATFORM_NAMESPACE }}
70 
71 #endif // (mdl_resource_compiler) || defined (mdl_type_resource_generator)
72 
73 
75 
77 
79 
80 
82 
83 typedef UInt64 ElementId;
84 typedef Int32 ModelId;
85 typedef UInt32 LevelId;
86 
87 /*=================================================================================**/
92 typedef struct ScanRange
93  {
100  } ScanRange;
101 
struct DgnPlatform::MSElementDescr * MSElementDescrP
Definition: DgnPlatform.h:390
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
UInt32 RscFileHandle
Definition: DgnPlatform/LineStyle.h:12
Int64 ylowlim
Definition: DgnPlatformBaseType.r.h:95
Int64 yhighlim
Definition: DgnPlatformBaseType.r.h:98
UInt32 LevelId
Definition: DgnPlatformBaseType.r.h:85
struct Bentley::BitMask * BitMaskP
Definition: DgnPlatform.h:134
struct DgnPlatform::ModelRefIterator * ModelRefIteratorP
Definition: DgnPlatform.h:401
struct DgnPlatform::DgnModelRefList * DgnModelRefListP
Definition: DgnPlatform.h:224
struct Bentley::DgnPlatform::ScanRange ScanRange
The scan range used for mdlScanCriteria.
faceId, edgeId, vertexId, FloatRGB, RgbFactor
uint32_t UInt32
Definition: Bentley.r.h:128
#define BEGIN_BENTLEY_NAMESPACE
Definition: Bentley.r.h:24
Int64 zhighlim
Definition: DgnPlatformBaseType.r.h:99
Int64 xlowlim
Definition: DgnPlatformBaseType.r.h:94
GeomApi: Bentley::Rounding, Bentley::ValueSizeSize, Bentley::OrderedValueSizeSize, Bentley::IGeometry, Bentley::OrderedIGeometryPtr, Bentley::pointList.
int32_t Int32
Definition: Bentley.r.h:119
struct DgnPlatform::DgnFile * DgnFileP
Definition: DgnPlatform.h:206
Int64 xhighlim
Definition: DgnPlatformBaseType.r.h:97
UInt64 CommandNumber
Definition: DgnPlatformBaseType.r.h:76
Int32 ModelId
Definition: DgnPlatformBaseType.r.h:84
Int64 zlowlim
Definition: DgnPlatformBaseType.r.h:96
uint64_t UInt64
Definition: Bentley.r.h:131
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
UInt64 ElementId
Definition: DgnPlatformBaseType.r.h:83
The scan range used for mdlScanCriteria.
Definition: DgnPlatformBaseType.r.h:92
#define END_BENTLEY_NAMESPACE
Definition: Bentley.r.h:25
int64_t Int64
Definition: Bentley.r.h:130
struct DgnPlatform::DgnModelRef * DgnModelRefP
Definition: DgnPlatform.h:223

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.