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
QVLABaseBase Class Reference

#include <qvarlengtharray.h>

Inherited by QVLABase< KeyValuePair >, QVLABase< void * >, QVLABase< QString >, QVLABase< QQmlSA::Element >, QVLABase< EGLImageKHR >, QVLABase< float >, QVLABase< BaseType >, QVLABase< Interface >, QVLABase< char >, QVLABase< PerQuadData >, QVLABase< QMacNotificationObserver >, QVLABase< QByteArray >, QVLABase< QRhiBufferData >, QVLABase< QImage >, QVLABase< ResId >, QVLABase< QRhiShaderResourceBinding >, QVLABase< QD3D11ShaderResourceBindings::BoundResourceData >, QVLABase< QRhiBatchedBindings::Batch >, QVLABase< int >, QVLABase< QRhiPassResourceTracker >, QVLABase< QGles2UniformDescription >, QVLABase< QGles2SamplerDescription >, QVLABase< quint32 >, QVLABase< QRingBuffer >, QVLABase< QMetaObject::Connection >, QVLABase< QMetalBufferData::BufferUpdate >, QVLABase< QMetalShaderResourceBindings::BoundResourceData >, QVLABase< QMetalShaderResourceBindingsData::Stage::Buffer >, QVLABase< QMetalShaderResourceBindingsData::Stage::Texture >, QVLABase< QMetalShaderResourceBindingsData::Stage::Sampler >, QVLABase< std::array< QImage, QRhi::MAX_MIP_LEVELS > >, QVLABase< GLuint >, QVLABase< QOpenGLFramebufferObjectPrivate::ColorAttachment >, QVLABase< QOpenXREyeCamera * >, QVLABase< QPainterPrivate * >, QVLABase< QQmlBindEntry >, QVLABase< 2 >, QVLABase< QQuick3DShaderUtilsShader * >, QVLABase< QQuick3DCamera * >, QVLABase< TouchState >, QVLABase< QPointF >, QVLABase< QQuickItem * >, QVLABase< QQuickParticlePainter * >, QVLABase< QQuickParticleGroupData::ID >, QVLABase< QQuickParticleGroupData * >, QVLABase< QQuickTextNodeEngine::BinaryTreeNode >, QVLABase< QReadWriteLockPrivate::Reader >, QVLABase< quint8 >, QVLABase< QRhiD3D11::TextureReadback >, QVLABase< QRhiD3D11::BufferReadback >, QVLABase< QRhiGraphicsPipeline::TargetBlend >, QVLABase< QRhiShaderStage >, QVLABase< QRhiResourceUpdateBatch * >, QVLABase< QRhi::CleanupCallback >, QVLABase< QRhiMetalData::TextureReadback >, QVLABase< QRhiMetalData::BufferReadback >, QVLABase< QRhiResourceUpdateBatchPrivate::BufferOp >, QVLABase< QRhiResourceUpdateBatchPrivate::TextureOp >, QVLABase< MipLevelUploadList >, QVLABase< QRhiColorAttachment >, QVLABase< QRhiTextureUploadEntry >, QVLABase< QRhiVertexInputBinding >, QVLABase< QRhiVertexInputAttribute >, QVLABase< QRhiVulkan::DescriptorPoolData >, QVLABase< VkCommandBuffer >, QVLABase< QRhiVulkan::TextureReadback >, QVLABase< QRhiVulkan::BufferReadback >, QVLABase< QMatrix4x4 >, QVLABase< QSGBatchRenderer::Renderer::PreparedRenderBatch >, QVLABase< Pipeline >, QVLABase< QSGTexture * >, QVLABase< QRhiSampler * >, QVLABase< QSSGRenderPass * >, QVLABase< QSSGRenderCamera * >, QVLABase< QSSGShaderLight >, QVLABase< QRhiTextureRenderTarget * >, QVLABase< QRhiShaderResourceBindings * >, QVLABase< QSSGRenderLight * >, QVLABase< InputSemantic >, QVLABase< QSSGRhiShaderUniform >, QVLABase< QSSGRhiShaderUniformArray >, QVLABase< QSSGRhiShadowMapProperties >, QVLABase< QSSGRhiTexture >, QVLABase< QSSGRhiShaderPipeline::CommonUniformIndices::ImageIndices >, QVLABase< Node * >, QVLABase< QList< int > >, QVLABase< QList< QImage > >, QVLABase< QMetaType >, QVLABase< QQmlType >, QVLABase< QV4::InternalClassTransition >, QVLABase< QPainterPath::ElementType >, QVLABase< qreal >, QVLABase< QVkBuffer::DynamicUpdate >, QVLABase< VkClearValue >, QVLABase< VkBufferImageCopy >, QVLABase< uint32_t >, QVLABase< VkBuffer >, QVLABase< VkDeviceSize >, QVLABase< VkImageMemoryBarrier >, QVLABase< VkBufferMemoryBarrier >, QVLABase< VkAttachmentDescription >, QVLABase< VkAttachmentReference >, QVLABase< VkSubpassDependency >, QVLABase< QVkShaderResourceBindings::BoundResourceData >, QVLABase< VkPresentModeKHR >, QVLABase< QVkSwapChain::ImageResources >, QVLABase< const QtPrivate::QPropertyBindingData * >, and QVLABase< T >.

