Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPODVector< T, Increment > Class Template Reference

#include <qpodvector_p.h>

+ Collaboration diagram for QPODVector< T, Increment >:

Public Member Functions

 QPODVector ()
 
 ~QPODVector ()
 
const T & at (int idx) const
 
T & operator[] (int idx)
 
void clear ()
 
void prepend (const T &v)
 
void append (const T &v)
 
void insert (int idx, const T &v)
 
void reserve (int count)
 
void insertBlank (int idx, int count)
 
void remove (int idx, int count=1)
 
void removeOne (const T &v)
 
int find (const T &v)
 
bool contains (const T &v)
 
int count () const
 
void copyAndClear (QPODVector< T, Increment > &other)
 
QPODVector< T, Increment > & operator<< (const T &v)
 

Detailed Description

template<class T, int Increment>
class QPODVector< T, Increment >

Definition at line 24 of file qpodvector_p.h.

Constructor & Destructor Documentation

◆ QPODVector()

template<class T , int Increment>
QPODVector< T, Increment >::QPODVector ( )
inline

Definition at line 27 of file qpodvector_p.h.

◆ ~QPODVector()

template<class T , int Increment>
QPODVector< T, Increment >::~QPODVector ( )
inline

Definition at line 29 of file qpodvector_p.h.

Member Function Documentation

◆ append()

template<class T , int Increment>
void QPODVector< T, Increment >::append ( const T & v)
inline

Definition at line 47 of file qpodvector_p.h.

References QPODVector< T, Increment >::insert().

Referenced by QQuickPathViewPrivate::addVelocitySample(), QQuickFlickablePrivate::AxisData::addVelocitySample(), and ListModel::remove().

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

◆ at()

template<class T , int Increment>
const T & QPODVector< T, Increment >::at ( int idx) const
inline

Definition at line 31 of file qpodvector_p.h.

Referenced by QQuickPathViewPrivate::calcVelocity().

+ Here is the caller graph for this function:

◆ clear()

template<class T , int Increment>
void QPODVector< T, Increment >::clear ( )
inline

Definition at line 39 of file qpodvector_p.h.

Referenced by QQuickFlickablePrivate::drag(), and QQuickPathViewPrivate::handleMousePressEvent().

+ Here is the caller graph for this function:

◆ contains()

template<class T , int Increment>
bool QPODVector< T, Increment >::contains ( const T & v)
inline

Definition at line 106 of file qpodvector_p.h.

References QPODVector< T, Increment >::find().

+ Here is the call graph for this function:

◆ copyAndClear()

template<class T , int Increment>
void QPODVector< T, Increment >::copyAndClear ( QPODVector< T, Increment > & other)
inline

Definition at line 114 of file qpodvector_p.h.

References other().

+ Here is the call graph for this function:

◆ count()

template<class T , int Increment>
int QPODVector< T, Increment >::count ( ) const
inline

◆ find()

template<class T , int Increment>
int QPODVector< T, Increment >::find ( const T & v)
inline

Definition at line 99 of file qpodvector_p.h.

Referenced by QPODVector< T, Increment >::contains().

+ Here is the caller graph for this function:

◆ insert()

template<class T , int Increment>
void QPODVector< T, Increment >::insert ( int idx,
const T & v )
inline

Definition at line 51 of file qpodvector_p.h.

Referenced by QPODVector< T, Increment >::append(), and QPODVector< T, Increment >::prepend().

+ Here is the caller graph for this function:

◆ insertBlank()

template<class T , int Increment>
void QPODVector< T, Increment >::insertBlank ( int idx,
int count )
inline

Definition at line 70 of file qpodvector_p.h.

References QPODVector< T, Increment >::count(), and QPODVector< T, Increment >::reserve().

+ Here is the call graph for this function:

◆ operator<<()

template<class T , int Increment>
QPODVector< T, Increment > & QPODVector< T, Increment >::operator<< ( const T & v)
inline

Definition at line 114 of file qpodvector_p.h.

◆ operator[]()

template<class T , int Increment>
T & QPODVector< T, Increment >::operator[] ( int idx)
inline

Definition at line 35 of file qpodvector_p.h.

◆ prepend()

template<class T , int Increment>
void QPODVector< T, Increment >::prepend ( const T & v)
inline

Definition at line 43 of file qpodvector_p.h.

References QPODVector< T, Increment >::insert().

+ Here is the call graph for this function:

◆ remove()

template<class T , int Increment>
void QPODVector< T, Increment >::remove ( int idx,
int count = 1 )
inline

Definition at line 80 of file qpodvector_p.h.

References QPODVector< T, Increment >::count().

Referenced by QQuickPathViewPrivate::addVelocitySample(), QQuickFlickablePrivate::AxisData::addVelocitySample(), ListModel::remove(), and QPODVector< T, Increment >::removeOne().

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

◆ removeOne()

template<class T , int Increment>
void QPODVector< T, Increment >::removeOne ( const T & v)
inline

Definition at line 88 of file qpodvector_p.h.

References QPODVector< T, Increment >::remove().

+ Here is the call graph for this function:

◆ reserve()

template<class T , int Increment>
void QPODVector< T, Increment >::reserve ( int count)
inline

Definition at line 63 of file qpodvector_p.h.

Referenced by QPODVector< T, Increment >::insertBlank().

+ Here is the caller graph for this function:

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