Public Member Functions | List of all members
PersistentElementRefListIterator Class Reference

Iterate over the elements in a PersistentElementRefList. More...

#include <DgnModel.h>

Inheritance diagram for PersistentElementRefListIterator:

Public Member Functions

 PersistentElementRefListIterator ()
 Construct a blank PersistentElementRefListIterator. More...
 
PersistentElementRefP const & GetCurrentElementRef () const
 Get the current ElementRefP pointed to by this iterator. More...
 
PersistentElementRefP SetCurrentElementRef (PersistentElementRefP toElm)
 Change the current ElementRefP pointed to by this iterator to toElm. More...
 
PersistentElementRefListIteratoroperator++ ()
 Advances the iterator to the next in collection. More...
 
bool operator!= (PersistentElementRefListIterator const &rhs) const
 Tests if the iterator object on the left side of the operator is not equal to the iterator object on the right side. More...
 
bool operator== (PersistentElementRefListIterator const &rhs) const
 
PersistentElementRefP const & operator* () const
 Access the element data. More...
 

Detailed Description

Iterate over the elements in a PersistentElementRefList.

See also
PersistentElementRefList
Remarks
Required library : DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib

Constructor & Destructor Documentation

Construct a blank PersistentElementRefListIterator.

References NULL.

Member Function Documentation

PersistentElementRefP const& GetCurrentElementRef ( ) const

Get the current ElementRefP pointed to by this iterator.

bool operator!= ( PersistentElementRefListIterator const &  rhs) const

Tests if the iterator object on the left side of the operator is not equal to the iterator object on the right side.

PersistentElementRefP const& operator* ( ) const

Access the element data.

Advances the iterator to the next in collection.

bool operator== ( PersistentElementRefListIterator const &  rhs) const
PersistentElementRefP SetCurrentElementRef ( PersistentElementRefP  toElm)

Change the current ElementRefP pointed to by this iterator to toElm.


The documentation for this class was generated from the following file:

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