CellHeaderHandler.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 
13 #include "ComplexHeaderHandler.h"
14 
15 
17 
18 /*=================================================================================**/
70 
73 /*=================================================================================**/
84 {
87 private:
88  virtual void MakeClassAbstract() = 0;
89 public:
90 
91 }; // Type2Handler
92 
93 /*=================================================================================**/
103  ICellQuery
104 {
107 private:
108  virtual void MakeClassAbstract() = 0;
109 public:
110 public:
111 
112 /*---------------------------------------------------------------------------------**/
119 DGNPLATFORM_EXPORT static BentleyStatus SetPointCell (EditElementHandleR eeh, bool isPointCell);
120 
121 /*---------------------------------------------------------------------------------**/
128 DGNPLATFORM_EXPORT static BentleyStatus SetName (EditElementHandleR eeh, WCharCP cellName);
129 
130 /*---------------------------------------------------------------------------------**/
137 DGNPLATFORM_EXPORT static BentleyStatus SetDescription (EditElementHandleR eeh, WCharCP descr);
138 
139 /*---------------------------------------------------------------------------------**/
147 DGNPLATFORM_EXPORT static BentleyStatus CreateGroupCellElement (EditElementHandleR eeh, ElementAgendaR agenda, WCharCP cellName = NULL);
148 
149 /*---------------------------------------------------------------------------------**/
163 DGNPLATFORM_EXPORT static void CreateOrphanCellElement (EditElementHandleR eeh, WCharCP cellName, bool is3d, DgnModelRefR modelRef);
164 
165 /*---------------------------------------------------------------------------------**/
183 DGNPLATFORM_EXPORT static void CreateCellElement (EditElementHandleR eeh, WCharCP cellName, DPoint3dCR origin, RotMatrixCR rMatrix, bool is3d, DgnModelRefR modelRef);
184 
185 /*---------------------------------------------------------------------------------**/
193 DGNPLATFORM_EXPORT static BentleyStatus AddChildElement (EditElementHandleR eeh, EditElementHandleR childEeh);
194 
195 /*---------------------------------------------------------------------------------**/
202 DGNPLATFORM_EXPORT static BentleyStatus AddChildComplete (EditElementHandleR eeh);
203 
204 }; // NormalCellHeaderHandler
205 
206 
208 
210 
Class for user defined cells and groups.
Definition: CellHeaderHandler.h:102
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
Base class for application defined cells that want to be treated as a single object.
Definition: CellHeaderHandler.h:82
#define ELEMENTHANDLER_DECLARE_MEMBERS(__classname__, __exporter__)
Definition: Handler.h:86
A writeable "handle" to an MSElement.
Definition: ElementHandle.h:470
struct RotMatrix const & RotMatrixCR
Definition: msgeomstructs_typedefs.h:135
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
wchar_t const * WCharCP
Definition: Bentley.h:224
#define NULL
Definition: Bentley.h:157
BentleyStatus
Definition: Bentley.h:208
A DgnModelRef provides access to a model in a Bentley::DgnPlatform::DgnFile.
Definition: DgnModelRef.h:172
A bvector of EditElementHandle entries to be used for operating on groups of elements.
Definition: ElementAgenda.h:257
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
Interface adopted by an Element Handler that wants to participate in MicroStation transactions...
Definition: ITransactionHandler.h:37
struct DPoint3d const & DPoint3dCR
Definition: msgeomstructs_typedefs.h:79
Query an element if it is a public collection of other elements.
Definition: ElementGeometry.h:239

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