![]() |
Qt 6.x
The Qt SDK
|
#include <qmetacontainer.h>
Inheritance diagram for QMetaAssociation:
Collaboration diagram for QMetaAssociation:Public Member Functions | |
| QMetaAssociation ()=default | |
| QMetaAssociation (const QtMetaContainerPrivate::QMetaAssociationInterface *d) | |
| QMetaType | keyMetaType () const |
| Returns the meta type for keys in the container. | |
| QMetaType | mappedMetaType () const |
| Returns the meta type for mapped values in the container. | |
| bool | canInsertKey () const |
| void | insertKey (void *container, const void *key) const |
| bool | canRemoveKey () const |
| void | removeKey (void *container, const void *key) const |
| bool | canContainsKey () const |
| bool | containsKey (const void *container, const void *key) const |
| bool | canGetMappedAtKey () const |
| void | mappedAtKey (const void *container, const void *key, void *mapped) const |
| bool | canSetMappedAtKey () const |
| void | setMappedAtKey (void *container, const void *key, const void *mapped) const |
| bool | canGetKeyAtIterator () const |
| void | keyAtIterator (const void *iterator, void *key) const |
| bool | canGetKeyAtConstIterator () const |
| void | keyAtConstIterator (const void *iterator, void *key) const |
| bool | canGetMappedAtIterator () const |
| void | mappedAtIterator (const void *iterator, void *mapped) const |
| bool | canGetMappedAtConstIterator () const |
| void | mappedAtConstIterator (const void *iterator, void *mapped) const |
| bool | canSetMappedAtIterator () const |
| void | setMappedAtIterator (const void *iterator, const void *mapped) const |
| bool | canCreateIteratorAtKey () const |
| void * | createIteratorAtKey (void *container, const void *key) const |
| bool | canCreateConstIteratorAtKey () const |
| void * | createConstIteratorAtKey (const void *container, const void *key) const |
| const QtMetaContainerPrivate::QMetaAssociationInterface * | iface () const |
Public Member Functions inherited from QMetaContainer | |
| QMetaContainer ()=default | |
| QMetaContainer (const QtMetaContainerPrivate::QMetaContainerInterface *d) | |
| bool | hasInputIterator () const |
Returns true if the underlying container provides at least an input iterator as defined by std::input_iterator_tag, otherwise returns false. | |
| bool | hasForwardIterator () const |
Returns true if the underlying container provides at least a forward iterator as defined by std::forward_iterator_tag, otherwise returns false. | |
| bool | hasBidirectionalIterator () const |
Returns true if the underlying container provides a bi-directional iterator or a random access iterator as defined by std::bidirectional_iterator_tag and std::random_access_iterator_tag, respectively. | |
| bool | hasRandomAccessIterator () const |
Returns true if the underlying container provides a random access iterator as defined by std::random_access_iterator_tag, otherwise returns false. | |
| bool | hasSize () const |
Returns true if the container can be queried for its size, false otherwise. | |
| qsizetype | size (const void *container) const |
| Returns the number of values in the given container if it can be queried for its size. | |
| bool | canClear () const |
Returns true if the container can be cleared, false otherwise. | |
| void | clear (void *container) const |
| Clears the given container if it can be cleared. | |
| bool | hasIterator () const |
Returns true if the underlying container offers a non-const iterator, false otherwise. | |
| void * | begin (void *container) const |
| Creates and returns a non-const iterator pointing to the beginning of container. | |
| void * | end (void *container) const |
| Creates and returns a non-const iterator pointing to the end of container. | |
| void | destroyIterator (const void *iterator) const |
| Destroys a non-const iterator previously created using \l begin() or \l end(). | |
| bool | compareIterator (const void *i, const void *j) const |
Returns true if the non-const iterators i and j point to the same value in the container they are iterating over, otherwise returns false. | |
| void | copyIterator (void *target, const void *source) const |
| Copies the non-const iterator source into the non-const iterator target. | |
| void | advanceIterator (void *iterator, qsizetype step) const |
| Advances the non-const iterator by step steps. | |
| qsizetype | diffIterator (const void *i, const void *j) const |
Returns the distance between the non-const iterators i and j, the equivalent of i - j. | |
| bool | hasConstIterator () const |
Returns true if the underlying container offers a const iterator, false otherwise. | |
| void * | constBegin (const void *container) const |
| Creates and returns a const iterator pointing to the beginning of container. | |
| void * | constEnd (const void *container) const |
| Creates and returns a const iterator pointing to the end of container. | |
| void | destroyConstIterator (const void *iterator) const |
| Destroys a const iterator previously created using \l constBegin() or \l constEnd(). | |
| bool | compareConstIterator (const void *i, const void *j) const |
Returns true if the const iterators i and j point to the same value in the container they are iterating over, otherwise returns false. | |
| void | copyConstIterator (void *target, const void *source) const |
| Copies the const iterator source into the const iterator target. | |
| void | advanceConstIterator (void *iterator, qsizetype step) const |
| Advances the const iterator by step steps. | |
| qsizetype | diffConstIterator (const void *i, const void *j) const |
Returns the distance between the const iterators i and j, the equivalent of i - j. | |
Static Public Member Functions | |
| template<typename T > | |
| static constexpr QMetaAssociation | fromContainer () |
Friends | |
| bool | operator== (const QMetaAssociation &a, const QMetaAssociation &b) |
| bool | operator!= (const QMetaAssociation &a, const QMetaAssociation &b) |
Additional Inherited Members | |
Protected Attributes inherited from QMetaContainer | |
| const QtMetaContainerPrivate::QMetaContainerInterface * | d_ptr = nullptr |
Definition at line 1004 of file qmetacontainer.h.
|
default |
|
inlineexplicit |
Definition at line 1008 of file qmetacontainer.h.
|
inline |
Definition at line 1043 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1160 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1146 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1094 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1081 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1120 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1107 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1057 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1019 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1031 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1133 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1069 of file qmetacontainer.h.
References d.
Definition at line 1049 of file qmetacontainer.h.
References d.
Referenced by QAssociativeIterable::containsKey().
Here is the caller graph for this function:
|
inline |
Definition at line 1167 of file qmetacontainer.h.
References d.
Referenced by QAssociativeIterable::find().
Here is the caller graph for this function:Definition at line 1153 of file qmetacontainer.h.
References d.
Referenced by QAssociativeIterable::mutableFind().
Here is the caller graph for this function:
|
inlinestaticconstexpr |
Definition at line 1011 of file qmetacontainer.h.
|
inline |
Definition at line 1183 of file qmetacontainer.h.
References d.
Referenced by keyMetaType(), and mappedMetaType().
Here is the caller graph for this function:Definition at line 1025 of file qmetacontainer.h.
References d.
Referenced by QAssociativeIterable::insertKey().
Here is the caller graph for this function:Definition at line 1101 of file qmetacontainer.h.
References d.
Definition at line 1088 of file qmetacontainer.h.
References d.
| QMetaType QMetaAssociation::keyMetaType | ( | ) | const |
Returns the meta type for keys in the container.
Definition at line 814 of file qmetacontainer.cpp.
References iface(), and QtMetaContainerPrivate::QMetaAssociationInterface::keyMetaType.
Referenced by QAssociativeIterable::containsKey(), QAssociativeIterable::find(), QAssociativeIterable::insertKey(), QAssociativeIterable::mutableFind(), QAssociativeIterable::removeKey(), QAssociativeIterable::setValue(), and QAssociativeIterable::value().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1127 of file qmetacontainer.h.
References d.
Definition at line 1114 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1063 of file qmetacontainer.h.
References d.
Referenced by QAssociativeIterable::value().
Here is the caller graph for this function:| QMetaType QMetaAssociation::mappedMetaType | ( | ) | const |
Returns the meta type for mapped values in the container.
Definition at line 824 of file qmetacontainer.cpp.
References iface(), and QtMetaContainerPrivate::QMetaAssociationInterface::mappedMetaType.
Referenced by QAssociativeIterable::setValue(), and QAssociativeIterable::value().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1037 of file qmetacontainer.h.
References d.
Referenced by QAssociativeIterable::removeKey().
Here is the caller graph for this function:
|
inline |
Definition at line 1140 of file qmetacontainer.h.
References d.
|
inline |
Definition at line 1075 of file qmetacontainer.h.
References d.
Referenced by QAssociativeIterable::setValue().
Here is the caller graph for this function:
|
friend |
Definition at line 1178 of file qmetacontainer.h.
|
friend |
Definition at line 1174 of file qmetacontainer.h.