![]() |
Qt 6.x
The Qt SDK
|
#include <qringbuffer_p.h>
Collaboration diagram for QRingChunk:Public Member Functions | |
| QRingChunk () noexcept=default | |
| QRingChunk (qsizetype alloc) | |
| QRingChunk (const QByteArray &qba) noexcept | |
| QRingChunk (QByteArray &&qba) noexcept | |
| void | swap (QRingChunk &other) noexcept |
| void | allocate (qsizetype alloc) |
| bool | isShared () const |
| Q_CORE_EXPORT void | detach () |
| QByteArray | toByteArray () && |
| qsizetype | head () const |
| qsizetype | size () const |
| qsizetype | capacity () const |
| qsizetype | available () const |
| const char * | data () const |
| char * | data () |
| void | advance (qsizetype offset) |
| void | grow (qsizetype offset) |
| void | assign (const QByteArray &qba) |
| void | assign (QByteArray &&qba) |
| void | reset () |
| void | clear () |
Definition at line 28 of file qringbuffer_p.h.
|
defaultnoexcept |
|
inlineexplicit |
Definition at line 33 of file qringbuffer_p.h.
|
inlineexplicitnoexcept |
Definition at line 37 of file qringbuffer_p.h.
|
inlineexplicitnoexcept |
Definition at line 41 of file qringbuffer_p.h.
Definition at line 91 of file qringbuffer_p.h.
References Q_ASSERT, and size().
Referenced by QRingBuffer::free().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 18 of file qringbuffer.cpp.
References isShared(), Q_ASSERT, size(), QByteArray::size(), and Qt::Uninitialized.
Here is the call graph for this function:
|
inline |
Definition at line 105 of file qringbuffer_p.h.
References QByteArray::size().
Here is the call graph for this function:
|
inline |
Definition at line 111 of file qringbuffer_p.h.
References QByteArray::size().
Here is the call graph for this function:
|
inline |
Definition at line 75 of file qringbuffer_p.h.
References QByteArray::size().
Referenced by QRingBuffer::reserve().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 71 of file qringbuffer_p.h.
References QByteArray::size().
Referenced by QRingBuffer::chop(), QRingBuffer::free(), and grow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 121 of file qringbuffer_p.h.
|
inline |
Definition at line 83 of file qringbuffer_p.h.
References QByteArray::data(), detach(), and isShared().
Here is the call graph for this function:
|
inline |
Definition at line 79 of file qringbuffer_p.h.
References QByteArray::constData().
Here is the call graph for this function:| void QRingChunk::detach | ( | ) |
Definition at line 26 of file qringbuffer.cpp.
References isShared(), Q_ASSERT, and size().
Referenced by data().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 98 of file qringbuffer_p.h.
References capacity(), head(), Q_ASSERT, and size().
Referenced by QRingBuffer::chop(), and QRingBuffer::reserveFront().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 63 of file qringbuffer_p.h.
Referenced by grow(), and QRingBuffer::reserveFront().
Here is the caller graph for this function:
|
inline |
Definition at line 55 of file qringbuffer_p.h.
References QByteArray::isDetached().
Referenced by allocate(), QRingBuffer::chop(), data(), detach(), QRingBuffer::free(), QRingBuffer::reserve(), and QRingBuffer::reserveFront().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 117 of file qringbuffer_p.h.
Referenced by QRingBuffer::chop(), and QRingBuffer::free().
Here is the caller graph for this function:
|
inline |
Definition at line 67 of file qringbuffer_p.h.
Referenced by advance(), allocate(), detach(), grow(), and QRingBuffer::reserve().
Here is the caller graph for this function:
|
inlinenoexcept |
Definition at line 46 of file qringbuffer_p.h.
References other(), qSwap(), and QByteArray::swap().
Here is the call graph for this function:| QByteArray QRingChunk::toByteArray | ( | ) | && |
Definition at line 36 of file qringbuffer.cpp.
References QByteArray::resize(), and QByteArray::sliced().
Here is the call graph for this function: