Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtMetaContainerPrivate::AssociativeConstIterator Class Reference

#include <qmetaassociation.h>

Inheritance diagram for QtMetaContainerPrivate::AssociativeConstIterator:
Collaboration diagram for QtMetaContainerPrivate::AssociativeConstIterator:

Public Types

using key_type = QVariant
using mapped_type = QVariant
using reference = QVariant::ConstReference<AssociativeConstIterator>
using pointer = QVariant::ConstPointer<AssociativeConstIterator>
Public Types inherited from QConstIterator< QMetaAssociation >
using difference_type

Public Member Functions

 AssociativeConstIterator (QConstIterator &&it)
key_type key () const
mapped_type value () const
mapped_type operator* () const
pointer operator-> () const
Public Member Functions inherited from QConstIterator< QMetaAssociation >
 QConstIterator (const QIterable< QMetaAssociation > *iterable, void *iterator)
 Creates a QConstIterator to wrap iterator, operating on iterable.
bool operator== (const QConstIterator &o) const
 Returns true if other points to the same item as this iterator; otherwise returns false.
bool operator!= (const QConstIterator &o) const
 Returns true if other points to a different item than this iterator; otherwise returns false.
QConstIteratoroperator++ ()
 The prefix {++} operator ({++it}) advances the iterator to the next item in the container and returns an iterator to the new current item.
QConstIteratoroperator-- ()
 The prefix {–} operator ({–it}) makes the preceding item current and returns an iterator to the new current item.
QConstIteratoroperator+= (qsizetype j)
 Advances the iterator by j items.
QConstIteratoroperator-= (qsizetype j)
 Makes the iterator go back by j items.
QConstIterator operator+ (qsizetype j) const
 Returns an iterator to the item at j positions forward from this iterator.
QConstIterator operator- (qsizetype j) const
 Returns an iterator to the item at j positions backward from this iterator.
Public Member Functions inherited from QBaseIterator< QMetaAssociation >
voidmutableIterator ()
 Returns a non-const pointer to the internal native iterator.
const voidconstIterator () const
 Returns a const pointer to the internal native iterator.
QMetaAssociation metaContainer () const

Static Public Attributes

static constexpr bool CanNoexceptConvertToQVariant = false

Additional Inherited Members

Protected Member Functions inherited from QBaseIterator< QMetaAssociation >
 QBaseIterator ()=default
 ~QBaseIterator ()
QBaseIteratoroperator= (QBaseIterator &&other)
QIterable< QMetaAssociation > * mutableIterable () const
const QIterable< QMetaAssociation > * constIterable () const
void initIterator (const void *copy)
void clearIterator ()

Detailed Description

Definition at line 46 of file qmetaassociation.h.

Member Typedef Documentation

◆ key_type

◆ mapped_type

◆ pointer

◆ reference

Constructor & Destructor Documentation

◆ AssociativeConstIterator()

QtMetaContainerPrivate::AssociativeConstIterator::AssociativeConstIterator ( QConstIterator && it)
inline

Definition at line 56 of file qmetaassociation.h.

Member Function Documentation

◆ key()

key_type QtMetaContainerPrivate::AssociativeConstIterator::key ( ) const
inline

Definition at line 58 of file qmetaassociation.h.

◆ operator*()

AssociativeConstIterator::mapped_type AssociativeConstIterator::operator* ( ) const
inline

Definition at line 122 of file qmetaassociation.h.

Referenced by value().

Here is the caller graph for this function:

◆ operator->()

pointer QtMetaContainerPrivate::AssociativeConstIterator::operator-> ( ) const
inline

Definition at line 69 of file qmetaassociation.h.

◆ value()

mapped_type QtMetaContainerPrivate::AssociativeConstIterator::value ( ) const
inline

Definition at line 66 of file qmetaassociation.h.

References operator*().

Here is the call graph for this function:

Member Data Documentation

◆ CanNoexceptConvertToQVariant

bool QtMetaContainerPrivate::AssociativeConstIterator::CanNoexceptConvertToQVariant = false
staticconstexpr

Definition at line 54 of file qmetaassociation.h.


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