The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
image::cache_type< T > Singleton Reference

#include <image.hpp>

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>
singleton image::cache_type< T >

Definition at line 112 of file image.cpp.

Constructor & Destructor Documentation

template<typename T>
image::cache_type< T >::cache_type ( )

Definition at line 115 of file image.cpp.

Member Function Documentation

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

Definition at line 127 of file image.cpp.

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

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

Member Data Documentation

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

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