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

#include <qvarlengtharray.h>

Inherited by QVLABase< KeyValuePair >, QVLABase< QString >, QVLABase< QQmlSA::Element >, QVLABase< EGLImageKHR >, QVLABase< float >, QVLABase< QQmlBindEntry >, QVLABase< PerQuadData >, QVLABase< QMacNotificationObserver >, QVLABase< QByteArray >, QVLABase< QRhiBufferData >, QVLABase< QImage >, QVLABase< QRhiShaderResourceBinding >, QVLABase< QD3D11ShaderResourceBindings::BoundResourceData >, QVLABase< QRhiBatchedBindings::Batch >, QVLABase< int >, QVLABase< QRhiPassResourceTracker >, 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< QPainterPrivate * >, QVLABase< QQmlJS::SourceLocation >, QVLABase< QQuick3DShaderUtilsShader * >, QVLABase< QQuick3DCamera * >, QVLABase< TouchState >, QVLABase< QPointF >, QVLABase< QQuickItem * >, QVLABase< QQuickParticlePainter * >, QVLABase< QQuickParticleGroupData * >, QVLABase< QQuickTextNodeEngine::BinaryTreeNode >, QVLABase< QReadWriteLockPrivate::Reader >, QVLABase< quint8 >, QVLABase< QRhiD3D11::TextureReadback >, QVLABase< QRhiD3D11::BufferReadback >, QVLABase< QRhiGles2::Scratch::data32_t >, QVLABase< QRhiGles2::Scratch::SeparateTexture >, QVLABase< QRhiGles2::Scratch::SeparateSampler >, 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< VkSemaphore >, QVLABase< VkPipelineStageFlags >, QVLABase< QMatrix4x4 >, QVLABase< QSGBatchRenderer::Renderer::PreparedRenderBatch >, QVLABase< Pipeline >, QVLABase< QSGTexture * >, QVLABase< QRhiSampler * >, QVLABase< QSSGRenderPass * >, QVLABase< QRhiTextureRenderTarget * >, QVLABase< QRhiShaderResourceBindings * >, QVLABase< QSSGRenderLight * >, QVLABase< InputSemantic >, QVLABase< QSSGRhiShaderUniform >, QVLABase< QSSGRhiShaderUniformArray >, QVLABase< QSSGRhiShadowMapProperties >, QVLABase< QSSGRhiTexture >, QVLABase< QSSGRhiShaderPipeline::CommonUniformIndices::ImageIndices >, QVLABase< QList< int > >, QVLABase< QList< QImage > >, QVLABase< QMetaType >, QVLABase< QQmlType >, QVLABase< QV4::InternalClassTransition >, QVLABase< QPainterPath::ElementType >, QVLABase< qreal >, QVLABase< QVkBuffer::DynamicUpdate >, QVLABase< VkClearValue >, 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 49 of file qvarlengtharray.h.

Member Typedef Documentation

◆ malloced_ptr

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

Definition at line 71 of file qvarlengtharray.h.

◆ size_type

Definition at line 74 of file qvarlengtharray.h.

Constructor & Destructor Documentation

◆ QVLABaseBase()

QVLABaseBase::QVLABaseBase ( )
protecteddefault

Member Function Documentation

◆ capacity()

size_type QVLABaseBase::capacity ( ) const
inlineconstexprnoexcept

Definition at line 76 of file qvarlengtharray.h.

◆ empty()

bool QVLABaseBase::empty ( ) const
inlineconstexprnoexcept

Definition at line 78 of file qvarlengtharray.h.

◆ size()

size_type QVLABaseBase::size ( ) const
inlineconstexprnoexcept

Definition at line 77 of file qvarlengtharray.h.

◆ verify()

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

Definition at line 59 of file qvarlengtharray.h.

Member Data Documentation

◆ a

qsizetype QVLABaseBase::a
protected

Definition at line 55 of file qvarlengtharray.h.

◆ ptr

void* QVLABaseBase::ptr
protected

Definition at line 57 of file qvarlengtharray.h.

Referenced by QVLABase< T >::reallocate_impl().

◆ s

qsizetype QVLABaseBase::s
protected

Definition at line 56 of file qvarlengtharray.h.


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