Class for modifying elements.
More...
#include <DgnElementSetTool.h>
Class for modifying elements.
Implemented by DgnElementSetTool to apply the tool operation to the ElementAgenda populated from the preferred ElemSource.
virtual bool _CheckStop |
( |
| ) |
|
|
overrideprotectedvirtual |
virtual void _ClearCopyContext |
( |
| ) |
|
|
protectedvirtual |
Flush deferred copy-related changes and release the ElementCopyContext used by ModifyOp::OnPreElementModify, if any.
Called to perform element modification.
Element will be updated if both ModifyOp::OnPreElementModify and ModifyOp::_OnElementModify return SUCCESS.
- Parameters
-
eeh | IN element to apply modification to. |
- Returns
- SUCCESS if modify was ok and element was updated.
Implements IModifyElement.
CopyContext used by ModifyOp::OnPreElementModify call to DoCopy when ModifyOp::WantMakeCopy is true.
Called to get destination model when create a copy, ModifyOp::WantMakeCopy is true.
Reimplemented in DgnElementSetTool.
Called to perform pre-modification checks/changes.
- Parameters
-
eeh | IN element to apply modification to. |
- Returns
- SUCCESS if ok to proceed with modification.
virtual void _ResetStop |
( |
| ) |
|
|
overrideprotectedvirtual |
virtual void _SetWantGGLock |
( |
bool |
val | ) |
|
|
overrideprotectedvirtual |
Call to set graphic group number remap option for copy.
Implements IModifyElement.
virtual void _SetWantMakeCopy |
( |
bool |
val | ) |
|
|
overrideprotectedvirtual |
virtual bool _WantCheckGGLock |
( |
| ) |
const |
|
overrideprotectedvirtual |
Call to determine whether copied elements will have their graphic group number remapped or cleared.
- Returns
- true to remap graphic group numbers.
Implements IModifyElement.
virtual bool _WantMakeCopy |
( |
| ) |
const |
|
overrideprotectedvirtual |
Call to determine whether original element is being modified or copied.
- Returns
- true to copy/add modified elements.
Implements IModifyElement.
The documentation for this class was generated from the following file: