osgEarth 2.1.1
Public Member Functions | Private Attributes

osgEarth::LRUCache< K, T >::Record Struct Reference

List of all members.

Public Member Functions

 Record (const T *value)
const bool valid () const
const T & value () const

Private Attributes

bool _valid
const T * _value

Detailed Description

template<typename K, typename T>
struct osgEarth::LRUCache< K, T >::Record

Definition at line 73 of file Utils.


Constructor & Destructor Documentation

template<typename K, typename T>
osgEarth::LRUCache< K, T >::Record::Record ( const T *  value) [inline]

Definition at line 74 of file Utils.

: _value(value) { }

Member Function Documentation

template<typename K, typename T>
const bool osgEarth::LRUCache< K, T >::Record::valid ( ) const [inline]

Definition at line 75 of file Utils.

{ return _value != 0L; }
template<typename K, typename T>
const T& osgEarth::LRUCache< K, T >::Record::value ( ) const [inline]

Definition at line 76 of file Utils.

{ return *_value; }

Member Data Documentation

template<typename K, typename T>
bool osgEarth::LRUCache< K, T >::Record::_valid [private]

Definition at line 78 of file Utils.

template<typename K, typename T>
const T* osgEarth::LRUCache< K, T >::Record::_value [private]

Definition at line 79 of file Utils.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines