ExtendedElementHandler.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 
12 
14 
15 
18 
19 /*=================================================================================**/
26 {
29 private:
30  virtual void MakeClassAbstract() = 0;
31 public:
32 public:
33 
42 DGNPLATFORM_EXPORT static void InitializeElement (EditElementHandleR eeh, ElementHandleCP teh, DgnModelRefP modelRef, bool is3d, bool isComplexHeader = 0);
43 
49 DGNPLATFORM_EXPORT BentleyStatus ValidatePresentation (EditElementHandleR eh);
50 
53 DGNPLATFORM_EXPORT void ClearPresentation (EditElementHandleR eh);
54 
55 
56 }; // ExtendedElementHandler
57 
59 
62 
63 /*=================================================================================**/
70 {
73 private:
74  virtual void MakeClassAbstract() = 0;
75 public:
76 public:
77 
85 DGNPLATFORM_EXPORT static void InitializeElement (EditElementHandleR eeh, ElementHandleCP teh, DgnModelRefP modelRef, bool isComplexHeader = 0);
86 
87 }; // ExtendedElementHandler
88 
90 
91 
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
#define ELEMENTHANDLER_DECLARE_MEMBERS(__classname__, __exporter__)
Definition: Handler.h:86
A writeable "handle" to an MSElement.
Definition: ElementHandle.h:470
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
Base class for handlers that control the display of graphic (visible) elements.
Definition: DisplayHandler.h:30
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
The default type handler for the EXTENDED_ELM type that corresponds to the ExtendedNonGraphicElm stru...
Definition: ExtendedElementHandler.h:69
The default type handler for the EXTENDED_ELM type that corresponds to the ExtendedElm structure...
Definition: ExtendedElementHandler.h:25
#define DEFINE_T_SUPER(B)
Definition: Bentley.h:167
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
Handler defines the standard queries and operations available on all elements, whether graphical or n...
Definition: Handler.h:159

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