ChainHeaderHandlers.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 
13 #include "IAreaFillProperties.h"
14 #include "ComplexHeaderHandler.h"
15 
16 
18 
19 
22 
23 /*=================================================================================**/
32 {
35 private:
36  virtual void MakeClassAbstract() = 0;
37 public:
38 public:
39 
40 /*---------------------------------------------------------------------------------**/
55  DGNPLATFORM_EXPORT static void CreateChainHeaderElement (EditElementHandleR eeh, ElementHandleCP templateEh, bool isClosed, bool is3d, DgnModelRefR modelRef);
56 
57 /*---------------------------------------------------------------------------------**/
70 DGNPLATFORM_EXPORT static bool IsValidChainComponentType (ElementHandleCR eh);
71 
72 /*---------------------------------------------------------------------------------**/
83 DGNPLATFORM_EXPORT static BentleyStatus AddComponentElement (EditElementHandleR eeh, EditElementHandleR componentEeh);
84 
85 /*---------------------------------------------------------------------------------**/
91 DGNPLATFORM_EXPORT static BentleyStatus AddComponentComplete (EditElementHandleR eeh);
92 
93 
94 }; // ChainHeaderHandler
95 
96 /*=================================================================================**/
105 {
108 private:
109  virtual void MakeClassAbstract() = 0;
110 public:
111 
112 }; // ComplexStringHandler
113 
114 /*=================================================================================**/
125 {
128 private:
129  virtual void MakeClassAbstract() = 0;
130 public:
131 
132 }; // ComplexShapeHandler
133 
135 
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
The default type handler for the CMPLX_STRING_ELM type.
Definition: ChainHeaderHandlers.h:104
#define ELEMENTHANDLER_DECLARE_MEMBERS(__classname__, __exporter__)
Definition: Handler.h:86
Provides methods for changing the area properties of an element.
Definition: IAreaFillProperties.h:81
A writeable "handle" to an MSElement.
Definition: ElementHandle.h:470
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
Modify an element that represents an open or closed path.
Definition: ElementGeometry.h:48
BentleyStatus
Definition: Bentley.h:208
A DgnModelRef provides access to a model in a Bentley::DgnPlatform::DgnFile.
Definition: DgnModelRef.h:172
struct DgnPlatform::ElementHandle const * ElementHandleCP
Definition: DgnPlatform.h:260
Base class for displayable complex element types.
Definition: ComplexHeaderHandler.h:29
#define DEFINE_T_SUPER(B)
Definition: Bentley.h:167
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
The default type handler for the CMPLX_SHAPE_ELM type.
Definition: ChainHeaderHandlers.h:123
struct DgnPlatform::ElementHandle const & ElementHandleCR
Definition: DgnPlatform.h:260
Base class with behavior common to complex strings and shapes.
Definition: ChainHeaderHandlers.h:30

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