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
QCachedValue< T > Class Template Reference

#include <qcachedvalue_p.h>

Collaboration diagram for QCachedValue< T >:

Public Member Functions

 QCachedValue ()=default
template<typename Creator>
ensure (Creator &&creator)
bool update (T value)
void reset ()

Detailed Description

template<typename T>
class QCachedValue< T >

Definition at line 26 of file qcachedvalue_p.h.

Constructor & Destructor Documentation

◆ QCachedValue()

template<typename T>
QCachedValue< T >::QCachedValue ( )
default

Member Function Documentation

◆ ensure()

template<typename T>
template<typename Creator>
T QCachedValue< T >::ensure ( Creator && creator)
inline

Definition at line 34 of file qcachedvalue_p.h.

◆ reset()

template<typename T>
void QCachedValue< T >::reset ( )
inline

Definition at line 60 of file qcachedvalue_p.h.

◆ update()

template<typename T>
bool QCachedValue< T >::update ( T value)
inline

Definition at line 50 of file qcachedvalue_p.h.


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