4#ifndef QQMLJSFIXEDPOOLARRAY_P_H
5#define QQMLJSFIXEDPOOLARRAY_P_H
18#include <QtCore/qglobal.h>
19#include <private/qqmljsmemorypool_p.h>
42 data =
reinterpret_cast<T*
>(
pool->allocate(
count *
sizeof(T)));
48 data =
reinterpret_cast<T*
>(
pool->allocate(
count *
sizeof(T)));
58 template <
typename Container>
61 count = container.size();
62 data =
reinterpret_cast<T*
>(
pool->allocate(
count *
sizeof(T)));
63 typename Container::ConstIterator
it = container.
constBegin();
qsizetype size() const noexcept
const_pointer constData() const noexcept
const_reference at(qsizetype i) const noexcept
const T & at(int index) const
void allocate(MemoryPool *pool, const QVector< T > &vector)
void allocate(MemoryPool *pool, int size)
T & operator[](int index)
void allocate(MemoryPool *pool, const Container &container)
int indexOf(const T &value) const
FixedPoolArray(MemoryPool *pool, int size)
const_iterator constBegin() const noexcept
QSet< QString >::iterator it
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data