Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CDVDSubtitleStream Class Reference

#include <DVDSubtitleStream.h>

Public Member Functions

 CDVDSubtitleStream ()
 
virtual ~CDVDSubtitleStream ()
 
bool Open (const std::string &strFile)
 
bool IsIncompatible (CDVDInputStream *pInputStream, XUTILS::auto_buffer &buf, size_t *bytesRead)
 Checks if the subtitle associated with the pInputStream is known to be incompatible, e.g., vob sub files. More...
 
int Read (char *buf, int buf_size)
 
long Seek (long offset, int whence)
 
char * ReadLine (char *pBuffer, int iLen)
 

Public Attributes

std::stringstream m_stringstream
 

Constructor & Destructor Documentation

◆ CDVDSubtitleStream()

CDVDSubtitleStream::CDVDSubtitleStream ( )
default

◆ ~CDVDSubtitleStream()

CDVDSubtitleStream::~CDVDSubtitleStream ( )
virtualdefault

Member Function Documentation

◆ IsIncompatible()

bool CDVDSubtitleStream::IsIncompatible ( CDVDInputStream pInputStream,
XUTILS::auto_buffer buf,
size_t *  bytesRead 
)

Checks if the subtitle associated with the pInputStream is known to be incompatible, e.g., vob sub files.

Parameters
[in]pInputStreamThe input stream for the subtitle to check.

◆ Open()

bool CDVDSubtitleStream::Open ( const std::string &  strFile)

◆ Read()

int CDVDSubtitleStream::Read ( char *  buf,
int  buf_size 
)

◆ ReadLine()

char * CDVDSubtitleStream::ReadLine ( char *  pBuffer,
int  iLen 
)

◆ Seek()

long CDVDSubtitleStream::Seek ( long  offset,
int  whence 
)

Member Data Documentation

◆ m_stringstream

std::stringstream CDVDSubtitleStream::m_stringstream

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