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
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.

Member Function Documentation

◆ isAllocated()

template<typename T, typename Tag>
bool QLazilyAllocated< T, Tag >::isAllocated ( ) const
inline

Definition at line 54 of file qlazilyallocated_p.h.

◆ operator->()

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

Definition at line 74 of file qlazilyallocated_p.h.

◆ setTag()

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

Definition at line 86 of file qlazilyallocated_p.h.

◆ tag()

template<typename T, typename Tag>
Tag QLazilyAllocated< T, Tag >::tag ( ) const
inline

Definition at line 80 of file qlazilyallocated_p.h.

◆ value() [1/2]

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

Definition at line 60 of file qlazilyallocated_p.h.

◆ value() [2/2]

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

Definition at line 67 of file qlazilyallocated_p.h.


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