37 struct IElementAgendaEvents;
42 template <
class T_ElemHandle>
class ElemHandleArray :
public bvector<T_ElemHandle>
50 T_ElemHandle
const*
GetFirst ()
const {
return IsEmpty() ?
NULL : &this->front();}
52 T_ElemHandle
const*
GetLast ()
const {
return IsEmpty() ?
NULL : &this->back();}
54 T_ElemHandle
const*
GetEntry (
size_t i)
const {
return (i >= GetCount()) ?
NULL : &this->front()+i;}
58 T_ElemHandle*
GetLastP () {
return IsEmpty() ?
NULL : &this->back();}
60 T_ElemHandle*
GetEntryP (
size_t i) {
return (i >= GetCount()) ?
NULL : &this->front()+i;}
62 void Empty (
bool andFree=
true) {
if (andFree) this->
clear();
else this->resize (0);}
64 typedef typename T_Super::iterator
iterator;
76 for (; curr != endIt; ++curr)
80 if (nextValid != curr)
86 if (nextValid != endIt)
87 this->
erase (nextValid, endIt);
93 struct RedrawGroupInfo
100 IsElementInGroup = 1,
101 OnPostModifyElement = 2,
102 OnPostModifyGroup = 3,
107 virtual void MakeClassAbstract() = 0;
145 virtual bool Dummy1 (
void*) {
return false;}
210 bool IsLess (
ElemModelPair const& other)
const {
return (m_modelRef == other.m_modelRef) ? (m_elem<other.m_elem) : (m_modelRef<other.m_modelRef);}
297 DGNVIEW_EXPORT
void Clear ();
393 DGNVIEW_EXPORT
StatusInt ModifyAgenda (IModifyElementP modifyOp,
bool redraw);
424 DGNVIEW_EXPORT
void Hilite ();
428 DGNVIEW_EXPORT
void ClearHilite ();
bool empty() const
Definition: stdcxx/bstdmap.h:210
ElemAgendaEntry(ElementHandleCR from, bool duplicateDescr)
Create an ElemAgendaEntry which is an EditElementHandle in an ElementAgenda. See EditElementHandle(El...
Definition: ElementAgenda.h:158
ElemAgendaEntry(ElementRefP elRef, DgnModelRefP modelRef)
Create an ElemAgendaEntry which is an EditElementHandle in an ElementAgenda. See EditElementHandle(El...
Definition: ElementAgenda.h:156
Provides Bentley specific set implementation (Bentley/bset.h).
EditElementHandle residing in an ElementAgenda
Definition: ElementAgenda.h:150
ElemAgendaEntry()
Create an ElemAgendaEntry which is an EditElementHandle in an ElementAgenda.
Definition: ElementAgenda.h:154
struct DgnPlatform::ClipVector const * ClipVectorCP
Definition: DgnPlatform.h:178
struct DgnPlatform::ElementAgenda const * ElementAgendaCP
Definition: DgnPlatform.h:258
struct IDataObject GuiDataObject
Definition: ElementAgenda.h:10
iterator begin()
Definition: stdcxx/bstdmap.h:178
static intptr_t GetIndexFromHandleDifference(ElementHandleCP pToolElem, const ElemAgendaEntry *first)
Return the index of a given ElementHandle in the Agenda.
Definition: ElementAgenda.h:173
iterator end()
Definition: stdcxx/bstdmap.h:186
ElemAgendaEntry(ElemAgendaEntry const &from)
Create an ElemAgendaEntry from another ElemAgendaEntry. Any ElementDescriptors contained will not be ...
Definition: ElementAgenda.h:160
iterator erase(iterator __it)
Definition: stdcxx/bstdmap.h:242
Template to simplify the task of writing a class that implements the reference-counting pattern...
Definition: RefCounted.h:90
#define NULL
Definition: Bentley.h:157
bstdmap & operator=(const bstdmap &__rhs)
Definition: stdcxx/bstdmap.h:170
struct DgnPlatform::DisplayPath const * DisplayPathCP
Definition: DgnPlatform.h:236
struct DgnPlatform::ElementHandle const * ElementHandleCP
Definition: DgnPlatform.h:260
#define DEFINE_T_SUPER(B)
Definition: Bentley.h:167
Use the ElementCopyContext class to copy elements.
Definition: ElementCopyContext.h:241
int StatusInt
Definition: Bentley.h:222
struct DgnPlatform::ElementRefBase * ElementRefP
Definition: DgnPlatform.h:166
void clear()
Definition: stdcxx/bstdmap.h:257
struct DgnPlatform::ElementHandle const & ElementHandleCR
Definition: DgnPlatform.h:260
size_type size() const
Definition: stdcxx/bstdmap.h:214
bpair< iterator, bool > insert(const value_type &__x)
Definition: stdcxx/bstdmap.h:228
struct DgnPlatform::ViewContext & ViewContextR
Definition: DgnPlatform.h:469
struct DgnPlatform::EditElementHandle const * EditElementHandleCP
Definition: DgnPlatform.h:254
unknown status (newly added to system)