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.

◆ operator=() [1/2]

template<typename content >
element & TrixelCache< content >::element::operator= ( const content & rhs)
inline

Definition at line 78 of file trixelcache.h.

◆ operator=() [2/2]

template<typename content >
element & TrixelCache< content >::element::operator= ( content && rhs)
inline

Definition at line 85 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-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.