3#include <NDEVR/TimeSpan.h>
4#include <NDEVR/BufferedScanner.h>
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Implentation of Scanner, however all data is cached. Faster, but consumes.
Definition BufferedScanner.h:42
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
The core String class for the NDEVR API.
Definition String.h:69
Class which can be used to read a subtitle file and return the subtitle that should be played at a sp...
Definition SubtitleFile.h:31
String currentText(const TimeSpan ¤t) const
SubtitleFileReader(const File &file)
Buffer< std::pair< Vector< 2, TimeSpan >, String > > m_subtitles
Definition SubtitleFile.h:39
TimeSpan convertFromString(const String &string)
BufferedScanner m_scanner
Definition SubtitleFile.h:40
Class which can be used to write a subtitle in real time to a file, which can be played back alongsid...
Definition SubtitleFile.h:12
TimeSpan m_current_time
Definition SubtitleFile.h:23
String m_last_text
Definition SubtitleFile.h:21
TimeSpan m_last_subtitle_start
Definition SubtitleFile.h:22
void setCurrentTime(TimeSpan span)
void addSubtitle(const String &text)
SubtitleFileWriter(const File &file)
File m_file
Definition SubtitleFile.h:20
Stores a time span, or difference between two times, with an optional start time.
Definition TimeSpan.h:46
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96