Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QLazilyAllocated< T, Tag > Class Template Reference

#include <qlazilyallocated_p.h>

+ Collaboration diagram for QLazilyAllocated< T, Tag >:

Public Member Functions

 QLazilyAllocated ()
 
 ~QLazilyAllocated ()
 
bool isAllocated () const
 
T * operator-> () const
 
T & value ()
 
const T & value () const
 
Tag tag () const
 
void setTag (Tag t)
 

Detailed Description

template<typename T, typename Tag = typename QtPrivate::TagInfo<T>::TagType>
class QLazilyAllocated< T, Tag >

Definition at line 24 of file qlazilyallocated_p.h.

Constructor & Destructor Documentation

◆ QLazilyAllocated()

template<typename T , typename Tag >
QLazilyAllocated< T, Tag >::QLazilyAllocated
inline

Definition at line 43 of file qlazilyallocated_p.h.

◆ ~QLazilyAllocated()

template<typename T , typename Tag >
QLazilyAllocated< T, Tag >::~QLazilyAllocated
inline

Definition at line 48 of file qlazilyallocated_p.h.

References d.

Member Function Documentation

◆ isAllocated()

◆ operator->()

template<typename T , typename Tag >
T * QLazilyAllocated< T, Tag >::operator->
inline

Definition at line 74 of file qlazilyallocated_p.h.

References d.

◆ setTag()

template<typename T , typename Tag >
void QLazilyAllocated< T, Tag >::setTag ( Tag  t)
inline

Definition at line 86 of file qlazilyallocated_p.h.

References d.

◆ tag()

template<typename T , typename Tag >
Tag QLazilyAllocated< T, Tag >::tag
inline

Definition at line 80 of file qlazilyallocated_p.h.

References d.

◆ value() [1/2]

template<typename T , typename Tag >
T & QLazilyAllocated< T, Tag >::value
inline

Definition at line 60 of file qlazilyallocated_p.h.

References d.

Referenced by QQuickPaletteColorProvider::fromQPalette(), and QQuickPaletteColorProvider::inheritPalette().

+ Here is the caller graph for this function:

◆ value() [2/2]

template<typename T , typename Tag >
const T & QLazilyAllocated< T, Tag >::value
inline

Definition at line 67 of file qlazilyallocated_p.h.

References d.


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