API Documentation
Loading...
Searching...
No Matches
SubtitleFileReader Class Reference

#include <SubtitleFile.h>

Collaboration diagram for SubtitleFileReader:
[legend]

Public Member Functions

 SubtitleFileReader (const File &file)
 
void readText ()
 
String currentText (const TimeSpan &current) const
 

Protected Member Functions

TimeSpan convertFromString (const String &string)
 

Protected Attributes

Buffer< std::pair< Vector< 2, TimeSpan >, String > > m_subtitles
 
BufferedScanner m_scanner
 

Constructor & Destructor Documentation

◆ SubtitleFileReader()

SubtitleFileReader ( const File & file)
inline

Member Function Documentation

◆ convertFromString()

TimeSpan convertFromString ( const String & string)
inlineprotected

◆ currentText()

String currentText ( const TimeSpan & current) const
inline

◆ readText()

void readText ( )
inline

Member Data Documentation

◆ m_scanner

BufferedScanner m_scanner
protected

◆ m_subtitles

Buffer<std::pair<Vector<2, TimeSpan>, String> > m_subtitles
protected

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