CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lru::LruCache< Key, Value >::ListEntryContent< T > Class Template Reference
Inheritance diagram for lru::LruCache< Key, Value >::ListEntryContent< T >:
Collaboration diagram for lru::LruCache< Key, Value >::ListEntryContent< T >:

Public Member Functions

 ListEntryContent (T content)
 
bool IsListHead () const
 
content () const
 
void RemoveFromList ()
 
- Public Member Functions inherited from lru::LruCache< Key, Value >::ListEntry< T >
 ListEntry ()
 
 ListEntry (const ListEntry< T > &other)
 
virtual ~ListEntry ()
 
bool IsLonely () const
 

Private Attributes

content_
 

Additional Inherited Members

- Public Attributes inherited from lru::LruCache< Key, Value >::ListEntry< T >
ListEntry< T > * next
 
ListEntry< T > * prev
 
- Protected Member Functions inherited from lru::LruCache< Key, Value >::ListEntry< T >
void InsertAsSuccessor (ListEntryContent< T > *entry)
 
void InsertAsPredecessor (ListEntryContent< T > *entry)
 

Detailed Description

template<class Key, class Value>
template<class T>
class lru::LruCache< Key, Value >::ListEntryContent< T >

Specialized ListEntry to contain a data entry of type T

Definition at line 111 of file lru.h.

Constructor & Destructor Documentation

template<class Key, class Value>
template<class T>
lru::LruCache< Key, Value >::ListEntryContent< T >::ListEntryContent ( content)
inlineexplicit

Definition at line 381 of file lru.h.

Member Function Documentation

template<class Key, class Value>
template<class T>
T lru::LruCache< Key, Value >::ListEntryContent< T >::content ( ) const
inline

Definition at line 386 of file lru.h.

Referenced by lru::LruCache< Key, Value >::ListEntryContent< Key >::ListEntryContent().

Here is the caller graph for this function:

template<class Key, class Value>
template<class T>
bool lru::LruCache< Key, Value >::ListEntryContent< T >::IsListHead ( ) const
inlinevirtual

Checks if the ListEntry is the list head

Returns
true if ListEntry is list head otherwise false

Implements lru::LruCache< Key, Value >::ListEntry< T >.

Definition at line 385 of file lru.h.

Referenced by lru::LruCache< Key, Value >::ListEntry< fuse_ino_t >::InsertAsPredecessor().

Here is the caller graph for this function:

template<class Key, class Value>
template<class T>
void lru::LruCache< Key, Value >::ListEntryContent< T >::RemoveFromList ( )
inlinevirtual

See ListEntry base class.

Implements lru::LruCache< Key, Value >::ListEntry< T >.

Definition at line 391 of file lru.h.

Member Data Documentation

template<class Key, class Value>
template<class T>
T lru::LruCache< Key, Value >::ListEntryContent< T >::content_
private

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