The Battle for Wesnoth  1.17.12+dev
Public Member Functions | Private Attributes | List of all members
image::cache_type< T > Class Template Reference

#include <picture.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 104 of file picture.cpp.

Constructor & Destructor Documentation

◆ cache_type()

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

Definition at line 107 of file picture.cpp.

Member Function Documentation

◆ flush()

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

Definition at line 119 of file picture.cpp.

◆ get_element()

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

Member Data Documentation

◆ content_

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

Definition at line 125 of file picture.cpp.

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