The Battle for Wesnoth  1.17.0-dev
Public Member Functions | Private Types | List of all members
progressive_pair< T > Class Template Reference

#include <frame_private.hpp>

Inheritance diagram for progressive_pair< T >:

Public Member Functions

 progressive_pair (const std::string &input="", int duration=0)
virtual const T get_current_element (int current_time, T default_val=T()) const override
bool does_not_change () const override
- Public Member Functions inherited from progressive_base< T, std::pair< T, T > >
 progressive_base (const std::string &input)
int duration () const
std::string get_original () const
data_tdata ()
const data_tdata () const
virtual ~progressive_base ()

Private Types

using progressive_pair_base_type = progressive_base< T, std::pair< T, T > >

Additional Inherited Members

- Public Types inherited from progressive_base< T, std::pair< T, T > >
using data_t = std::vector< std::pair< std::pair< T, T >, int > >

Detailed Description

template<typename T>
class progressive_pair< T >

Definition at line 76 of file frame_private.hpp.

Member Typedef Documentation

◆ progressive_pair_base_type

template<typename T>
using progressive_pair< T >::progressive_pair_base_type = progressive_base<T, std::pair<T, T> >

Definition at line 148 of file frame_private.hpp.

Constructor & Destructor Documentation

◆ progressive_pair()

template<typename T>
progressive_pair< T >::progressive_pair ( const std::string &  input = "",
int  duration = 0 

Definition at line 79 of file frame_private.hpp.

Member Function Documentation

◆ does_not_change()

template<typename T>
bool progressive_pair< T >::does_not_change ( ) const

Reimplemented from progressive_base< T, std::pair< T, T > >.

Definition at line 141 of file frame_private.hpp.

Referenced by frame_parsed_parameters::does_not_change().

◆ get_current_element()

template<typename T>
virtual const T progressive_pair< T >::get_current_element ( int  current_time,
default_val = T() 
) const

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