Public Member Functions | Private Attributes

image::cache_type< T > Class Template Reference

Collaboration diagram for image::cache_type< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 cache_type ()
cache_item< T > & get_element (int index)
void flush ()

Private Attributes

std::vector< cache_item< T > > content_

Detailed Description

template<typename T>
class image::cache_type< T >

Definition at line 66 of file image.cpp.


Constructor & Destructor Documentation

template<typename T>
image::cache_type< T >::cache_type (  )  [inline]

Definition at line 69 of file image.cpp.


Member Function Documentation

template<typename T>
void image::cache_type< T >::flush (  )  [inline]

Definition at line 78 of file image.cpp.

References image::cache_type< T >::content_.

template<typename T>
cache_item<T>& image::cache_type< T >::get_element ( int  index  )  [inline]

Definition at line 72 of file image.cpp.

References image::cache_type< T >::content_.

Referenced by image::locator::access_in_cache(), image::locator::add_to_cache(), image::locator::in_cache(), and image::locator::locate_in_cache().

Here is the caller graph for this function:


Member Data Documentation

template<typename T>
std::vector<cache_item<T> > image::cache_type< T >::content_ [private]

Definition at line 81 of file image.cpp.

Referenced by image::cache_type< T >::flush(), and image::cache_type< T >::get_element().


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

Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:36 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs