TrixelCache::element

Search for usage in LXR

TrixelCache< content >::element Class Reference

#include <trixelcache.h>

Public Member Functions

content & data ()
 
bool is_set ()
 
elementoperator= (const content &rhs)
 
elementoperator= (content &&rhs)
 
void reset ()
 

Detailed Description

template<typename content>
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 >
content& TrixelCache< content >::element::data ( )
inline
Returns
the data held by element

Definition at line 76 of file trixelcache.h.

◆ is_set()

template<typename content >
bool TrixelCache< content >::element::is_set ( )
inline
Returns
wether the element contains a cached object

Definition at line 73 of file trixelcache.h.

◆ reset()

template<typename content >
void TrixelCache< content >::element::reset ( )
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-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:01:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.