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
QXmlStreamSimpleStack< T > Class Template Reference

#include <qxmlstream_p.h>

+ Collaboration diagram for QXmlStreamSimpleStack< T >:

Public Types

using const_iterator = const T*
 
using iterator = T*
 

Public Member Functions

 QXmlStreamSimpleStack ()
 
 ~QXmlStreamSimpleStack ()
 
void reserve (qsizetype extraCapacity)
 
T & push ()
 
T & rawPush ()
 
const T & top () const
 
T & top ()
 
pop ()
 
T & operator[] (qsizetype index)
 
const T & at (qsizetype index) const
 
qsizetype size () const
 
void resize (qsizetype s)
 
bool isEmpty () const
 
void clear ()
 
T * begin ()
 
const T * begin () const
 
const T * cbegin () const
 
T * end ()
 
const T * end () const
 
const T * cend () const
 

Detailed Description

template<typename T>
class QXmlStreamSimpleStack< T >

Definition at line 119 of file qxmlstream_p.h.

Member Typedef Documentation

◆ const_iterator

template<typename T >
using QXmlStreamSimpleStack< T >::const_iterator = const T*

Definition at line 159 of file qxmlstream_p.h.

◆ iterator

template<typename T >
using QXmlStreamSimpleStack< T >::iterator = T*

Definition at line 160 of file qxmlstream_p.h.

Constructor & Destructor Documentation

◆ QXmlStreamSimpleStack()

template<typename T >
QXmlStreamSimpleStack< T >::QXmlStreamSimpleStack ( )
inline

Definition at line 126 of file qxmlstream_p.h.

◆ ~QXmlStreamSimpleStack()

template<typename T >
QXmlStreamSimpleStack< T >::~QXmlStreamSimpleStack ( )
inline

Definition at line 129 of file qxmlstream_p.h.

References QXmlStreamSimpleStack< T >::size().

+ Here is the call graph for this function:

Member Function Documentation

◆ at()

template<typename T >
const T & QXmlStreamSimpleStack< T >::at ( qsizetype index) const
inline

Definition at line 153 of file qxmlstream_p.h.

◆ begin() [1/2]

template<typename T >
T * QXmlStreamSimpleStack< T >::begin ( )
inline

Definition at line 161 of file qxmlstream_p.h.

Referenced by QXmlStreamSimpleStack< T >::cbegin().

+ Here is the caller graph for this function:

◆ begin() [2/2]

template<typename T >
const T * QXmlStreamSimpleStack< T >::begin ( ) const
inline

Definition at line 162 of file qxmlstream_p.h.

◆ cbegin()

template<typename T >
const T * QXmlStreamSimpleStack< T >::cbegin ( ) const
inline

Definition at line 163 of file qxmlstream_p.h.

References QXmlStreamSimpleStack< T >::begin().

+ Here is the call graph for this function:

◆ cend()

template<typename T >
const T * QXmlStreamSimpleStack< T >::cend ( ) const
inline

Definition at line 166 of file qxmlstream_p.h.

References QXmlStreamSimpleStack< T >::end().

+ Here is the call graph for this function:

◆ clear()

template<typename T >
void QXmlStreamSimpleStack< T >::clear ( )
inline

Definition at line 157 of file qxmlstream_p.h.

◆ end() [1/2]

template<typename T >
T * QXmlStreamSimpleStack< T >::end ( )
inline

Definition at line 164 of file qxmlstream_p.h.

References QXmlStreamSimpleStack< T >::size().

Referenced by QXmlStreamSimpleStack< T >::cend().

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

◆ end() [2/2]

template<typename T >
const T * QXmlStreamSimpleStack< T >::end ( ) const
inline

Definition at line 165 of file qxmlstream_p.h.

References QXmlStreamSimpleStack< T >::size().

+ Here is the call graph for this function:

◆ isEmpty()

template<typename T >
bool QXmlStreamSimpleStack< T >::isEmpty ( ) const
inline

Definition at line 156 of file qxmlstream_p.h.

◆ operator[]()

template<typename T >
T & QXmlStreamSimpleStack< T >::operator[] ( qsizetype index)
inline

Definition at line 152 of file qxmlstream_p.h.

◆ pop()

template<typename T >
T QXmlStreamSimpleStack< T >::pop ( )
inline

Definition at line 151 of file qxmlstream_p.h.

◆ push()

template<typename T >
T & QXmlStreamSimpleStack< T >::push ( )
inline

Definition at line 147 of file qxmlstream_p.h.

References QXmlStreamSimpleStack< T >::rawPush(), and QXmlStreamSimpleStack< T >::reserve().

Referenced by QXmlStreamReaderPrivate::putChar(), and QXmlStreamReaderPrivate::putChar().

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

◆ rawPush()

template<typename T >
T & QXmlStreamSimpleStack< T >::rawPush ( )
inline

Definition at line 148 of file qxmlstream_p.h.

Referenced by QXmlStreamSimpleStack< T >::push().

+ Here is the caller graph for this function:

◆ reserve()

template<typename T >
void QXmlStreamSimpleStack< T >::reserve ( qsizetype extraCapacity)
inline

Definition at line 137 of file qxmlstream_p.h.

References ptr(), Q_CHECK_PTR(), and qMax().

Referenced by QXmlStreamSimpleStack< T >::push().

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

◆ resize()

template<typename T >
void QXmlStreamSimpleStack< T >::resize ( qsizetype s)
inline

Definition at line 155 of file qxmlstream_p.h.

◆ size()

template<typename T >
qsizetype QXmlStreamSimpleStack< T >::size ( ) const
inline

Definition at line 154 of file qxmlstream_p.h.

Referenced by QXmlStreamSimpleStack< T >::~QXmlStreamSimpleStack(), QXmlStreamSimpleStack< T >::end(), and QXmlStreamSimpleStack< T >::end().

+ Here is the caller graph for this function:

◆ top() [1/2]

template<typename T >
T & QXmlStreamSimpleStack< T >::top ( )
inline

Definition at line 150 of file qxmlstream_p.h.

◆ top() [2/2]

template<typename T >
const T & QXmlStreamSimpleStack< T >::top ( ) const
inline

Definition at line 149 of file qxmlstream_p.h.


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