The Battle for Wesnoth  1.15.0-dev
Public Member Functions | Private Attributes | List of all members
image::cache_type< T > Class Template 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>
class image::cache_type< T >

Definition at line 105 of file image.cpp.

Constructor & Destructor Documentation

◆ cache_type()

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

Definition at line 108 of file image.cpp.

Member Function Documentation

◆ flush()

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

Definition at line 120 of file image.cpp.

◆ get_element()

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

Member Data Documentation

◆ content_

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

Definition at line 126 of file image.cpp.


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