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
QQmlJS::MemoryPool Class Reference

#include <qqmljsmemorypool_p.h>

Collaboration diagram for QQmlJS::MemoryPool:

Public Member Functions

 MemoryPool ()=default
 ~MemoryPool ()
voidallocate (size_t size)
void reset ()
template<typename Tp>
Tp * New ()
template<typename Tp, typename... Ta>
Tp * New (Ta... args)
QStringView newString (QString string)

Detailed Description

Definition at line 30 of file qqmljsmemorypool_p.h.

Constructor & Destructor Documentation

◆ MemoryPool()

QQmlJS::MemoryPool::MemoryPool ( )
default

◆ ~MemoryPool()

QQmlJS::MemoryPool::~MemoryPool ( )
inline

Definition at line 36 of file qqmljsmemorypool_p.h.

Member Function Documentation

◆ allocate()

void * QQmlJS::MemoryPool::allocate ( size_t size)
inline

Definition at line 48 of file qqmljsmemorypool_p.h.

◆ New() [1/2]

template<typename Tp>
Tp * QQmlJS::MemoryPool::New ( )
inline

Definition at line 65 of file qqmljsmemorypool_p.h.

◆ New() [2/2]

template<typename Tp, typename... Ta>
Tp * QQmlJS::MemoryPool::New ( Ta... args)
inline

Definition at line 66 of file qqmljsmemorypool_p.h.

◆ newString()

QStringView QQmlJS::MemoryPool::newString ( QString string)
inline

Definition at line 69 of file qqmljsmemorypool_p.h.

◆ reset()

void QQmlJS::MemoryPool::reset ( )
inline

Definition at line 59 of file qqmljsmemorypool_p.h.


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