Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QMinimalFlatSet< T, Container > Class Template Reference

#include <qminimalflatset_p.h>

+ Collaboration diagram for QMinimalFlatSet< T, Container >:

Public Types

using const_iterator = typename Container::const_iterator
 
using iterator = const_iterator
 
using const_reverse_iterator = typename Container::const_reverse_iterator
 
using reverse_iterator = const_reverse_iterator
 
using value_type = T
 

Public Member Functions

iterator begin () const
 
iterator end () const
 
iterator cbegin () const
 
iterator cend () const
 
reverse_iterator rbegin () const
 
reverse_iterator rend () const
 
reverse_iterator crbegin () const
 
reverse_iterator crend () const
 
void clear ()
 
auto size () const
 
auto count () const
 
bool isEmpty () const
 
std::pair< iterator, bool > insert (value_type &&v)
 
std::pair< iterator, bool > insert (const value_type &v)
 
void erase (const value_type &v)
 
void remove (const value_type &v)
 
bool contains (const value_type &v) const
 
const Container & values () const &
 
Container values () &&
 

Detailed Description

template<typename T, typename Container = QList<T>>
class QMinimalFlatSet< T, Container >

Definition at line 48 of file qminimalflatset_p.h.

Member Typedef Documentation

◆ const_iterator

template<typename T , typename Container = QList<T>>
using QMinimalFlatSet< T, Container >::const_iterator = typename Container::const_iterator

Definition at line 56 of file qminimalflatset_p.h.

◆ const_reverse_iterator

template<typename T , typename Container = QList<T>>
using QMinimalFlatSet< T, Container >::const_reverse_iterator = typename Container::const_reverse_iterator

Definition at line 58 of file qminimalflatset_p.h.

◆ iterator

template<typename T , typename Container = QList<T>>
using QMinimalFlatSet< T, Container >::iterator = const_iterator

Definition at line 57 of file qminimalflatset_p.h.

◆ reverse_iterator

template<typename T , typename Container = QList<T>>
using QMinimalFlatSet< T, Container >::reverse_iterator = const_reverse_iterator

Definition at line 59 of file qminimalflatset_p.h.

◆ value_type

template<typename T , typename Container = QList<T>>
using QMinimalFlatSet< T, Container >::value_type = T

Definition at line 60 of file qminimalflatset_p.h.

Member Function Documentation

◆ begin()

template<typename T , typename Container = QList<T>>
iterator QMinimalFlatSet< T, Container >::begin ( ) const
inline

Definition at line 62 of file qminimalflatset_p.h.

Referenced by QMinimalFlatSet< T, Container >::cbegin().

+ Here is the caller graph for this function:

◆ cbegin()

template<typename T , typename Container = QList<T>>
iterator QMinimalFlatSet< T, Container >::cbegin ( ) const
inline

Definition at line 64 of file qminimalflatset_p.h.

References QMinimalFlatSet< T, Container >::begin().

Referenced by QQuickTableViewPrivate::leftColumn(), and QQuickTableViewPrivate::topRow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cend()

template<typename T , typename Container = QList<T>>
iterator QMinimalFlatSet< T, Container >::cend ( ) const
inline

Definition at line 65 of file qminimalflatset_p.h.

References QMinimalFlatSet< T, Container >::cend().

Referenced by QMinimalFlatSet< T, Container >::cend().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clear()

template<typename T , typename Container = QList<T>>
void QMinimalFlatSet< T, Container >::clear ( )
inline

Definition at line 72 of file qminimalflatset_p.h.

References QMINIMAL_FLAT_SET_PRINT_AT_END.

Referenced by QQuickTableViewPrivate::loadInitialTable().

+ Here is the caller graph for this function:

◆ contains()

template<typename T , typename Container = QList<T>>
bool QMinimalFlatSet< T, Container >::contains ( const value_type v) const
inline

◆ count()

template<typename T , typename Container = QList<T>>
auto QMinimalFlatSet< T, Container >::count ( ) const
inline

Definition at line 77 of file qminimalflatset_p.h.

References QMinimalFlatSet< T, Container >::size().

Referenced by QQuickTableViewPrivate::canUnloadTableEdge(), QQuickTableViewPrivate::drainReusePoolAfterLoadRequest(), QQuickTableViewPrivate::layoutHorizontalEdge(), QQuickTableViewPrivate::layoutVerticalEdge(), QQuickTableViewPrivate::updateAverageColumnWidth(), and QQuickTableViewPrivate::updateAverageRowHeight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ crbegin()

