The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
progressive_< T > Class Template Reference

#include <frame.hpp>

Public Member Functions

 progressive_ (const std::string &data="", int duration=0)
 
int duration () const
 
const T get_current_element (int time, T default_val=0) const
 
bool does_not_change () const
 
std::string get_original () const
 

Private Attributes

std::vector< std::pair
< std::pair< T, T >, int > > 
data_
 
std::string input_
 

Detailed Description

template<class T>
class progressive_< T >

Definition at line 53 of file frame.hpp.

Constructor & Destructor Documentation

template<class T >
progressive_< T >::progressive_ ( const std::string data = "",
int  duration = 0 
)

Member Function Documentation

template<class T >
bool progressive_< T >::does_not_change ( ) const
template<class T >
int progressive_< T >::duration ( ) const

Definition at line 185 of file frame.cpp.

template<class T>
const T progressive_< T >::get_current_element ( int  time,
default_val = 0 
) const

Definition at line 158 of file frame.cpp.

Referenced by frame_parsed_parameters::parameters().

template<class T>
std::string progressive_< T >::get_original ( ) const
inline

Member Data Documentation

template<class T>
std::vector<std::pair<std::pair<T, T>, int> > progressive_< T >::data_
private

Definition at line 55 of file frame.hpp.

Referenced by progressive_< T >::progressive_().

template<class T>
std::string progressive_< T >::input_
private

Definition at line 56 of file frame.hpp.

Referenced by progressive_< int >::get_original().


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