DgnPlatform.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 #include <Bentley/Bentley.h>
11 #include <Bentley/RefCounted.h>
12 #include <Bentley/ScopedArray.h>
13 #include "ExportMacros.h"
14 #include <Geom/GeomApi.h>
16 #include <Bentley/bvector.h>
18 #include <Bentley/BeConsole.h>
21 #include "DgnPlatform.r.h"
22 #include "DgnPlatformErrors.r.h"
23 #include "DgnHost.h"
24 
27 #define USING_NAMESPACE_BENTLEY_DGNPLATFORM using namespace Bentley::DgnPlatform;
28 
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;
32 
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;
36 
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;
43 
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;
47 
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;
51 
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;
55 
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;
59 
60 #define GLOBAL_TYPEDEF1(_sName_,_name_,structunion) \
61  structunion _sName_; \
62  namespace Bentley {\
63  typedef structunion _sName_* _name_##P, &_name_##R; \
64  typedef structunion _sName_ const* _name_##CP; \
65  typedef structunion _sName_ const& _name_##CR;}
66 
67 #define GLOBAL_TYPEDEF(_sName_,_name_) GLOBAL_TYPEDEF1 (_sName_,_name_,struct)
68 
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_)
72 
73 #define DGNPLATFORM_TYPEDEFS(_name_) DGNPLATFORM_TYPEDEFS_EX(_name_,struct)
74 
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
78 
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
82 
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)
86 
87 #define MSTNPLATFORM_TYPEDEFS(_name_) \
88  BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE struct _name_; END_BENTLEY_MSTNPLATFORM_NAMESPACE \
89  ADD_BENTLEY_TYPEDEFS(MstnPlatform,_name_)
90 
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
94 
95 #define RASTER_TYPEDEFS(t) \
96  BEGIN_RASTER_NAMESPACE struct t; END_RASTER_NAMESPACE \
97  ADD_BENTLEY_TYPEDEFS (DgnPlatform::Raster,t);
98 
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
102 
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_)
106 
107 #define POINTCLOUD_TYPEDEFS(t) \
108  BEGIN_BENTLEY_POINTCLOUD_NAMESPACE struct t; END_BENTLEY_POINTCLOUD_NAMESPACE \
109  ADD_BENTLEY_TYPEDEFS (PointCloud,t);
110 
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
114 
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_)
118 
119 #define GEOCOORD_TYPEDEFS(_name_) \
120  BEGIN_BENTLEY_NAMESPACE namespace GeoCoordinates { struct _name_; } END_BENTLEY_NAMESPACE \
121  ADD_BENTLEY_TYPEDEFS(GeoCoordinates, _name_)
122 
123 // ///////////////////////////////////////////////////////////////////////////////////////////////////
124 // Global types
125 // ///////////////////////////////////////////////////////////////////////////////////////////////////
126 GLOBAL_TYPEDEF (QvElem,QvElem)
127 GLOBAL_TYPEDEF (QvCache,QvCache)
128 GLOBAL_TYPEDEF (QvView,QvView)
129 GLOBAL_TYPEDEF (QvMRImage,QvMRImage)
130 
131 // ///////////////////////////////////////////////////////////////////////////////////////////////////
132 // DgnPlatform types
133 // ///////////////////////////////////////////////////////////////////////////////////////////////////
135 BENTLEY_TYPEDEFS (CryptographerHash)
136 BENTLEY_TYPEDEFS (DsigCertificate)
137 BENTLEY_TYPEDEFS (DsigDigitalSignature)
138 BENTLEY_TYPEDEFS (DsigPublicKeyBuf)
141 BENTLEY_TYPEDEFS (GraphicsPointArray)
144 BENTLEY_TYPEDEFS (MultiStateMask)
145 BENTLEY_TYPEDEFS (PasswordEncryption)
146 BENTLEY_TYPEDEFS (ScrambledPassword)
150 
151 // ///////////////////////////////////////////////////////////////////////////////////////////////////
152 // MstnPlatform types
153 // ///////////////////////////////////////////////////////////////////////////////////////////////////
158 MSTNPLATFORM_TYPEDEFS (IGeoCoordinateReferenceProcessor)
159 MSTNPLATFORM_TYPEDEFS (IGlobalPositionSource)
160 MSTNPLATFORM_TYPEDEFS (DgnDocumentList)
161 
162 // ///////////////////////////////////////////////////////////////////////////////////////////////////
163 // DgnPlatform types
164 // ///////////////////////////////////////////////////////////////////////////////////////////////////
168 DGNPLATFORM_TYPEDEFS_EX (AssocGeom,union)
170 
173 DGNPLATFORM_TYPEDEFS (CachedVisibleEdgeOptions)
174 DGNPLATFORM_TYPEDEFS (CachedVisibleEdgeHashParams)
175 DGNPLATFORM_TYPEDEFS (ChangeAnnotationScale)
176 DGNPLATFORM_TYPEDEFS (ChangeTrackInfo)
177 DGNPLATFORM_TYPEDEFS (ClipPrimitive);
178 DGNPLATFORM_TYPEDEFS (ClipVector);
179 DGNPLATFORM_TYPEDEFS (ClipVolumeOverrides)
180 DGNPLATFORM_TYPEDEFS (CookedDisplayStyle)
181 DGNPLATFORM_TYPEDEFS (CutGraphicsContainer)
182 DGNPLATFORM_TYPEDEFS (DependencyGraph)
184 DGNPLATFORM_TYPEDEFS (DependentElm)
185 DGNPLATFORM_TYPEDEFS (DgnAttachment)
186 DGNPLATFORM_TYPEDEFS (DgnAttachmentBuilder)
187 DGNPLATFORM_TYPEDEFS (DgnAttachmentClips)
188 DGNPLATFORM_TYPEDEFS (DgnAttachmentLevelCache)
189 DGNPLATFORM_TYPEDEFS (DgnBaseMoniker)
190 DGNPLATFORM_TYPEDEFS (DgnBaseMonikerList)
191 DGNPLATFORM_TYPEDEFS (DgnButtonEvent)
192 DGNPLATFORM_TYPEDEFS (DgnColorMap)
193 DGNPLATFORM_TYPEDEFS (DgnComponentDefinitionHandlerId)
194 DGNPLATFORM_TYPEDEFS (DgnDimStyle)
195 DGNPLATFORM_TYPEDEFS (DgnDocument)
197 DGNPLATFORM_TYPEDEFS (DgnDocumentMoniker)
198 DGNPLATFORM_TYPEDEFS (DgnDocumentMonikerList)
199 DGNPLATFORM_TYPEDEFS (DgnECInstance);
200 DGNPLATFORM_TYPEDEFS (DgnECInstanceHost)
201 DGNPLATFORM_TYPEDEFS (DgnECRelationshipInstance);
202 DGNPLATFORM_TYPEDEFS (DgnECManager);
203 DGNPLATFORM_TYPEDEFS (DgnECPerFileCache);
204 DGNPLATFORM_TYPEDEFS (DgnECRelationshipEnabler);
205 DGNPLATFORM_TYPEDEFS (DgnElementECInstance);
207 DGNPLATFORM_TYPEDEFS (DgnFileLoadContext)
208 DGNPLATFORM_TYPEDEFS (DgnFileSupplyRights)
209 DGNPLATFORM_TYPEDEFS (DgnFlickEvent)
210 DGNPLATFORM_TYPEDEFS (DgnFolderMoniker)
211 DGNPLATFORM_TYPEDEFS (DgnFolderMonikerList)
212 DGNPLATFORM_TYPEDEFS (DgnFont)
213 DGNPLATFORM_TYPEDEFS (DgnFontCatalog)
214 DGNPLATFORM_TYPEDEFS (DgnFontManager)
215 DGNPLATFORM_TYPEDEFS (DgnFontNumMap)
216 DGNPLATFORM_TYPEDEFS (DgnGestureEvent)
219 DGNPLATFORM_TYPEDEFS (ModelIndexItem)
221 DGNPLATFORM_TYPEDEFS (DgnModelHandler)
222 DGNPLATFORM_TYPEDEFS (DgnModelHandlerId)
223 DGNPLATFORM_TYPEDEFS (DgnModelRef)
224 DGNPLATFORM_TYPEDEFS (DgnModelRefList)
225 DGNPLATFORM_TYPEDEFS (DgnMouseWheelEvent)
226 DGNPLATFORM_TYPEDEFS (DgnPlatformIntegration)
227 DGNPLATFORM_TYPEDEFS (DgnPlatformIntegrationList)
228 DGNPLATFORM_TYPEDEFS (DgnShxFontManager)
229 DGNPLATFORM_TYPEDEFS (DgnTextStyle)
230 DGNPLATFORM_TYPEDEFS (DgnTextSnippet)
231 DGNPLATFORM_TYPEDEFS (DgnTextSnippetCategory)
232 DGNPLATFORM_TYPEDEFS (DgnTextSnippetCategoryCollection)
233 DGNPLATFORM_TYPEDEFS (DgnTouchEvent)
234 DGNPLATFORM_TYPEDEFS (DgnWorkSpace)
235 DGNPLATFORM_TYPEDEFS (DisplayHandler)
236 DGNPLATFORM_TYPEDEFS (DisplayPath)
237 DGNPLATFORM_TYPEDEFS (DisplayPrioritySettings)
238 DGNPLATFORM_TYPEDEFS (DisplayFilterKey)
239 DGNPLATFORM_TYPEDEFS (DisplayFilterHandler)
240 DGNPLATFORM_TYPEDEFS (DisplayFilterHandlerManager)
241 DGNPLATFORM_TYPEDEFS (DisplayStyle)
242 DGNPLATFORM_TYPEDEFS (DisplayStyleFlags)
243 DGNPLATFORM_TYPEDEFS (DisplayStyleHandlerManager)
244 DGNPLATFORM_TYPEDEFS (DisplayStyleHandler)
245 DGNPLATFORM_TYPEDEFS (DisplayStyleHandlerSettings)
246 DGNPLATFORM_TYPEDEFS (DisplayStyleList)
247 DGNPLATFORM_TYPEDEFS (DisplayStyleManager)
248 DGNPLATFORM_TYPEDEFS (DrawContext)
249 DGNPLATFORM_TYPEDEFS (DropGeometry)
250 DGNPLATFORM_TYPEDEFS (DropGraphics)
251 DGNPLATFORM_TYPEDEFS (DwgHatchDef)
252 DGNPLATFORM_TYPEDEFS (DwgHatchDefLine)
253 DGNPLATFORM_TYPEDEFS (DynamicViewSettings)
254 DGNPLATFORM_TYPEDEFS (EditElementHandle)
255 DGNPLATFORM_TYPEDEFS (ElemDisplayParams)
256 DGNPLATFORM_TYPEDEFS (ElemHeaderOverrides)
257 DGNPLATFORM_TYPEDEFS (ElemMatSymb)
258 DGNPLATFORM_TYPEDEFS (ElementAgenda)
259 DGNPLATFORM_TYPEDEFS (ElementCopyContext)
260 DGNPLATFORM_TYPEDEFS (ElementHandle)
261 DGNPLATFORM_TYPEDEFS (ElementLocateManager)
262 DGNPLATFORM_TYPEDEFS (ElementPropertiesGetter)
263 DGNPLATFORM_TYPEDEFS (ElementPropertiesSetter)
264 DGNPLATFORM_TYPEDEFS (ElementRefBase)
265 DGNPLATFORM_TYPEDEFS (ExtendedColorMap)
266 DGNPLATFORM_TYPEDEFS (FenceManager)
267 DGNPLATFORM_TYPEDEFS (FenceParams)
268 DGNPLATFORM_TYPEDEFS (FileLevelCache)
270 DGNPLATFORM_TYPEDEFS (GradientSettings)
271 DGNPLATFORM_TYPEDEFS (GradientSymb)
272 DGNPLATFORM_TYPEDEFS (HatchLinkage)
275 DGNPLATFORM_TYPEDEFS (IACSManager)
276 DGNPLATFORM_TYPEDEFS (IAnnotationHandler)
277 DGNPLATFORM_TYPEDEFS (IAuxCoordSys)
278 DGNPLATFORM_TYPEDEFS (ICachedDraw)
279 DGNPLATFORM_TYPEDEFS (ICurvePathQuery)
281 DGNPLATFORM_TYPEDEFS (IDGConstraintInXAttributeSupplier)
282 DGNPLATFORM_TYPEDEFS (IDGConstraintSupplier)
283 DGNPLATFORM_TYPEDEFS (IDGInternalConstraintSupplier)
284 DGNPLATFORM_TYPEDEFS (IDGStratumQuery)
285 DGNPLATFORM_TYPEDEFS (IDeleteManipulator)
286 DGNPLATFORM_TYPEDEFS (IDependencyHandler)
287 DGNPLATFORM_TYPEDEFS (IDgnComponentDefinitionHandler)
288 DGNPLATFORM_TYPEDEFS (IDgnComponentDefinitionModelHandler);
289 DGNPLATFORM_TYPEDEFS (IDgnECProvider)
290 DGNPLATFORM_TYPEDEFS (IDgnECRelationshipInstance)
291 DGNPLATFORM_TYPEDEFS (RelationshipEntry);
292 DGNPLATFORM_TYPEDEFS (IDgnElementECProvider)
293 DGNPLATFORM_TYPEDEFS (IDgnProgressMeter)
294 DGNPLATFORM_TYPEDEFS (IDisplaySymbol)
295 DGNPLATFORM_TYPEDEFS (IDragManipulator)
297 
298 DGNPLATFORM_TYPEDEFS (XDataTreeNode)
299 DGNPLATFORM_TYPEDEFS (ElementTemplateNode)
300 DGNPLATFORM_TYPEDEFS (UserInterfaceNode)
301 DGNPLATFORM_TYPEDEFS (ContextMenuNode)
302 DGNPLATFORM_TYPEDEFS (ExplorerContextMenuNode)
303 DGNPLATFORM_TYPEDEFS (MainTaskNode)
306 DGNPLATFORM_TYPEDEFS (TentativePopupMenuNode)
307 DGNPLATFORM_TYPEDEFS (ToolBoxNode)
308 DGNPLATFORM_TYPEDEFS (ViewPopupMenuNode)
309 
310 DGNPLATFORM_TYPEDEFS (IEditAction)
311 DGNPLATFORM_TYPEDEFS (IEditActionArray)
312 DGNPLATFORM_TYPEDEFS (IEditActionSource)
313 DGNPLATFORM_TYPEDEFS (IElemTopology)
314 DGNPLATFORM_TYPEDEFS (IElementGraphicsProcessor)
315 DGNPLATFORM_TYPEDEFS (IElementSet)
316 DGNPLATFORM_TYPEDEFS (IElementState)
318 DGNPLATFORM_TYPEDEFS (ILineStyleComponent)
319 DGNPLATFORM_TYPEDEFS (ILsSymbolGraphicsOverrideMap)
320 DGNPLATFORM_TYPEDEFS (IMaterialAnnouncer)
321 DGNPLATFORM_TYPEDEFS (IMaterialListener)
322 DGNPLATFORM_TYPEDEFS (IMaterialProvider)
323 DGNPLATFORM_TYPEDEFS (IMaterialStore)
324 DGNPLATFORM_TYPEDEFS (INamedViewElementHandler)
326 DGNPLATFORM_TYPEDEFS (IPropertyManipulator)
327 DGNPLATFORM_TYPEDEFS (IRasterAttachmentEdit)
328 DGNPLATFORM_TYPEDEFS (IRasterAttachmentQuery)
329 DGNPLATFORM_TYPEDEFS (IRasterOutput)
330 DGNPLATFORM_TYPEDEFS (IRasterSourceFileQuery)
331 DGNPLATFORM_TYPEDEFS (ISolidKernelEntity)
333 DGNPLATFORM_TYPEDEFS (IFaceMaterialAttachments)
336 DGNPLATFORM_TYPEDEFS (ITextEditRestrictions)
337 DGNPLATFORM_TYPEDEFS (ITextPartId)
339 DGNPLATFORM_TYPEDEFS (ITextQueryOptions)
340 DGNPLATFORM_TYPEDEFS (ITiledRaster)
341 DGNPLATFORM_TYPEDEFS (ITransactionHandler)
342 DGNPLATFORM_TYPEDEFS (ITransformManipulator)
343 DGNPLATFORM_TYPEDEFS (ITxnManager)
344 DGNPLATFORM_TYPEDEFS (IVertexManipulator)
346 DGNPLATFORM_TYPEDEFS (IViewHandlerHitInfo)
347 DGNPLATFORM_TYPEDEFS (IViewManager)
348 DGNPLATFORM_TYPEDEFS (IViewOutput)
349 DGNPLATFORM_TYPEDEFS (IViewTransients)
350 DGNPLATFORM_TYPEDEFS (IVariableMonitor)
351 DGNPLATFORM_TYPEDEFS (IndexedViewSet)
352 DGNPLATFORM_TYPEDEFS (IndexedViewport)
354 DGNPLATFORM_TYPEDEFS (PersistentLevelCache)
355 DGNPLATFORM_TYPEDEFS (LevelMaskTree)
356 DGNPLATFORM_TYPEDEFS (LevelNameDictionary)
357 
358 DGNPLATFORM_TYPEDEFS (LibraryLevelCache)
359 DGNPLATFORM_TYPEDEFS (LineStyleManager)
361 DGNPLATFORM_TYPEDEFS (LineStyleSymb)
362 DGNPLATFORM_TYPEDEFS (LineStyleHandle)
363 DGNPLATFORM_TYPEDEFS (LinkageHeader)
364 DGNPLATFORM_TYPEDEFS (LsCacheComponent)
365 DGNPLATFORM_TYPEDEFS (LsCacheCompoundComponent)
366 DGNPLATFORM_TYPEDEFS (LsDefinition)
367 DGNPLATFORM_TYPEDEFS (LsDgnFileMap)
371 DGNPLATFORM_TYPEDEFS (LsMapIterator)
372 DGNPLATFORM_TYPEDEFS (LsCacheInternalComponent)
373 DGNPLATFORM_TYPEDEFS (LsCacheStroke)
374 DGNPLATFORM_TYPEDEFS (LsCachePointComponent)
375 DGNPLATFORM_TYPEDEFS (LsResourceFileMap)
376 DGNPLATFORM_TYPEDEFS (LsCacheStrokePatternComponent)
377 DGNPLATFORM_TYPEDEFS (LsCacheSymbolReference)
378 DGNPLATFORM_TYPEDEFS (LsCacheSymbolComponent)
379 DGNPLATFORM_TYPEDEFS (LsSystemMap)
380 DGNPLATFORM_TYPEDEFS (LsComponent)
381 DGNPLATFORM_TYPEDEFS (LsCompoundInfo)
382 DGNPLATFORM_TYPEDEFS (LsPointSymbolComponent)
383 DGNPLATFORM_TYPEDEFS (LsStrokeData)
384 DGNPLATFORM_TYPEDEFS (LsLineCodeComponent)
385 DGNPLATFORM_TYPEDEFS (LsLinePointComponent)
386 DGNPLATFORM_TYPEDEFS (LsPointSymbolInfo)
387 DGNPLATFORM_TYPEDEFS (LsCompoundComponent)
388 DGNPLATFORM_TYPEDEFS (LsInternalComponent)
389 DGNPLATFORM_TYPEDEFS (LsRasterImageComponent)
390 DGNPLATFORM_TYPEDEFS (MSElementDescr);
392 DGNPLATFORM_TYPEDEFS (MaterialAssignment)
393 DGNPLATFORM_TYPEDEFS (MaterialColorMask)
395 DGNPLATFORM_TYPEDEFS (MaterialManager)
396 DGNPLATFORM_TYPEDEFS (MaterialPreview)
397 DGNPLATFORM_TYPEDEFS (MaterialPreviewCollection)
398 DGNPLATFORM_TYPEDEFS (MaterialTable)
399 DGNPLATFORM_TYPEDEFS (MaterialUVDetail)
401 DGNPLATFORM_TYPEDEFS (ModelRefIterator)
402 DGNPLATFORM_TYPEDEFS (ModelProgressIndicator)
404 DGNPLATFORM_TYPEDEFS (NamedGroupCollection)
405 DGNPLATFORM_TYPEDEFS (NamedGroupFlags)
406 DGNPLATFORM_TYPEDEFS (NamedGroupMember)
407 DGNPLATFORM_TYPEDEFS (NamedGroupMemberFlags)
408 DGNPLATFORM_TYPEDEFS (NamedBoundary)
409 DGNPLATFORM_TYPEDEFS (NamedBoundaryGroup)
410 DGNPLATFORM_TYPEDEFS (NamedBoundaryCollection)
411 DGNPLATFORM_TYPEDEFS (NamedBoundaryGroupCollection)
413 DGNPLATFORM_TYPEDEFS (NamedViewCollection)
414 DGNPLATFORM_TYPEDEFS (NamedViewPropMask)
415 DGNPLATFORM_TYPEDEFS (NotificationManager)
417 DGNPLATFORM_TYPEDEFS (ParagraphProperties)
418 DGNPLATFORM_TYPEDEFS (PatternParams)
419 DGNPLATFORM_TYPEDEFS (PersistentElementPath)
420 DGNPLATFORM_TYPEDEFS (PersistentSnapPath)
421 DGNPLATFORM_TYPEDEFS (PropertyContext)
422 DGNPLATFORM_TYPEDEFS (ProxyDgnAttachmentHandler)
423 DGNPLATFORM_TYPEDEFS (ProxyDgnAttachmentHandlerManager)
424 DGNPLATFORM_TYPEDEFS (ProxyDisplayCacheBase)
425 DGNPLATFORM_TYPEDEFS (ProxyDisplayPath)
426 DGNPLATFORM_TYPEDEFS (ProxyHLEdgeId)
427 DGNPLATFORM_TYPEDEFS (ProxyEdgeId)
428 DGNPLATFORM_TYPEDEFS (ProxyEdgeIdData)
429 DGNPLATFORM_TYPEDEFS (ProxyHLEdgeSegmentId)
430 DGNPLATFORM_TYPEDEFS (ProxyModelBase)
431 DGNPLATFORM_TYPEDEFS (QVAliasMaterialId)
433 DGNPLATFORM_TYPEDEFS (QvUnsizedKey)
434 DGNPLATFORM_TYPEDEFS (RasterOverridesCollection)
435 DGNPLATFORM_TYPEDEFS (ReferencedByArray)
436 DGNPLATFORM_TYPEDEFS (RegionGraphicsContext)
437 DGNPLATFORM_TYPEDEFS (RegisteredApp)
438 DGNPLATFORM_TYPEDEFS (RegisteredAppCollection)
439 DGNPLATFORM_TYPEDEFS (RunProperties)
440 DGNPLATFORM_TYPEDEFS (RunPropertiesBase)
441 DGNPLATFORM_TYPEDEFS (ScanCriteria)
443 DGNPLATFORM_TYPEDEFS (SchemaInfo);
444 DGNPLATFORM_TYPEDEFS (SeedCopyContext)
446 DGNPLATFORM_TYPEDEFS (SelectionPath)
447 DGNPLATFORM_TYPEDEFS (SelectionSetManager)
448 DGNPLATFORM_TYPEDEFS (SharedGraphicsHandler)
450 DGNPLATFORM_TYPEDEFS (SnapContext)
452 DGNPLATFORM_TYPEDEFS (StoredExpression)
453 DGNPLATFORM_TYPEDEFS (StoredExpressionKeyword)
454 DGNPLATFORM_TYPEDEFS (SymbolContext)
455 DGNPLATFORM_TYPEDEFS (SymbologyOverrides)
458 DGNPLATFORM_TYPEDEFS (TextBlockProperties)
459 DGNPLATFORM_TYPEDEFS (TextParamWide)
461 DGNPLATFORM_TYPEDEFS (TextStringProperties)
463 DGNPLATFORM_TYPEDEFS (TextStyleOverrideFlags)
464 DGNPLATFORM_TYPEDEFS (TransformInfo)
465 DGNPLATFORM_TYPEDEFS (TransformClipStack)
467 DGNPLATFORM_TYPEDEFS (UpdateContext)
468 DGNPLATFORM_TYPEDEFS (UpdateSequenceList)
469 DGNPLATFORM_TYPEDEFS (ViewContext)
470 DGNPLATFORM_TYPEDEFS (ViewDisplayOverrides)
472 DGNPLATFORM_TYPEDEFS (ViewGeomInfo)
474 DGNPLATFORM_TYPEDEFS (ViewGroupCollection)
475 DGNPLATFORM_TYPEDEFS (ViewGroupCopyOptions)
476 DGNPLATFORM_TYPEDEFS (ViewHandler)
477 DGNPLATFORM_TYPEDEFS (ViewHandlerPass)
479 DGNPLATFORM_TYPEDEFS (ViewPortInfo)
481 DGNPLATFORM_TYPEDEFS (ApplyViewOptions)
482 DGNPLATFORM_TYPEDEFS (VisibleEdgeCache)
483 DGNPLATFORM_TYPEDEFS (HLDisplayPath)
484 DGNPLATFORM_TYPEDEFS (VisibleEdgeCalculationCache)
485 DGNPLATFORM_TYPEDEFS (HLOcclusionPath)
486 DGNPLATFORM_TYPEDEFS (HLOcclusionPathSet)
487 DGNPLATFORM_TYPEDEFS (WhereCriterion)
488 DGNPLATFORM_TYPEDEFS (WorkSetCollection)
489 DGNPLATFORM_TYPEDEFS (XAttributeHandle)
490 DGNPLATFORM_TYPEDEFS (XAttributeHandler)
491 DGNPLATFORM_TYPEDEFS (XAttributeHandlerId)
492 DGNPLATFORM_TYPEDEFS (XAttributesHolder)
493 DGNPLATFORM_TYPEDEFS (XGraphicsContainer)
494 DGNPLATFORM_TYPEDEFS (XGraphicsSymbol)
495 DGNPLATFORM_TYPEDEFS (XGraphicsSymbolCache)
496 DGNPLATFORM_TYPEDEFS (XGraphicsOperationContext)
497 
498 GEOCOORD_TYPEDEFS (IGeoCoordinateServices)
500 
501 
502 
503 DGNPLATFORM_TYPEDEFS (LineStyleInfo)
504 
506 DGNPLATFORM_REF_COUNTED_PTR (IRasterSourceFileQuery)
509 
510 DGNPLATFORM_TYPEDEFS (ElementAndModelIdRemapping)
511 DGNHISTORY_TYPEDEFS (struct, ModelsToElementChangesMap)
512 DGNHISTORY_TYPEDEFS (class, RevisionInfo)
513 
515 DGNPLATFORM_REF_COUNTED_PTR (DgnBaseMonikerList)
518 DGNPLATFORM_REF_COUNTED_PTR (DgnDocumentMoniker)
519 DGNPLATFORM_REF_COUNTED_PTR (DgnDocumentMonikerList)
521 DGNPLATFORM_REF_COUNTED_PTR (DgnFolderMoniker)
522 DGNPLATFORM_REF_COUNTED_PTR (DgnFolderMonikerList)
524 DGNPLATFORM_REF_COUNTED_PTR (DgnPlatformIntegration)
525 DGNPLATFORM_REF_COUNTED_PTR (DgnPlatformIntegrationList)
526 DGNPLATFORM_REF_COUNTED_PTR (DisplayStyleHandlerSettings)
527 DGNPLATFORM_REF_COUNTED_PTR (DisplayFilterKey)
529 
530 
531 DGNPLATFORM_TYPEDEFS_EX (MSElement,union)
533 DGNPLATFORM_TYPEDEFS (FindInstancesScope)
534 DGNPLATFORM_TYPEDEFS (DgnECInstanceEnabler)
535 DGNPLATFORM_TYPEDEFS (DgnECInstanceIterable)
536 DGNPLATFORM_TYPEDEFS (DgnECRelationshipIterable)
537 DGNPLATFORM_TYPEDEFS (SelectedProperties)
538 DGNPLATFORM_TYPEDEFS (QueryRelatedClassSpecifier)
539 DGNPLATFORM_TYPEDEFS (DgnECInstanceCreateOptions)
540 DGNPLATFORM_TYPEDEFS (DgnECInstanceCreateContext)
541 DGNPLATFORM_TYPEDEFS (DgnECInstance)
542 
543 DGNPLATFORM_TYPEDEFS (IDisplayRuleAction)
544 DGNPLATFORM_TYPEDEFS (ElementDisplayAction)
545 DGNPLATFORM_TYPEDEFS (ColorOverrideAction)
546 DGNPLATFORM_TYPEDEFS (FillColorOverrideAction)
547 DGNPLATFORM_TYPEDEFS (StyleOverrideAction)
548 DGNPLATFORM_TYPEDEFS (WeightOverrideAction)
549 DGNPLATFORM_TYPEDEFS (TransparencyOverrideAction)
550 DGNPLATFORM_TYPEDEFS (ElementPriorityAction)
551 DGNPLATFORM_TYPEDEFS (LevelOfDetailAction)
552 DGNPLATFORM_TYPEDEFS (PresentationFormAction)
553 DGNPLATFORM_TYPEDEFS (AreaHatchAction)
554 DGNPLATFORM_TYPEDEFS (AreaPatternAction)
555 DGNPLATFORM_TYPEDEFS (MaterialAction)
556 DGNPLATFORM_TYPEDEFS (DisplayStyleOverrideAction);
557 DGNPLATFORM_TYPEDEFS (DisplayRule)
558 DGNPLATFORM_TYPEDEFS (DisplayRuleSet)
559 DGNPLATFORM_REF_COUNTED_PTR (IDisplayRuleAction)
560 DGNPLATFORM_REF_COUNTED_PTR (ElementDisplayAction)
561 DGNPLATFORM_REF_COUNTED_PTR (ColorOverrideAction)
562 DGNPLATFORM_REF_COUNTED_PTR (FillColorOverrideAction)
563 DGNPLATFORM_REF_COUNTED_PTR (StyleOverrideAction)
564 DGNPLATFORM_REF_COUNTED_PTR (WeightOverrideAction)
565 DGNPLATFORM_REF_COUNTED_PTR (TransparencyOverrideAction)
566 DGNPLATFORM_REF_COUNTED_PTR (ElementPriorityAction)
567 DGNPLATFORM_REF_COUNTED_PTR (LevelOfDetailAction)
568 DGNPLATFORM_REF_COUNTED_PTR (PresentationFormAction)
570 DGNPLATFORM_REF_COUNTED_PTR (AreaPatternAction)
572 DGNPLATFORM_REF_COUNTED_PTR (DisplayStyleOverrideAction)
575 
578 
579 DGNPLATFORM_TYPEDEFS (ItemTypeLibrary)
581 DGNPLATFORM_TYPEDEFS (CustomPropertyType)
582 DGNPLATFORM_TYPEDEFS (CustomProperty)
583 DGNPLATFORM_TYPEDEFS (CustomPropertyContainer)
584 DGNPLATFORM_TYPEDEFS (ItemTypeLibraries)
585 DGNPLATFORM_TYPEDEFS (CustomItemHost)
586 DGNPLATFORM_TYPEDEFS (PickListLibrary)
588 DGNPLATFORM_TYPEDEFS (PickListValue)
589 
591 DGNPLATFORM_REF_COUNTED_PTR (ItemTypeLibraries)
595 
596 // Define other pointer types in the Bentley namespace.
598 
599 typedef struct DgnPlatform::MSElementDescr** MSElementDescrH;
600 typedef struct MultiStateMask** MultiStateMaskH;
601 typedef struct TransElemDescr* TransDescrP;
602 typedef struct dgnMlineStyle const* MlineStyleConstP;
603 typedef struct dgnMlineStyle* MlineStyleP;
604 typedef struct DgnPlatform::TextStyle MdlTextStyle;
605 
606 enum
607 {
614 };
615 
616 
617 typedef uintptr_t Offset_t; // WIP_DGNPLATFORM_TOOLS
618 
620 
622 
624 
626 #define INVALID_REMAP_KEY (CopyContextRemapKey)-1
627 
628 typedef bmap<ElementId, ElementId> T_StdElementIDMap;
629 typedef bmap<ModelId, ModelId> T_StdModelIDMap;
630 typedef bvector<ElementId> T_StdElementIdVector;
631 
634 
636 typedef bvector<DgnAttachmentP> T_DgnAttachmentVector;
637 
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)
642 
645  {
647  struct Window {};
648  typedef Window* WindowP;
650  struct DeviceContext {};
653  struct Bitmap {};
654  typedef Bitmap* BitmapP;
655  };
656 
657 namespace DgnHistory {
660 { // ***************************** PERSISTENT VALUES -- DO NOT CHANGE *********************************
661  Missing = 0,
662  Added = 1,
663  Deleted = 2,
664  Replaced = 4,
665 };
666 } // DgnHistory
667 
669  {
670  None = 0,
671  Editor = (1 << 0),
672  Update = (1 << 1),
673  Plot = (1 << 2),
674  ModelLoad = (1 << 3),
675  ModelSave = (1 << 4),
676  DesignHistory = (1 << 5),
677  Unconditional = -1
678  };
679 
680 /*=================================================================================**/
685  {
686  Predefined = -2,
687  SysEnv = -1,
688  System = 0,
689  Application = 1,
690  Organization = 2,
691  WorkSpace = 3,
692  WorkSet = 4,
693  Role = 5,
694  User = 6,
695  };
696 
697 //=======================================================================================
704 //=======================================================================================
706 {
707  Delete = 1,
708  Add = 2,
709  Modify = 3,
710  AddComplete = 4,
711  ModifyFence = 5,
712  Mark = 7,
713  ModelAdd = 9,
714  ModelDelete = 10,
715  XAttributeAdd = 11,
716  XAttributeDelete = 12,
717  XAttributeModify = 13,
718  XAttributeReplace = 14,
719  ModelPropModify = 15,
720  CustomEntry = 16,
721  ModifyComplete = 17,
722  Last = ChangeTrackAction::ModifyComplete,
723 };
724 
725 //=======================================================================================
729 //=======================================================================================
731 {
732  UndoRedo = 1,
733  HistoryRestore = 2,
734  HistoryMerge = 3,
735 };
736 
740 {
742  Success = 0,
748  MaxIterationsError = -1001,
751  MissingCallBackError = -1002,
753  RefToTentativeError = -1003,
755  DisabledError = -1004,
758  SuspendedError = -1005,
760  RecursiveError = -1006,
761 };
762 
765  {
767  Success = 0,
769  RedundantFailure = -2001,
771  BadConstraintFailure = -2002,
774  };
775 
776 /*=================================================================================**/
779 enum
780  {
782  MAX_REFLOGICALNAME = DGNPLATFORM_RESOURCE_MAX_REFLOGICALNAME,/* max length a ref file logical name can be including end of string NULL */
787  MAX_ATTRIBSIZE = MAX_ELEMENT_WORDS, /* largest attributes (words) */
788  MAX_REFCLIPPNTS = 2500, /* maximum reference clip points */
789  MAX_REFFULLPATH = DGNPLATFORM_RESOURCE_MAX_REFFULLPATH, /* max length a ref file can be attached with full path including end of string NULL */
790  MAX_REFLOGICALNAMEBYTES = (2 * MAX_REFLOGICALNAME), /* max length a ref file logical name can be including end of string NULL */
791  MAX_REFDESCRIPTION = DGNPLATFORM_RESOURCE_MAX_REFDESCRIPTION, /* max length a ref file description can be including end of string NULL */
792  MAX_REFDESCRIPTIONBYTES = (2 * DGNPLATFORM_RESOURCE_MAX_REFDESCRIPTION), /* max length a ref file description can be including end of string NULL */
793  MAX_REFBOUNDS = 200, /* maximum bounds + voids */
795  MAX_EDFIELDS = 20, /* max enter data fields / line */
797  MAX_LINKAGE_STRING_BYTES = (2*MAX_LINKAGE_STRING_LENGTH), /* max number of bytes string in a linkage */
851  MAX_VERTICES = 5000,
858  INVALID_LEVEL = 0xffffffff, /* LEVEL_NULL_ID */
859  INVALID_COLOR = 0xffffff00,
860  INVALID_STYLE = 0x7fffff00,
861  INVALID_WEIGHT = 0xffffff00,
862  INVALID_CLASS = 0xfefd, /* This is larger than the 4 bits allotted in an element; don't try to put it there */
863  };
864 
866  {
957 
958 
1040  };
1041 
1042 /*=================================================================================**/
1045 enum class DgnCoordSystem
1046  {
1047  Screen = 0,
1048  View = 1,
1049  Npc = 2,
1050  Root = 3,
1051  Active = 4,
1052  Frustum = 5,
1053  };
1054 
1055 enum class GradientFlags
1056  {
1057  Invert = (1 << 0),
1058  Outline = (1 << 1),
1059  AlwaysFilled = (1 << 2),
1060  };
1061 
1063 
1064 enum class ClipMask
1065  {
1066  None = 0,
1067  XLow = (0x0001 << 0),
1068  XHigh = (0x0001 << 1),
1069  YLow = (0x0001 << 2),
1070  YHigh = (0x0001 << 3),
1071  ZLow = (0x0001 << 4),
1072  ZHigh = (0x0001 << 5),
1073  XAndY = (XLow | XHigh | YLow | YHigh),
1074  All = (XAndY | ZLow | ZHigh),
1075  };
1076 
1078 
1080  {
1081  None = 0,
1082  Street = 1,
1083  Aerial = 2,
1084  Hybrid = 3,
1085  };
1086 
1087 enum
1088  {
1090  };
1091 
1092 enum
1093  {
1094  COLOR_BYLEVEL = 0xffffffff,
1095  COLOR_BYCELL = 0xfffffffe,
1096  STYLE_BYLEVEL = 0x7fffffff,
1097  STYLE_BYCELL = 0x7ffffffe,
1098  WEIGHT_BYLEVEL = 0xffffffff,
1099  WEIGHT_BYCELL = 0xfffffffe,
1101  };
1102 
1103 enum
1104  {
1106  LINKAGEID_DDE_LINK = 20285, // 0x4f3d
1107  LINKAGEID_Node = 20357, /* 0x4f85 */
1108  LINKAGEID_CellDef = 20372, /* 0x4f94 */
1109  LINKAGEID_ACS = 20389, /* 0x4fa5 */
1110  LINKAGEID_AssociatedElements = 20394, /* 0x4faa */
1111  LINKAGEID_UvVertex = 20799, // 0x513f
1112  LINKAGEID_RenderVertex = 20899, // 0x51a3
1114  LINKAGEID_Feature = 21033, /* 0x5229 */
1115  LINKAGEID_EmbeddedBRep = 21038, /* 0x522e */
1116  LINKAGEID_Profile = 21041, /* 0x5231 */
1117  LINKAGEID_Compression = 21047, /* 0x5237 */
1118  TEXTNODE_Linkage = 22220, /* 0x56CC */
1119  TEXT_Linkage = 22221, /* 0x56CD */
1120  LINKAGEID_Dependency = 22224, // 0x56d0 */
1121  LINKAGEID_String = 22226, /* 0x56d2 XATTRIBUTEID_String */
1122  LINKAGEID_BitMask = 22227, /* 0x56d3 */
1123  LINKAGEID_Thickness = 22228, /* 0x56d4 */
1124  LINKAGEID_DoubleArray = 22229, /* 0x56d5 */
1125  LINKAGEID_ToolTemplate = 22230, /* 0x56d6 */
1126  LINKAGEID_AssocRegion = 22232, /* 0x56d8 */
1127  LINKAGEID_SeedPoints = 22234, /* 0x56da */
1128  LINKAGEID_MultipleLevels = 22235, /* 0x56db */
1129  LINKAGEID_ClipBoundary = 22236, /* 0x56dc */
1130  LINKAGEID_FilterMember = 22237, /* 0x56dd */
1131  LINKAGEID_DimExtensionLinkage = 22238, /* 0x56de */
1132  LINKAGEID_Symbology = 22241, /* 0x56e1 */
1133  LINKAGEID_XML = 22243, /* 0x56e3 XATTRIBUTEID_XML */
1134  LINKAGEID_XData = 22244, /* 0x56e4 */
1135  LINKAGEID_BoundaryAssociations = 22245, /* 0x56e5 */
1136  LINKAGEID_LoopOEDCode = 22247, /* 0x56e7 */
1137  LINKAGEID_LevelLibrary = 22248, /* 0x56e8 */
1138  LINKAGEID_InfiniteLine = 22249, /* 0x56e9 */
1139  };
1140 
1141 
1143  {
1144  Normal = 1,
1145  Effective = 2,
1146  };
1147 
1148 enum class SnapStatus
1149  {
1150  Success = SUCCESS,
1151  Aborted = 1,
1152  NoElements = 2,
1153  Disabled = 100,
1154  NoSnapPossible = 200,
1155  NotSnappable = 300,
1156  RefNotSnappable = 301,
1157  FilteredByLevel = 400,
1158  FilteredByUser = 500,
1159  FilteredByApp = 600,
1160  FilteredByAppQuietly = 700,
1161  };
1162 
1164  {
1165  None = 0,
1166  Error = 10,
1167  Warning = 11,
1168  Info = 12,
1169  Debug = 13,
1170  OldStyle = 14,
1171  TempRight = 15,
1172  TempLeft = 16,
1173  Fatal = 17,
1174  };
1175 
1176 /* Values for mdlOutput_messageCenter openAlertBox argument */
1178  {
1179  None = 0,
1180  Dialog = 1,
1181  Balloon = 2,
1182  };
1183 
1184 enum FileOpenConstants // WIP_DGNPLATFORM_TOOLS
1185  {
1197  };
1198 
1200  {
1202  TRANSFORM_OPTIONS_DimValueMatchSource = (1 << 1), // Turn off if dimension value should be scaled
1203  TRANSFORM_OPTIONS_DimSizeMatchSource = (1 << 2), // Turn off if non-annotation dimension size should be scaled
1207  TRANSFORM_OPTIONS_AnnotationSizeMatchSource = (1 << 7), // Turn off if annotations should be scaled
1208  TRANSFORM_OPTIONS_RotateDimView = (1 << 8), // Turn on if dim view orientation should be changed (so that dim text orientation remains constant)
1209  TRANSFORM_OPTIONS_ApplyAnnotationScale = (1 << 9), // Turn on if annotation scale (provided by caller) should be applied to annotations
1210  TRANSFORM_OPTIONS_FromClone = (1 << 10), // transforming for purposes of cloning between models.
1211  TRANSFORM_OPTIONS_NoteScaleSize = (1 << 11), // Apply scale to note's sizes. Used as an override when TRANSFORM_OPTIONS_DimSizeMatchSource == True.
1212  TRANSFORM_OPTIONS_DisableRotateCharacters = (1 << 12) // If a rotation is specified, only the text's origin will be transformed (i.e. the characters will retain their original visual orientation).
1213  };
1214 
1216  {
1217  View = 0,
1218  WorldXY = 1, // Top
1219  WorldYZ = 2, // Right
1220  WorldXZ = 3, // Front
1221  ACS = 4,
1222  Maximum = 4,
1223  };
1224 
1225 enum
1226  {
1228  };
1229 
1230 enum
1231  {
1236  };
1237 
1239  {
1240  Display = 0,
1241  Selection = 1,
1242  Hit = 2,
1243  Snap = 3,
1244  Intersection = 4,
1245  };
1246 
1248  {
1251  };
1252 
1254  {
1255  NewAttachment = 0,
1256  Reattached = 1,
1257  UndoneDetach = 2,
1258  RedoneAttach = 3,
1259  Reloaded = 4,
1260  ReattachUndoRedo = 5,
1261  ChildrenReloaded = 6,
1262  NewNonActiveModel = 7,
1263  };
1264 
1267  {
1268  Detached = 0,
1269  UndoneAttach = 1,
1270  RedoneDetach = 2,
1271  Reattached = 3,
1272  ModelDeleted = 4,
1273  Reloaded = 5,
1274  MergedIntoMaster = 6,
1275  };
1276 
1277 /*=================================================================================**/
1280 typedef struct fb_opts
1281  {
1282  UInt32 one_one_map:1; // 1:1 mapping
1283  UInt32 db_diff_mf:1; // data base different than mf
1284  UInt32 snap_lock:1; // snap lock
1285  UInt32 locate_lock:1; // locate lock
1286  UInt32 hLineAttachment:1; // hidden line removal attachment
1287  UInt32 completePathStoredInV7:1; // the complete path was stored when this attachment was converted from V7
1288  UInt32 anonymous:1; // anonymous - If on the reference does not show up in the gui.
1289  UInt32 inactive:1; // this reference attachment ignored when loading file
1290  UInt32 synchPresentationWithNamedView:1; // used in conjunction with synchWithNamedView and synchVolumeWithNamedView to represent ReferenceSynchOption
1291  UInt32 missing_file:1; // missing file
1292  UInt32 levelOverride:3; // one of REF_FILE_LEVEL_OVERRIDE...
1293  UInt32 dontDetachOnAll:1; // don't detach when detach All invoked
1294  UInt32 metadataOnly:1; // if set, load attachment when parent file used as ref, regardless of nesting depth
1295  UInt32 attachmentFromDWG:1; // attachment was made to DWG file.
1296  UInt32 treatAsElement:1; // if an element from the reference selected in a modification command, operate on the reference
1297  UInt32 deprecated:1; // this bit is deprecated and may contain bad data. do not re-use.
1298  UInt32 attachMethod:6; // see RefAttachMethod enumeration
1299  UInt32 useViewFlagsInAttachment:1; // use the view flags that are stored in this reference when this reference is drawn
1300  UInt32 synchWithNamedView:1; // get the level display, view flags, and clip volume from the named view each time the file is opened
1301  UInt32 levelControlsDisplay:1; // don't display reference if level is off in view
1302  UInt32 useAnnotationScale:1; // use annotation scale of root model for annotations in reference
1303  UInt32 isAnnotationAttachment:1; // used for Model Documentation sheet annotation attachments - parent clipping will not be applied.
1304  UInt32 userSpecifiedZForGeoReprojected:1; // it's a geographic reprojected attachment for which the user specified the Z offset.
1305  UInt32 applicationLocked:1; // An application has locked this reference to prevent most user manipulations.
1306  UInt32 synchVolumeWithNamedView:1; // Synchronize only camera and clip settings from named view. If off, follow synchWithNamedView. used in conjunction with synchWithNamedView and synchPresentationWithNamedView to represent ReferenceSynchOption
1307  } Fb_opts;
1308 
1309 /*=================================================================================**/
1312 typedef struct fd_opts
1313  {
1314  UInt32 view_ovr:1; // view override
1315  UInt32 display:1; // display
1316  UInt32 line_width:1; // lines with width
1317  UInt32 lstyleScale:1; // lstyle scale *= 1/refScale
1318  UInt32 hiddenLine:1; // remove hidden lines
1319  UInt32 displayHidden:1; // display hidden edges
1320  UInt32 surrogateHLine:1; // hidden line by surrogate
1321  UInt32 rotateClipping:1; // rotate clip with view (2D)
1322  UInt32 smoothEdges:1; // hline display smooth edges
1323  UInt32 extendedRef:1; // extended reference
1324  UInt32 clipBack:1; // enable back clipping
1325  UInt32 clipFront:1; // enable front clipping
1326  UInt32 cameraOn:1; // camera on
1327  UInt32 scaleByUnits:1; // scale ref by unit defs
1328  UInt32 displayBoundary:1; // display the clip boundary
1329  UInt32 libraryRef:1; // refernce to a library
1330  UInt32 displayRasterRefs:1; // display raster references in this ref file
1331  UInt32 useAlternateFile:1; // use the alternate file/model pair
1332  UInt32 useLights:1; // use the source lights from this file (and children it designates)
1333  UInt32 doNotDisplayAsNested:1; // if this bit is on, do not display as a nested ref
1334  UInt32 colorTableUsage:2; // 0 = preference, 1 = always use ref, 2 = never use ref
1335  UInt32 viewport:1; // Viewports display their chiildren even if doNotDisplayAsNested is set
1336  UInt32 scaleByStorageUnits:1; // Scale by storage units
1337  UInt32 printColorAdjustment:1; // Print adjusted colors
1338  UInt32 newLevelDisplay:2; // 0 = pref/cfgvar, 1 = always display new level, 2 = never display new level
1339  UInt32 plot3D:1; // Generate 3D plot output if supported by driver (as in PDF/U3d)
1340  UInt32 nestOverrides:2; // 0 == as needed. 1 == always store overrides, 2 == no overrides ever.
1341  UInt32 globalLineStyleScales:2; // 0 == use master GLSS, 1 == neither, 2 = both, 3 = ref only
1342  } Fd_opts;
1343 
1344 /*=================================================================================**/
1350 typedef struct mlinesymbology
1351  {
1353  UInt32 reserved1:16;
1355  UInt32 useStyle:1;
1357  UInt32 useWeight:1;
1359  UInt32 useColor:1;
1361  UInt32 capInArc:1;
1363  UInt32 capOutArc:1;
1365  UInt32 capLine:1;
1367  UInt32 useClass:1;
1369  UInt32 customStyle:1;
1371  UInt32 capColorFromSeg:1;
1373  UInt32 reserved:6;
1375  UInt32 conClass:1;
1384  } MlineSymbology;
1385 
1386 /*=================================================================================**/
1392 typedef struct mlineprofile
1393  {
1395  double dist;
1400  } MlineProfile;
1401 
1402 /*=================================================================================**/
1407  {
1408  Update = 0,
1409  Add = 1,
1410  Remove = 2,
1411  };
1412 
1413 /*=================================================================================**/
1418  {
1420  None = (0),
1422  Cells = (1<<0),
1423  };
1424 
1425 /*=================================================================================**/
1429 enum class FenceClipFlags
1430  {
1432  None = (0),
1434  Optimized = (1<<0),
1435  };
1436 
1438 
1439 enum class ClipVolumePass
1440  {
1441  None,
1442  InsideForward,
1444  Outside,
1445  Inside,
1446  Cut,
1447  Maximum
1448  };
1449 
1450 /*=================================================================================**/
1454 enum class AgendaEvent
1455  {
1456  ModifyEntries = 1,
1457  PreModify = 2,
1458  PostModify = 3,
1459  AddClipboardFormats = 4,
1460  Redraw = 5,
1461  PreCopy = 6,
1462  };
1463 
1464 enum class AgendaModify
1465  {
1466  Original = 0,
1467  Copy = 1,
1468  ClipOriginal = 2,
1469  ClipCopy = 3,
1470  };
1471 
1473  {
1474  NotSpecified = 0,
1475  Translate = 1,
1476  Scale = 2,
1477  Rotate = 3,
1478  Mirror = 4,
1479  Array = 5,
1480  Stretch = 6,
1481  Delete = 7,
1482  Clipboard = 8,
1483  DragDrop = 9,
1484  ChangeAttrib = 10,
1485  FileFence = 11,
1486  Drop = 12,
1487  };
1488 
1490  {
1494  };
1495 
1497  {
1498  Int32 hue; /* red=0, yellow, green, cyan, blue, magenta */
1499  /* 0 -> 360 */
1500  Int32 saturation; /* 0=white, 100=no white, tints */
1501  Int32 value; /* 0=black, 100=no black, shades */
1502  };
1503 
1504 struct FColor3
1505  {
1506  float r;
1507  float g;
1508  float b;
1509  };
1510 
1511 struct FColor4
1512  {
1513  float r;
1514  float g;
1515  float b;
1516  float a;
1517  };
1518 
1520  {
1521  float u;
1522  float v;
1523  };
1524 
1526  {
1527  float u;
1528  float v;
1529  float w;
1530  };
1531 
1532 /*=================================================================================**/
1537  {
1543  };
1544 
1545 /*=================================================================================**/
1548 enum class DrawPurpose
1549  {
1550  NotSpecified = 0,
1551  Update = 1,
1552  UpdateDynamic = 2,
1553  UpdateHealing = 3,
1554  Hilite = 5,
1555  Unhilite = 6,
1556  ChangedPre = 9,
1557  ChangedPost = 10,
1558  RestoredPre = 11,
1559  RestoredPost = 12,
1560  Dynamics = 15,
1561  RangeCalculation = 20,
1562  Plot = 21,
1563  Pick = 22,
1564  Flash = 23,
1565  TransientChanged = 25,
1566  CaptureGeometry = 26,
1567  GenerateThumbnail = 27,
1568  ForceRedraw = 29,
1569  FenceAccept = 30,
1570  RegionFlood = 31,
1571  FitView = 32,
1572  XGraphicsCreate = 34,
1573  CaptureShadowList = 35,
1574  ExportVisibleEdges = 36,
1575  InterferenceDetection = 37,
1576  CutXGraphicsCreate = 38,
1577  ModelFacet = 39,
1578  Measure = 40,
1579  VisibilityCalculation = 41,
1580  ProxyHashExtraction = 42,
1581  ComputeModelRefRange = 43,
1582  DgnDbConvert = 44,
1583  };
1584 
1585 /*=================================================================================**/
1590  {
1591  Simple = 0,
1592  Manipulate = 1,
1593  Copy = 2,
1594  Enumerate = 3,
1595  DirectMembers = 4,
1596  };
1597 
1598 /*=================================================================================**/
1603  {
1604  None = 0,
1605  BaseNameAndExtension = 1<<0,
1606  FileStat = 1<<1,
1607  All = 0x7fffffff
1608  };
1609 
1611 
1612 /*=================================================================================**/
1617  {
1618  BitMaskCP levelBitMaskP; /* level bit mask */
1619  UInt16 classMask; /* active classes for this view */
1620  };
1621 
1623  {
1624  UShort buf[20];
1625  };
1626 
1627 /*=================================================================================**/
1632  {
1633  double m_angle;
1636  void Invalidate () {m_focalLength=-1.0; m_position.x=m_position.y=m_position.z=0.0;}
1637  };
1638 
1643 
1645  {
1646  None = 0,
1647  ShiftBreaks = 0x2,
1648  RemoveAssociations = 0x4,
1649  };
1650 
1652 
1654  {
1655  Invalid = -1,
1656  ActiveFileOnly = 0,
1657  LibrariesOnly = 1,
1659  };
1660 
1661 enum class StyleEventType
1662  {
1663  Invalid = -1,
1664  Add = 0,
1665  Delete = 1,
1666  Change = 2,
1667  SetActive = 3,
1668  ModifyActive = 4,
1669  BeforeSetActive = 5,
1670  };
1671 
1673  {
1674  Invalid = -1,
1675  Action = 0,
1676  Undo = 1,
1677  Redo = 2,
1678  };
1679 
1681  {
1682  Unknown = 0,
1683  Off = 1,
1684  On = 2,
1685  };
1686 
1689  {
1690  None = 0,
1691  DoNotFillCaches = 1,
1692  IgnoreAttachments = 2,
1693  };
1694 
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)
1705 
1706 
1707 #define TO_BOOL(x) (0 != (x))
1708 
1709 enum class ScanTestResult
1710 {
1711  Pass = 0,
1712  Fail = 1,
1713 };
1714 
1716  {
1717  MstnHeader = 1,
1720  MstnComplex,
1723  MstnRotation,
1724  MstnScale,
1725  MstnSurface,
1726  MstnVolume,
1730  MstnMaterial,
1731  MAX
1732  };
1733 
1735 
1736 namespace Bentley
1737 {
1739 };
1740 
Definition: DgnPlatform.h:827
An ElementRefP for an element that is in a DgnModel.
Definition: DgnModel.h:44
Definition: DgnPlatform.h:1124
FenceStretchFlags
Influences how handler should apply fence stretch.
Definition: DgnPlatform.h:1417
An XAttribute was addeed to an element.
#define ENUM_IS_FLAGS(ENUMTYPE)
Definition: Bentley.r.h:164
AgendaOperation
Definition: DgnPlatform.h:1472
float v
Definition: DgnPlatform.h:1528
Definition: DgnPlatform.r.h:50
A dependency callback returned an error - Dependency processing was terminated - The current transact...
float u
Definition: DgnPlatform.h:1521
StandardElementECDelegateId
Definition: DgnPlatform.h:1715
Int32 saturation
Definition: DgnPlatform.h:1500
An element was added to the file.
Definition: DgnPlatform.h:799
Definition: DgnPlatform.h:817
bmap< ModelId, ModelId > T_StdModelIDMap
Definition: DgnPlatform.h:629
The referenced model is getting merged into its master file.
Platform-specific view window.
Definition: DgnPlatform.h:647
Definition: DgnPlatform.h:1100
Definition: DgnPlatform.h:787
Definition: DgnPlatform.r.h:27
float r
Definition: DgnPlatform.h:1513
bvector< ElementId > T_StdElementIdVector
Definition: DgnPlatform.h:630
Definition: DgnPlatform.h:1496
The reference model is getting reloaded.
Definition: DgnPlatform.h:800
Definition: DgnPlatform.h:801
ScanTestResult
Definition: DgnPlatform.h:1709
Traverses members according to the member propagation flags.
Definition: Bentley.h:212
Definition: DgnPlatform.h:860
Definition: DgnPlatform.h:851
UInt32 weight
The weight of the profile or cap.
Definition: DgnPlatform.h:1379
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
AgendaEvent
Enums for tool agenda+handler cooperation.
Definition: DgnPlatform.h:1454
#define DGNPLATFORM_TYPEDEFS_EX(_name_, _structunion_)
Definition: DgnPlatform.h:69
The reference model is reattached, possibly with a different model than it had previously.
Definition: DgnPlatform.h:849
Definition: DgnPlatform.h:859
Definition: DgnPlatform.h:1188
Definition: DgnPlatform.h:1112
The default file attribute.
Definition: DgnPlatform.h:1114
Definition: DgnPlatform.h:1511
GradientFlags
Definition: DgnPlatform.h:1055
FileOpenConstants
Definition: DgnPlatform.h:1184
UInt32 LevelCode
Definition: DgnPlatform.h:623
MlineModifyPoint
Definition: DgnPlatform.h:1644
#define GLOBAL_TYPEDEF(_sName_, _name_)
Definition: DgnPlatform.h:67
float b
Definition: DgnPlatform.h:1508
Definition: DgnPlatform.h:1542
A thumbnail property value.
Definition: ThumbnailPropertyValue.h:23
Definition: DgnPlatform.h:1120
Platform-specific handle to bitmap.
Definition: DgnPlatform.h:653
Definition: DgnPlatform.h:1631
Definition: DgnPlatform.h:1117
Definition: TextTableHandler.h:216
Provides Bentley specific Console functions (Bentley/BeConsole.h).
Definition: DgnPlatform.h:1123
ClipVolumePass
Definition: DgnPlatform.h:1439
Definition: DgnPlatform.h:798
FenceClipFlags
Influences how handler should apply fence clip.
Definition: DgnPlatform.h:1429
Definition: DgnPlatform.h:1541
AgendaModify
Definition: DgnPlatform.h:1464
Definition: DgnPlatform.h:782
Definition: DgnPlatform.h:1190
UInt32 LevelId
Definition: DgnPlatformBaseType.r.h:85
Definition: DgnPlatform.h:791
Definition: DgnPlatform.h:1116
Definition: DgnPlatform.h:1134
Definition: DgnPlatform.h:1106
Definition: DgnPlatform.h:793
An implementation of IThumbnailPropertyValue.
Definition: ThumbnailPropertyValue.h:42
Definition: DgnPlatform.h:1125
An existing element was changed and rewritten to the file in place.
An integer 2d point, useful for screen pixel references, but not for real geometry: Point...
void Invalidate()
Definition: DgnPlatform.h:1636
OutputMessagePriority
Definition: DgnPlatform.h:1163
Definition: DgnPlatform.h:1187
Definition: DgnPlatform.h:1193
uint16_t UInt16
Definition: Bentley.r.h:118
Definition: DgnPlatform.h:1099
Definition: DgnPlatform.h:609
Definition: DgnPlatform.h:1119
Definition: DgnPlatform.h:861
Definition: DgnPlatform.h:1096
Definition: DgnPlatform.h:608
Definition: DgnPlatform.h:789
Bitmap * BitmapP
Definition: DgnPlatform.h:654
struct Bentley::DgnPlatform::ScanRange ScanRange
The scan range used for mdlScanCriteria.
The graph was built and reevaluated. One or more weak constraints (such as a direct change) was rejec...
Definition: DgnPlatform.h:783
Traverses directly contained members only, ignoring contained Named Groups.
Attempt to call Bentley::DgnPlatform::DependencyManager::ProcessAffected while dependency processing ...
Definition: DgnPlatform.h:1122
ChangeTrackAction
ChangeTrackAction's are the type of direct changes that happen to DGN elements.
Definition: DgnPlatform.h:705
float r
Definition: DgnPlatform.h:1506
DeviceContext * DeviceContextP
Definition: DgnPlatform.h:651
DrawPurpose
Definition: DgnPlatform.h:1548
BackgroundMapType
Definition: DgnPlatform.h:1079
Int32 reserved
Reserved for future use; should be set to 0.
Definition: DgnPlatform.h:1397
Definition: DgnPlatform.h:840
bvector< DgnAttachmentP > T_DgnAttachmentVector
A bvector of DgnAttachment pointers.
Definition: DgnPlatform.h:636
UInt16 red
Definition: DgnPlatform.h:1491
T_DoubleVector * T_DoubleVectorP
Definition: DgnPlatform.h:1640
float g
Definition: DgnPlatform.h:1514
Traverses contained Named Groups as elements rather than traversing them.
Definition: DgnPlatform.h:1234
uint8_t UInt8
Definition: Bentley.r.h:116
Definition: DgnPlatform.h:829
Definition: DgnPlatform.h:857
Definition: DgnPlatform.r.h:61
#define DGNHISTORY_TYPEDEFS(_SC_, _name_)
Definition: DgnPlatform.h:115
StyleEventSource
Definition: DgnPlatform.h:1672
Definition: DgnPlatform.h:1616
Definition: DgnPlatform.r.h:25
float u
Definition: DgnPlatform.h:1527
LevelId level
The level of the profile or cap.
Definition: DgnPlatform.h:1383
Window * WindowP
Definition: DgnPlatform.h:648
Definition: DgnPlatform.h:1227
defined in the Windows system environment variable table
Definition: DgnPlatform.h:1232
DependencyStatus
Error codes that may be returned by mdlDependency_processAffected.
Definition: DgnPlatform.h:739
Definition: DgnPlatform.h:1098
DPoint3d m_position
Definition: DgnPlatform.h:1635
OutputMessageAlert
Definition: DgnPlatform.h:1177
Definition: DgnPlatform.h:1622
changes from a distributed DGN file were merged
Definition: DgnPlatform.h:1137
Definition: DgnPlatform.h:610
Definition: DgnPlatform.h:1094
Collect graphics to find closed regions/flood...
uint32_t UInt32
Definition: Bentley.r.h:128
Int32 value
Definition: DgnPlatform.h:1501
Definition: DgnPlatform.h:781
Definition: DgnPlatform.h:841
#define BEGIN_BENTLEY_NAMESPACE
Definition: Bentley.r.h:24
Types used to interface with native DgnDisplayKernel.
Definition: DgnPlatform.h:644
Definition: DgnPlatform.h:856
Definition: DgnPlatform.h:1249
Definition: DgnPlatform.h:1191
ClipMask
Definition: DgnPlatform.h:1064
Definition: DgnPlatform.h:1115
double dist
The distance from the work line for the profile.
Definition: DgnPlatform.h:1395
Definition: DgnPlatform.h:852
Definition: DgnPlatform.h:1192
bmap< ElementId, ElementId > T_StdElementIDMap
Definition: DgnPlatform.h:628
Definition: DgnPlatform.h:1186
GeomApi: Bentley::Rounding, Bentley::ValueSizeSize, Bentley::OrderedValueSizeSize, Bentley::IGeometry, Bentley::OrderedIGeometryPtr, Bentley::pointList.
EvaluationReason
Definition: DgnPlatform.h:668
Declares the NonCopyableClass.
struct TransElemDescr * TransDescrP
Definition: DgnPlatform.h:601
Int32 hue
Definition: DgnPlatform.h:1498
Definition: DgnPlatform.h:1127
Definition: MSElementDescr.h:28
Platform-specific device context.
Definition: DgnPlatform.h:650
StyleEventType
Definition: DgnPlatform.h:1661
TransformOptionValues
Definition: DgnPlatform.h:1199
Definition: DgnPlatform.h:1540
changes were undone/redone from the transaction manager's undo buffer
UInt16 green
Definition: DgnPlatform.h:1492
The symbology for a multi-line profile or end cap.
Definition: DgnPlatform.h:1350
struct Bentley::DgnPlatform::mlineprofile MlineProfile
Definition of a multi-line profile.
Definition: DgnPlatform.h:853
Definition: DgnPlatform.h:612
Definition: DgnPlatform.h:854
FileCompareMask
File Compare Masks - Used to control degree of comparison in function mdlFile_isSameFile.
Definition: DgnPlatform.h:1602
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.h:1136
float g
Definition: DgnPlatform.h:1507
Definition: DgnPlatform.h:816
Detected an attempt to create an unsupported dependency pointer - Dependency processing was terminate...
#define GEOCOORD_TYPEDEFS(_name_)
Definition: DgnPlatform.h:119
Definition: DgnPlatform.h:1233
Definition: DgnPlatform.h:1133
int32_t Int32
Definition: Bentley.r.h:119
An existing element (and its xattributes) were changed and rewritten to the file in place...
struct MultiStateMask ** MultiStateMaskH
Definition: DgnPlatform.h:600
#define BENTLEY_REF_COUNTED_PTR(_sname_)
Definition: Bentley.h:153
Definition: DgnPlatform.h:1539
Region created by intersection of closed curves.
A dependent element was modified, and the required dependency callback was not registered - This norm...
AnnotationScaleAction
Influences how handler should apply annotation scale.
Definition: DgnPlatform.h:1406
#define DGNPLATFORM_REF_COUNTED_PTR(_sname_)
Definition: DgnPlatform.h:79
#define DGNPLATFORM_TYPEDEFS(_name_)
Definition: DgnPlatform.h:73
A shared pointer template for reference-counted objects.
Definition: RefCounted.h:119
Definition: scanner.h:54
Definition: DgnPlatform.h:1118
struct Bentley::DgnPlatform::fd_opts Fd_opts
double m_angle
Definition: DgnPlatform.h:1633
A Rettach command is being undone or redone.
unsigned short UShort
Definition: Bentley.r.h:133
struct Bentley::DgnPlatform::fb_opts Fb_opts
struct DgnPlatform::DgnModelFillContext * DgnModelFillContextP
Definition: DgnPlatform.h:169
Defines typedefs and constants that can be used across other namespaces. All Bentley-authored C++ sou...
Definition: DgnPlatform.h:1538
#define DGNPLATFORM_TYPEDEF(_sname_, _tname_)
Definition: DgnPlatform.h:75
#define MSTNPLATFORM_TYPEDEFS(_name_)
Definition: DgnPlatform.h:87
Dependency processing is currently disabled by the host - This normally means that cache loading is i...
#define BENTLEY_TYPEDEFS(_name_)
Definition: Bentley.h:152
Definition: DgnPlatform.h:1280
DisplayPathType
Definition: DgnPlatform.h:1238
Int32 style
The line style of the profile or cap.
Definition: DgnPlatform.h:1377
Interface that provides direct and efficient access to element data.
Definition: ElementRefBase.h:120
Definition: DgnPlatform.h:613
Definition: DgnPlatform.h:1130
LinkageKeyValues
Definition: DgnPlatform.h:865
A Bitmask holds a variable-sized array of bits.
Definition: BitMask.h:53
Definition: DgnPlatform.h:1189
Definition: DgnPlatform.h:1312
Definition: DgnPlatform.h:1109
Definition: DgnPlatform.h:855
The graph could not be built because of redundant or circular constraints.
Definition: DgnPlatform.h:794
uint64_t UInt64
Definition: Bentley.r.h:131
The reference is getting detached by the user or by an application program.
StyleIteratorMode
Definition: DgnPlatform.h:1653
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
Definition: DgnPlatform.h:1195
Definition: DgnPlatform.h:1089
struct Bentley::DgnPlatform::mlinesymbology MlineSymbology
The symbology for a multi-line profile or end cap.
DgnCoordSystem
Definition: DgnPlatform.h:1045
struct Bentley::DgnPlatform::DependencyLinkage DependencyLinkage
In-memory image of user attribute data in which dependency information is stored. ...
Definition: DgnPlatform.h:813
ViewLevelDisplayType
Definition: DgnPlatform.h:1142
Coordinates are relative to the origin of the screen.
Definition: DgnPlatform.h:795
DgnAttachmentDetachedReason
reasons that a DgnAttachment has been removed from a DgnModel's DgnAttachmentArray ...
Definition: DgnPlatform.h:1266
Definition: DgnPlatform.h:1194
struct LineStyleParams LineStyleParams
Definition: IViewDraw.h:36
GridOrientationType
Definition: DgnPlatform.h:1215
The reference is attached to an ancestor that is getting reloaded.
Definition: DgnPlatform.h:785
Definition: DgnPlatform.h:1105
DitherModes
Definition: DgnPlatform.h:1247
Definition: DgnPlatform.h:1132
Resolve the references but don't fill the target caches.
Definition: DgnPlatform.h:1129
LimitRefLoading
Values for restricting DgnAttachment model loading.
Definition: DgnPlatform.h:1688
struct DgnPlatform::DependentElm * DependentElemRef
Definition: DgnPlatform.h:165
UInt32 color
The color of the profile or cap.
Definition: DgnPlatform.h:1381
Definition: DgnPlatform.h:1489
Definition: DgnPlatform.h:815
ChangeTrackSource
Identifies the transaction manager or the design history manager as the source of the version restore...
Definition: DgnPlatform.h:730
Definition: DgnPlatform.h:826
struct Bentley::BitMask const * BitMaskCP
Definition: DgnPlatform.h:134
DgnDrawMode
Draw modes for displaying information in viewports.
Definition: DgnPlatform.h:1536
Class for collecting and manipulating curve data.
Definition: GPArray.h:91
MlineSymbology symb
The symbology for the profile or end cap.
Definition: DgnPlatform.h:1399
Definition: Bentley.h:210
Definition: DgnPlatform.h:1126
Definition: DgnPlatform.h:1196
#define END_BENTLEY_NAMESPACE
Definition: Bentley.r.h:25
Definition of a multi-line profile.
Definition: DgnPlatform.h:1392
UInt64 CopyContextRemapKey
Definition: DgnPlatform.h:625
This structure is not intended to be used directly, and supports file storage.
Definition: DgnPlatform.r.h:710
The graph could not be built because of constraint definition errors.
Bentley::DgnPlatform::DependencyManager::ProcessAffected attempted the maximum number of iterations o...
The element or model header was updated.
Definition: DgnPlatform.h:1525
Dependency processing was disabled by an application - Dependency manager will remember the current c...
Definition: DgnPlatform.h:1097
An element (and its xattributes) were added to the file.
bvector< double > T_DoubleVector
Definition: DgnPlatform.h:1639
An XAttribute was deleted from an element.
T_DoubleVector const * T_DoubleVectorCP
Definition: DgnPlatform.h:1641
Definition: DgnPlatform.h:814
T_DoubleVector & T_DoubleVectorR
Definition: DgnPlatform.h:1640
Definition: DgnPlatform.h:862
past changes were restored from design history
BitMaskCP levelBitMaskP
Definition: DgnPlatform.h:1618
The reference is newly attached to a model that is not the currently active model.
Definition: DgnPlatform.h:858
Definition: DgnPlatform.h:1138
RefCountedPtr< NamedView > NamedViewPtr
A reference-counting smart pointer to a NamedView.
Definition: DgnPlatform.h:633
Traverses directly contained members and members that are in contained Named Groups (recursively)...
Interface to be adopted by a class the implements the reference-counting pattern. ...
Definition: RefCounted.h:34
LevelMaskReferenceState
Definition: DgnPlatform.h:1680
Definition: DgnPlatform.h:812
A model was deleted from the file.
Definition: DgnPlatform.h:1519
Coordinates are relative to normalized plane coordinates.
SnapStatus
Definition: DgnPlatform.h:1148
float v
Definition: DgnPlatform.h:1522
float w
Definition: DgnPlatform.h:1529
uintptr_t Offset_t
Definition: DgnPlatform.h:617
double m_focalLength
Definition: DgnPlatform.h:1634
Definition: DgnPlatform.h:1108
Definition: DgnPlatform.h:828
Definition: DgnPlatform.h:1095
Definition: DgnPlatform.h:1504
float b
Definition: DgnPlatform.h:1515
Definition: DgnPlatform.h:848
Application data held in the undo buffer (not an element-level change to the file).
UInt16 classMask
Definition: DgnPlatform.h:1619
Definition: DgnPlatform.h:1121
Definition: DgnPlatform.h:1111
DependencyGraphEvaluationStatus
Error codes that can be returned by DependencyManager::SatisfyDependencyGraph.
Definition: DgnPlatform.h:764
Definition: DgnPlatform.h:788
ElementChangeType
The kinds of changes recorded in design history.
Definition: DgnPlatform.h:659
DgnPlatform::DgnHistory::ElementChangeType BentleyDgnHistoryElementChangeType
Definition: DgnPlatform.h:1738
Definition: DgnPlatform.h:819
DgnAttachmentAttachedReason
Definition: DgnPlatform.h:1253
Definition: DgnPlatform.h:611
MemberTraverseType
The Named Group traversal options.
Definition: DgnPlatform.h:1589
UInt16 blue
Definition: DgnPlatform.h:1493
Definition: DgnPlatform.h:1107
Used to delineate commands in undo buffer.
Definition: DgnPlatform.h:1235
Integer x,y rectangle coordinates for GUI: BSIRect.
Ignore all references. The parent model will have no attachments.
Definition: DgnPlatform.h:850
float a
Definition: DgnPlatform.h:1516
T_DoubleVector const & T_DoubleVectorCR
Definition: DgnPlatform.h:1642
struct dgnMlineStyle const * MlineStyleConstP
Definition: DgnPlatform.h:602
unknown status (newly added to system)
some part of the XAttribute was modified.

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