DynamicEntityIterator Class

  • DynamicEntityIterator
  • class Esri::ArcGISRuntime::DynamicEntityIterator

    An iterator for a collection of dynamic entity. More...

    Header: #include <DynamicEntityIterator.h>
    Since: Esri::ArcGISRuntime 200.7

    Public Functions

    DynamicEntityIterator()
    DynamicEntityIterator(const Esri::ArcGISRuntime::DynamicEntityIterator &other)
    DynamicEntityIterator(Esri::ArcGISRuntime::DynamicEntityIterator &&other)
    ~DynamicEntityIterator()
    QList<Esri::ArcGISRuntime::DynamicEntity *> asList(QObject *parent = nullptr) const
    bool hasNext() const
    bool isEmpty() const
    Esri::ArcGISRuntime::DynamicEntity *next(QObject *parent = nullptr) const
    void reset()
    Esri::ArcGISRuntime::DynamicEntityIterator &operator=(Esri::ArcGISRuntime::DynamicEntityIterator &&other)
    Esri::ArcGISRuntime::DynamicEntityIterator &operator=(const Esri::ArcGISRuntime::DynamicEntityIterator &other)

    Detailed Description

    See also DynamicEntity.

    Member Function Documentation

    DynamicEntityIterator::DynamicEntityIterator()

    Default Constructor. Create an empty DynamicEntityIterator instance.

    DynamicEntityIterator::DynamicEntityIterator(const Esri::ArcGISRuntime::DynamicEntityIterator &other)

    Copy constructor from other DynamicEntityIterator.

    [noexcept] DynamicEntityIterator::DynamicEntityIterator(Esri::ArcGISRuntime::DynamicEntityIterator &&other)

    Move constructor from other DynamicEntityIterator.

    [noexcept] DynamicEntityIterator::~DynamicEntityIterator()

    Destructor

    QList<Esri::ArcGISRuntime::DynamicEntity *> DynamicEntityIterator::asList(QObject *parent = nullptr) const

    Returns all dynamic entities in the iterator at once as a list of DynamicEntity objects, with an optional parent.

    All objects in this iterator are returned in the list, regardless of whether any objects were already accessed through this iterator. After this call, this DynamicEntityIterator will point past the last object in the iterator. To start over reading from the beginning of this iterator, call reset.

    If no parent is specified, the DynamicEntityQueryResult takes ownership of the returned dynamic entity objects.

    Note: this method caches objects internally, so the parent will only be applied when creating the object the first time. Any specified parent will not replace a previous parent (or no parent) if the object has already been created.

    bool DynamicEntityIterator::hasNext() const

    Returns true if there is another dynamic entity available.

    bool DynamicEntityIterator::isEmpty() const

    Returns true if this DynamicEntityIterator is empty.

    Esri::ArcGISRuntime::DynamicEntity *DynamicEntityIterator::next(QObject *parent = nullptr) const

    Returns the next dynamic entity providing an optional parent.

    If no parent is specified, the DynamicEntityQueryResult takes ownership of the returned dynamic entity objects.

    Note: this method caches objects internally, so the parent will only be applied when creating the object the first time. Any specified parent will not replace a previous parent (or no parent) if the object has already been created.

    void DynamicEntityIterator::reset()

    Points the iterator back to the front.

    [noexcept] Esri::ArcGISRuntime::DynamicEntityIterator &DynamicEntityIterator::operator=(Esri::ArcGISRuntime::DynamicEntityIterator &&other)

    Move operator from other DynamicEntityIterator.

    Esri::ArcGISRuntime::DynamicEntityIterator &DynamicEntityIterator::operator=(const Esri::ArcGISRuntime::DynamicEntityIterator &other)

    Assignment operator from other DynamicEntityIterator.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.