+ Collaboration diagram for QVLABaseBase:

Classes

struct  free_deleter
 

Public Types

using size_type = qsizetype
 

Public Member Functions

constexpr size_type capacity () const noexcept
 
constexpr size_type size () const noexcept
 
constexpr bool empty () const noexcept
 

Protected Types

using malloced_ptr = std::unique_ptr<void, free_deleter>
 

Protected Member Functions

 ~QVLABaseBase ()=default
 
Q_ALWAYS_INLINE constexpr void verify (qsizetype pos=0, qsizetype n=1) const
 

Protected Attributes

qsizetype a
 
qsizetype s
 
voidptr
 

Detailed Description

Definition at line 46 of file qvarlengtharray.h.

Member Typedef Documentation

◆ malloced_ptr

using QVLABaseBase::malloced_ptr = std::unique_ptr<void, free_deleter>
protected

Definition at line 67 of file qvarlengtharray.h.

◆ size_type

Definition at line 70 of file qvarlengtharray.h.

Constructor & Destructor Documentation

◆ ~QVLABaseBase()

QVLABaseBase::~QVLABaseBase ( )
protecteddefault

Member Function Documentation

◆ capacity()

constexpr size_type QVLABaseBase::capacity ( ) const
inlineconstexprnoexcept

Definition at line 72 of file qvarlengtharray.h.

References a.

Referenced by QVLABase< T >::emplace_back_impl(), QVLABase< T >::resize_impl(), and QVLABase< T >::resize_impl().

+ Here is the caller graph for this function:

◆ empty()

constexpr bool QVLABaseBase::empty ( ) const
inlineconstexprnoexcept

Definition at line 74 of file qvarlengtharray.h.

References size().

Referenced by QVarLengthArray< T, Prealloc >::isEmpty().

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

◆ size()

constexpr size_type QVLABaseBase::size ( ) const
inlineconstexprnoexcept

Definition at line 73 of file qvarlengtharray.h.

References s.

Referenced by QVarLengthGlyphLayoutArray::QVarLengthGlyphLayoutArray(), QSctpSocketPrivate::canReadNotification(), QVLABase< T >::clear(), QSqlQueryModelPrivate::columnInQuery(), QGles2ShaderResourceBindings::create(), QGles2GraphicsPipeline::create(), QVkShaderResourceBindings::create(), QQmlBindPrivate::decodeBinding(), QQuickTrailEmitter::emitWindow(), QVLABase< T >::emplace_back_impl(), empty(), QVLABase< T >::end(), QVLABase< T >::end(), QRhiGles2::enqueueBarriersForPass(), QRhiGles2::enqueueResourceUpdates(), QRhiVulkan::enqueueResourceUpdates(), QRhiVulkan::enqueueTransitionPassResources(), QQmlBindPrivate::evalDelayed(), QBackingStoreDefaultCompositor::flush(), QVLABase< T >::growBy(), QSqlQueryModelPrivate::initColOffsets(), QVkRenderPassDescriptor::isCompatible(), QTextureFileData::isValid(), QQuickParticleSystem::newDatum(), QRhi::nextResourceUpdateBatch(), QVLABase< T >::pop_back(), QQuickImageParticle::prepareNextFrame(), QQuickParticleSystem::registerParticleGroupData(), QQuickParticleVarLengthArray< T, Prealloc >::removeOne(), QVarLengthGlyphLayoutArray::resize(), QVLABase< T >::resize_impl(), QVLABase< T >::resize_impl(), RenderHelpers::rhiRenderShadowMap(), QIODevicePrivate::setReadChannelCount(), QSSGRhiShaderPipeline::setUniform(), QSSGRhiShaderPipeline::setUniformArray(), QIODevicePrivate::setWriteChannelCount(), QRhiNull::simulateTextureUpload(), QLocaleData::stringToDouble(), QVkShaderResourceBindings::updateResources(), QVkRenderPassDescriptor::updateSerializedFormat(), QQmlBindPrivate::validate(), QIntValidator::validate(), verify(), and QSctpSocketPrivate::writeToSocket().

+ Here is the caller graph for this function:

◆ verify()

Q_ALWAYS_INLINE constexpr void QVLABaseBase::verify ( qsizetype pos = 0,
qsizetype n = 1 ) const
inlineconstexprprotected

Definition at line 55 of file qvarlengtharray.h.

References pos, Q_ASSERT, and size().

Referenced by QVLABase< T >::back(), QVLABase< T >::back(), QVarLengthArray< KeyValuePair, 8 >::contains(), QVLABase< T >::front(), QVLABase< T >::front(), QVLABase< T >::operator[](), QVLABase< T >::operator[](), and QVLABase< T >::pop_back().

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

Member Data Documentation

◆ a

qsizetype QVLABaseBase::a
protected

Definition at line 51 of file qvarlengtharray.h.

Referenced by capacity().

◆ ptr

void* QVLABaseBase::ptr
protected

◆ s


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