template<typename T , typename Container = QList<T>>
reverse_iterator QMinimalFlatSet< T, Container >::crbegin ( ) const
inline

Definition at line 69 of file qminimalflatset_p.h.

References QMinimalFlatSet< T, Container >::rbegin().

Referenced by QQuickTableViewPrivate::bottomRow(), and QQuickTableViewPrivate::rightColumn().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ crend()

template<typename T , typename Container = QList<T>>
reverse_iterator QMinimalFlatSet< T, Container >::crend ( ) const
inline

Definition at line 70 of file qminimalflatset_p.h.

References QMinimalFlatSet< T, Container >::rend().

+ Here is the call graph for this function:

◆ end()

template<typename T , typename Container = QList<T>>
iterator QMinimalFlatSet< T, Container >::end ( ) const
inline

Definition at line 63 of file qminimalflatset_p.h.

◆ erase()

template<typename T , typename Container = QList<T>>
void QMinimalFlatSet< T, Container >::erase ( const value_type v)
inline

Definition at line 100 of file qminimalflatset_p.h.

References QMINIMAL_FLAT_SET_PRINT_AT_END.

Referenced by QMinimalFlatSet< T, Container >::remove().

+ Here is the caller graph for this function:

◆ insert() [1/2]

template<typename T , typename Container = QList<T>>
std::pair< iterator, bool > QMinimalFlatSet< T, Container >::insert ( const value_type v)
inline

Definition at line 90 of file qminimalflatset_p.h.

References QMINIMAL_FLAT_SET_PRINT_AT_END.

◆ insert() [2/2]

template<typename T , typename Container = QList<T>>
std::pair< iterator, bool > QMinimalFlatSet< T, Container >::insert ( value_type &&  v)
inline

Definition at line 80 of file qminimalflatset_p.h.

References QMINIMAL_FLAT_SET_PRINT_AT_END.

Referenced by QQuickTableViewPrivate::syncLoadedTableFromLoadRequest().

+ Here is the caller graph for this function:

◆ isEmpty()

template<typename T , typename Container = QList<T>>
bool QMinimalFlatSet< T, Container >::isEmpty ( ) const
inline

Definition at line 78 of file qminimalflatset_p.h.

References QMinimalFlatSet< T, Container >::size().

+ Here is the call graph for this function:

◆ rbegin()

template<typename T , typename Container = QList<T>>
reverse_iterator QMinimalFlatSet< T, Container >::rbegin ( ) const
inline

Definition at line 67 of file qminimalflatset_p.h.

Referenced by QMinimalFlatSet< T, Container >::crbegin().

+ Here is the caller graph for this function:

◆ remove()

template<typename T , typename Container = QList<T>>
void QMinimalFlatSet< T, Container >::remove ( const value_type v)
inline

Definition at line 107 of file qminimalflatset_p.h.

References QMinimalFlatSet< T, Container >::erase().

Referenced by QQuickTableViewPrivate::unloadEdge().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rend()

template<typename T , typename Container = QList<T>>
reverse_iterator QMinimalFlatSet< T, Container >::rend ( ) const
inline

Definition at line 68 of file qminimalflatset_p.h.

Referenced by QMinimalFlatSet< T, Container >::crend().

+ Here is the caller graph for this function:

◆ size()

template<typename T , typename Container = QList<T>>
auto QMinimalFlatSet< T, Container >::size ( ) const
inline

Definition at line 76 of file qminimalflatset_p.h.

Referenced by QMinimalFlatSet< T, Container >::count(), and QMinimalFlatSet< T, Container >::isEmpty().

+ Here is the caller graph for this function:

◆ values() [1/2]

template<typename T , typename Container = QList<T>>
Container QMinimalFlatSet< T, Container >::values ( ) &&
inline

Definition at line 115 of file qminimalflatset_p.h.

◆ values() [2/2]

template<typename T , typename Container = QList<T>>
const Container & QMinimalFlatSet< T, Container >::values ( ) const &
inline

Definition at line 114 of file qminimalflatset_p.h.

Referenced by QQuickTableViewPrivate::layoutHorizontalEdge(), QQuickTableViewPrivate::layoutVerticalEdge(), and QQuickTableViewPrivate::loadEdge().

+ Here is the caller graph for this function:

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