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
QDuplicateTracker< T, Prealloc > Class Template Reference

#include <qduplicatetracker_p.h>

+ Collaboration diagram for QDuplicateTracker< T, Prealloc >:

Public Member Functions

 QDuplicateTracker ()
 
 QDuplicateTracker (qsizetype n)
 
void reserve (qsizetype n)
 
bool hasSeen (const T &s)
 
bool hasSeen (T &&s)
 
bool contains (const T &s) const
 
template<typename C>
void appendTo (C &c) const &
 
template<typename C>
void appendTo (C &c) &&
 
void clear ()
 

Static Public Attributes

static constexpr bool uses_pmr
 

Detailed Description

template<typename T, size_t Prealloc = 32>
class QDuplicateTracker< T, Prealloc >

Definition at line 30 of file qduplicatetracker_p.h.

Constructor & Destructor Documentation

◆ QDuplicateTracker() [1/2]

template<typename T, size_t Prealloc = 32>
QDuplicateTracker< T, Prealloc >::QDuplicateTracker ( )
inline

Definition at line 80 of file qduplicatetracker_p.h.

◆ QDuplicateTracker() [2/2]

template<typename T, size_t Prealloc = 32>
QDuplicateTracker< T, Prealloc >::QDuplicateTracker ( qsizetype n)
inlineexplicit

Definition at line 81 of file qduplicatetracker_p.h.

Member Function Documentation

◆ appendTo() [1/2]

template<typename T, size_t Prealloc = 32>
template<typename C>
void QDuplicateTracker< T, Prealloc >::appendTo ( C & c) &&
inline

Definition at line 112 of file qduplicatetracker_p.h.

◆ appendTo() [2/2]

template<typename T, size_t Prealloc = 32>
template<typename C>
void QDuplicateTracker< T, Prealloc >::appendTo ( C & c) const &
inline

Definition at line 105 of file qduplicatetracker_p.h.

◆ clear()

template<typename T, size_t Prealloc = 32>
void QDuplicateTracker< T, Prealloc >::clear ( )
inline

Definition at line 122 of file qduplicatetracker_p.h.

◆ contains()

template<typename T, size_t Prealloc = 32>
bool QDuplicateTracker< T, Prealloc >::contains ( const T & s) const
inlinenodiscard

Definition at line 99 of file qduplicatetracker_p.h.

◆ hasSeen() [1/2]

template<typename T, size_t Prealloc = 32>
bool QDuplicateTracker< T, Prealloc >::hasSeen ( const T & s)
inlinenodiscard

Definition at line 90 of file qduplicatetracker_p.h.

◆ hasSeen() [2/2]

template<typename T, size_t Prealloc = 32>
bool QDuplicateTracker< T, Prealloc >::hasSeen ( T && s)
inlinenodiscard

Definition at line 94 of file qduplicatetracker_p.h.

◆ reserve()

template<typename T, size_t Prealloc = 32>
void QDuplicateTracker< T, Prealloc >::reserve ( qsizetype n)
inline

Definition at line 89 of file qduplicatetracker_p.h.

Member Data Documentation

◆ uses_pmr

template<typename T, size_t Prealloc = 32>
bool QDuplicateTracker< T, Prealloc >::uses_pmr
inlinestaticconstexpr
Initial value:
=
false

Definition at line 73 of file qduplicatetracker_p.h.


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