27 #define USING_NAMESPACE_BENTLEY_DGNPLATFORM using namespace Bentley::DgnPlatform;
29 #define BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE BEGIN_BENTLEY_NAMESPACE namespace MstnPlatform {
30 #define END_BENTLEY_MSTNPLATFORM_NAMESPACE }}
31 #define USING_NAMESPACE_BENTLEY_MSTNPLATFORM using namespace Bentley::MstnPlatform;
33 #define BEGIN_DGNPLATFORM_DGNHISTORY_NAMESPACE namespace DgnPlatform { namespace DgnHistory {
34 #define END_DGNPLATFORM_DGNHISTORY_NAMESPACE }}
35 #define USING_NAMESPACE_DGNPLATFORM_DGNHISTORY using namespace Bentley::DgnPlatform::DgnHistory;
37 #define BEGIN_EC_NAMESPACE namespace ECN {
38 #define END_EC_NAMESPACE }
39 #define USING_NAMESPACE_EC using namespace Bentley::ECN;
40 #define BEGIN_BENTLEY_ECOBJECT_NAMESPACE BEGIN_BENTLEY_NAMESPACE namespace ECN {
41 #define END_BENTLEY_ECOBJECT_NAMESPACE }}
42 #define USING_NAMESPACE_BENTLEY_ECOBJECT using namespace Bentley::ECN;
44 #define BEGIN_BENTLEY_MARKUP_NAMESPACE BEGIN_BENTLEY_NAMESPACE namespace Markup {
45 #define END_BENTLEY_MARKUP_NAMESPACE }}
46 #define USING_NAMESPACE_MARKUP using namespace Bentley::Markup;
48 #define BEGIN_RASTER_NAMESPACE BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE namespace Raster {
49 #define END_RASTER_NAMESPACE }}}
50 #define USING_NAMESPACE_RASTER using namespace Bentley::DgnPlatform::Raster;
52 #define BEGIN_BENTLEY_POINTCLOUD_NAMESPACE BEGIN_BENTLEY_NAMESPACE namespace PointCloud {
53 #define END_BENTLEY_POINTCLOUD_NAMESPACE }}
54 #define USING_NAMESPACE_BENTLEY_POINTCLOUD using namespace Bentley::PointCloud;
56 #define BEGIN_BENTLEY_DGNPLATFORM_TEXTEDITOR_NAMESPACE BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE namespace TextEditor {
57 #define END_BENTLEY_DGNPLATFORM_TEXTEDITOR_NAMESPACE } END_BENTLEY_DGNPLATFORM_NAMESPACE
58 #define USING_NAMESPACE_BENTLEY_DGNPLATFORM_TEXTEDITOR using namespace Bentley::DgnPlatform::TextEditor;
60 #define GLOBAL_TYPEDEF1(_sName_,_name_,structunion) \
61 structunion _sName_; \
63 typedef structunion _sName_* _name_##P, &_name_##R; \
64 typedef structunion _sName_ const* _name_##CP; \
65 typedef structunion _sName_ const& _name_##CR;}
67 #define GLOBAL_TYPEDEF(_sName_,_name_) GLOBAL_TYPEDEF1 (_sName_,_name_,struct)
69 #define DGNPLATFORM_TYPEDEFS_EX(_name_,_structunion_) \
70 BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE _structunion_ _name_; END_BENTLEY_DGNPLATFORM_NAMESPACE \
71 ADD_BENTLEY_TYPEDEFS1(DgnPlatform,_name_,_name_,_structunion_)
73 #define DGNPLATFORM_TYPEDEFS(_name_) DGNPLATFORM_TYPEDEFS_EX(_name_,struct)
75 #define DGNPLATFORM_TYPEDEF(_sname_,_tname_) \
76 BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE struct _sname_; END_BENTLEY_DGNPLATFORM_NAMESPACE \
77 BEGIN_BENTLEY_NAMESPACE typedef struct DgnPlatform::_sname_* _tname_; END_BENTLEY_NAMESPACE
79 #define DGNPLATFORM_REF_COUNTED_PTR(_sname_) \
80 BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE struct _sname_; END_BENTLEY_DGNPLATFORM_NAMESPACE \
81 BEGIN_BENTLEY_NAMESPACE typedef RefCountedPtr<DgnPlatform::_sname_> _sname_##Ptr; END_BENTLEY_NAMESPACE
83 #define DGNPLATFORM_CLASS_TYPEDEFS(_name_) \
84 BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE class _name_; END_BENTLEY_DGNPLATFORM_NAMESPACE \
85 ADD_BENTLEY_TYPEDEFS1(DgnPlatform,_name_,_name_,class)
87 #define MSTNPLATFORM_TYPEDEFS(_name_) \
88 BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE struct _name_; END_BENTLEY_MSTNPLATFORM_NAMESPACE \
89 ADD_BENTLEY_TYPEDEFS(MstnPlatform,_name_)
91 #define MSTNPLATFORM_REF_COUNTED_PTR(_sname_) \
92 BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE struct _sname_; END_BENTLEY_MSTNPLATFORM_NAMESPACE \
93 BEGIN_BENTLEY_NAMESPACE typedef RefCountedPtr<MstnPlatform::_sname_> _sname_##Ptr; END_BENTLEY_NAMESPACE
95 #define RASTER_TYPEDEFS(t) \
96 BEGIN_RASTER_NAMESPACE struct t; END_RASTER_NAMESPACE \
97 ADD_BENTLEY_TYPEDEFS (DgnPlatform::Raster,t);
99 #define RASTER_REF_COUNTED_PTR(_sname_) \
100 BEGIN_RASTER_NAMESPACE struct _sname_; END_RASTER_NAMESPACE \
101 BEGIN_BENTLEY_NAMESPACE typedef RefCountedPtr<DgnPlatform::Raster::_sname_> _sname_##Ptr; END_BENTLEY_NAMESPACE
103 #define RASTER_TYPEDEF1(_sourceName_,_name_,_structclass_) \
104 BEGIN_RASTER_NAMESPACE _structclass_ _sourceName_; END_RASTER_NAMESPACE \
105 ADD_BENTLEY_TYPEDEFS1(DgnPlatform::Raster,_sourceName_,_name_,_structclass_)
107 #define POINTCLOUD_TYPEDEFS(t) \
108 BEGIN_BENTLEY_POINTCLOUD_NAMESPACE struct t; END_BENTLEY_POINTCLOUD_NAMESPACE \
109 ADD_BENTLEY_TYPEDEFS (PointCloud,t);
111 #define POINTCLOUD_REF_COUNTED_PTR(_sname_) \
112 BEGIN_BENTLEY_POINTCLOUD_NAMESPACE struct _sname_; END_BENTLEY_POINTCLOUD_NAMESPACE \
113 BEGIN_BENTLEY_NAMESPACE typedef RefCountedPtr<PointCloud::_sname_> _sname_##Ptr; END_BENTLEY_NAMESPACE
115 #define DGNHISTORY_TYPEDEFS(_SC_, _name_) \
116 BEGIN_BENTLEY_NAMESPACE BEGIN_DGNPLATFORM_DGNHISTORY_NAMESPACE _SC_ _name_; END_DGNPLATFORM_DGNHISTORY_NAMESPACE END_BENTLEY_NAMESPACE \
117 ADD_BENTLEY_TYPEDEFS1(DgnPlatform::DgnHistory,_name_,BentleyDgnHistory##_name_,_SC_)
119 #define GEOCOORD_TYPEDEFS(_name_) \
120 BEGIN_BENTLEY_NAMESPACE namespace GeoCoordinates { struct _name_; } END_BENTLEY_NAMESPACE \
121 ADD_BENTLEY_TYPEDEFS(GeoCoordinates, _name_)
626 #define INVALID_REMAP_KEY (CopyContextRemapKey)-1
638 #define TRANSIENT_MODELREF (mdlModelRef_getTransient())
639 #define INVALID_MODELREF ((DgnModelRefP) 0)
640 #define INVALID_MODELID (-2)
641 #define INVALID_ELEMENTID ((Bentley::DgnPlatform::ElementId)-1)
657 namespace DgnHistory {
722 Last = ChangeTrackAction::ModifyComplete,
1067 XLow = (0x0001 << 0),
1068 XHigh = (0x0001 << 1),
1069 YLow = (0x0001 << 2),
1070 YHigh = (0x0001 << 3),
1071 ZLow = (0x0001 << 4),
1072 ZHigh = (0x0001 << 5),
1636 void Invalidate () {m_focalLength=-1.0; m_position.x=m_position.y=m_position.z=0.0;}
1695 #define RMINI4 (-2147483648.0)
1696 #define RMAXI4 2147483647.0
1697 #define RMAXUI4 4294967295.0
1698 #define LMAXI4 INT32_MAX
1699 #define LMINI4 INT32_MIN
1700 #define IMAXI8 INT64_MAX
1701 #define IMINI8 INT64_MIN
1702 #define IMAXUI8 UINT64_MAX
1703 #define RMINDESIGNRANGE (-4503599627370496.0)
1704 #define RMAXDESIGNRANGE (4503599627370495.0)
1707 #define TO_BOOL(x) (0 != (x))
Definition: DgnPlatform.r.h:33
#define ENUM_IS_FLAGS(ENUMTYPE)
Definition: Bentley.r.h:164
float v
Definition: DgnPlatform.h:1528
Definition: DgnPlatform.r.h:50
float u
Definition: DgnPlatform.h:1521
Definition: DgnPlatform.r.h:42
Definition: DgnPlatform.r.h:60
Definition: DgnPlatform.r.h:27
Definition: Bentley.h:212
Definition: DgnPlatform.r.h:28
The default file attribute.
Definition: DgnPlatform.r.h:32
A thumbnail property value.
Definition: ThumbnailPropertyValue.h:23
Definition: TextTableHandler.h:216
Provides Bentley specific Console functions (Bentley/BeConsole.h).
Definition: DgnPlatform.r.h:34
An implementation of IThumbnailPropertyValue.
Definition: ThumbnailPropertyValue.h:42
An integer 2d point, useful for screen pixel references, but not for real geometry: Point...
uint16_t UInt16
Definition: Bentley.r.h:118
Definition: DgnPlatform.h:609
Definition: DgnPlatform.r.h:39
Definition: DgnPlatform.h:608
struct Bentley::DgnPlatform::ScanRange ScanRange
The scan range used for mdlScanCriteria.
uint8_t UInt8
Definition: Bentley.r.h:116
Definition: DgnPlatform.r.h:36
Definition: DgnPlatform.r.h:61
Definition: DgnPlatform.r.h:45
Definition: DgnPlatform.r.h:25
float u
Definition: DgnPlatform.h:1527
Definition: DgnPlatform.r.h:53
defined in the Windows system environment variable table
Definition: DgnPlatform.r.h:62
Definition: DgnPlatform.h:610
uint32_t UInt32
Definition: Bentley.r.h:128
#define BEGIN_BENTLEY_NAMESPACE
Definition: Bentley.r.h:24
The element or model was deleted.
GeomApi: Bentley::Rounding, Bentley::ValueSizeSize, Bentley::OrderedValueSizeSize, Bentley::IGeometry, Bentley::OrderedIGeometryPtr, Bentley::pointList.
Declares the NonCopyableClass.
Definition: DgnPlatform.r.h:41
struct TransElemDescr * TransDescrP
Definition: DgnPlatform.h:601
Definition: DgnPlatform.r.h:63
Platform-specific device context.
Definition: DgnPlatform.h:650
struct Bentley::DgnPlatform::mlineprofile MlineProfile
Definition of a multi-line profile.
set if pattern is snappable
Definition: DgnPlatform.h:612
Definition: DgnPlatform.r.h:26
3d point coordinates.
Definition: dpoint3d.h:19
struct dgnMlineStyle * MlineStyleP
Definition: DgnPlatform.h:603
ConfigurationVariableLevel
Definition: DgnPlatform.h:684
Definition: DgnPlatform.r.h:48
int32_t Int32
Definition: Bentley.r.h:119
struct MultiStateMask ** MultiStateMaskH
Definition: DgnPlatform.h:600
#define BENTLEY_REF_COUNTED_PTR(_sname_)
Definition: Bentley.h:153
Definition: DgnPlatform.r.h:47
A shared pointer template for reference-counted objects.
Definition: RefCounted.h:119
unsigned short UShort
Definition: Bentley.r.h:133
struct DgnPlatform::DgnModelFillContext * DgnModelFillContextP
Definition: DgnPlatform.h:169
Defines typedefs and constants that can be used across other namespaces. All Bentley-authored C++ sou...
#define BENTLEY_TYPEDEFS(_name_)
Definition: Bentley.h:152
Definition: DgnPlatform.r.h:51
Definition: DgnPlatform.h:613
A Bitmask holds a variable-sized array of bits.
Definition: BitMask.h:53
uint64_t UInt64
Definition: Bentley.r.h:131
struct Bentley::DgnPlatform::mlinesymbology MlineSymbology
The symbology for a multi-line profile or end cap.
Definition: DgnPlatform.r.h:30
Hosted on an indexed View.
struct DgnPlatform::DependentElm * DependentElemRef
Definition: DgnPlatform.h:165
Definition: DgnPlatform.r.h:35
struct Bentley::BitMask const * BitMaskCP
Definition: DgnPlatform.h:134
Class for collecting and manipulating curve data.
Definition: GPArray.h:91
Definition: Bentley.h:210
Definition: DgnPlatform.r.h:44
#define END_BENTLEY_NAMESPACE
Definition: Bentley.r.h:25
This structure is not intended to be used directly, and supports file storage.
Definition: DgnPlatform.r.h:710
The element or model header was updated.
Definition: DgnPlatform.h:1525
The element or model was added.
Definition: DgnPlatform.r.h:38
Definition: DgnPlatform.r.h:43
Interface to be adopted by a class the implements the reference-counting pattern. ...
Definition: RefCounted.h:34
Definition: DgnPlatform.r.h:31
Definition: DgnPlatform.h:1519
Definition: DgnPlatform.r.h:46
float v
Definition: DgnPlatform.h:1522
float w
Definition: DgnPlatform.h:1529
uintptr_t Offset_t
Definition: DgnPlatform.h:617
Definition: DgnPlatform.r.h:52
Definition: DgnPlatform.r.h:29
patternParams.scale present
ElementChangeType
The kinds of changes recorded in design history.
Definition: DgnPlatform.h:659
DgnPlatform::DgnHistory::ElementChangeType BentleyDgnHistoryElementChangeType
Definition: DgnPlatform.h:1738
Definition: DgnPlatform.h:611
Integer x,y rectangle coordinates for GUI: BSIRect.
struct dgnMlineStyle const * MlineStyleConstP
Definition: DgnPlatform.h:602
unknown status (newly added to system)
Definition: DgnPlatform.r.h:40
Definition: DgnPlatform.r.h:37