#include <frame.hpp>
Public Member Functions | |
progressive_string (const std::string &data="", int duration=0) | |
int | duration () const |
const std::string & | get_current_element (int time) const |
bool | does_not_change () const |
std::string | get_original () const |
Private Attributes | |
std::vector< std::pair < std::string, int > > | data_ |
std::string | input_ |
progressive_string::progressive_string | ( | const std::string & | data = "" , |
int | duration = 0 |
||
) |
Definition at line 25 of file frame.cpp.
References data_, duration(), utils::split(), and utils::square_parenthetical_split().
|
inline |
Definition at line 33 of file frame.hpp.
References data_.
Referenced by frame_parsed_parameters::does_not_change(), and frame_parsed_parameters::need_update().
int progressive_string::duration | ( | ) | const |
const std::string & progressive_string::get_current_element | ( | int | time | ) | const |
Definition at line 121 of file frame.cpp.
References data_, and empty_string.
Referenced by frame_parsed_parameters::parameters().
|
inline |
Definition at line 34 of file frame.hpp.
References input_.
Referenced by frame_parsed_parameters::debug_strings(), and frame_parsed_parameters::override().
|
private |
Definition at line 36 of file frame.hpp.
Referenced by does_not_change(), duration(), get_current_element(), and progressive_string().
|
private |
Definition at line 37 of file frame.hpp.
Referenced by get_original().