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

#include <SubtitleFile.h>

Collaboration diagram for SubtitleFileWriter:
[legend]

Public Member Functions

 SubtitleFileWriter (const File &file)
 
void setCurrentTime (TimeSpan span)
 
void addSubtitle (const String &text)
 
void writeText ()
 
void finish (File file)
 

Protected Attributes

File m_file
 
String m_last_text
 
TimeSpan m_last_subtitle_start
 
TimeSpan m_current_time
 
uint04 m_text_index = 0
 

Constructor & Destructor Documentation

◆ SubtitleFileWriter()

SubtitleFileWriter ( const File & file)
inline

Member Function Documentation

◆ addSubtitle()

void addSubtitle ( const String & text)
inline

◆ finish()

void finish ( File file)
inline

◆ setCurrentTime()

void setCurrentTime ( TimeSpan span)
inline

◆ writeText()

void writeText ( )
inline

Member Data Documentation

◆ m_current_time

TimeSpan m_current_time
protected

◆ m_file

File m_file
protected

◆ m_last_subtitle_start

TimeSpan m_last_subtitle_start
protected

◆ m_last_text

String m_last_text
protected

◆ m_text_index

uint04 m_text_index = 0
protected

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