TrixelCache::element
TrixelCache< content >::element Class Reference
#include <trixelcache.h>
Public Member Functions | |
content & | data () |
bool | is_set () |
element & | operator= (const content &rhs) |
element & | operator= (content &&rhs) |
void | reset () |
Detailed Description
template<typename content>
class TrixelCache< content >::element
class TrixelCache< content >::element
A container to hold cache elements.
The holds the data and the information if the data has been set already. To this end, the assignment operator has been overloaded.
Definition at line 69 of file trixelcache.h.
Member Function Documentation
◆ data()
template<typename content >
|
inline |
- Returns
- the data held by element
Definition at line 76 of file trixelcache.h.
◆ is_set()
template<typename content >
|
inline |
- Returns
- wether the element contains a cached object
Definition at line 73 of file trixelcache.h.
◆ operator=() [1/2]
template<typename content >
|
inline |
Definition at line 78 of file trixelcache.h.
◆ operator=() [2/2]
template<typename content >
|
inline |
Definition at line 85 of file trixelcache.h.
◆ reset()
template<typename content >
|
inline |
resets the element to the empty state
Definition at line 93 of file trixelcache.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.