MythTV  master
Public Member Functions | Private Attributes | List of all members
RemoteFileWrapper Class Reference
Collaboration diagram for RemoteFileWrapper:
Collaboration graph
[legend]

Public Member Functions

 RemoteFileWrapper (const QString &filename)
 
 ~RemoteFileWrapper ()
 
 RemoteFileWrapper (const RemoteFileWrapper &)=delete
 
RemoteFileWrapperoperator= (const RemoteFileWrapper &)=delete
 
bool isOpen (void) const
 
long long GetFileSize (void) const
 
int Read (void *data, int size)
 

Private Attributes

bool m_isRemote
 
RemoteFilem_remoteFile
 
QFile * m_localFile
 

Detailed Description

Definition at line 85 of file textsubtitleparser.cpp.

Constructor & Destructor Documentation

◆ RemoteFileWrapper() [1/2]

RemoteFileWrapper::RemoteFileWrapper ( const QString &  filename)
inlineexplicit

Definition at line 88 of file textsubtitleparser.cpp.

◆ ~RemoteFileWrapper()

RemoteFileWrapper::~RemoteFileWrapper ( )
inline

Definition at line 110 of file textsubtitleparser.cpp.

◆ RemoteFileWrapper() [2/2]

RemoteFileWrapper::RemoteFileWrapper ( const RemoteFileWrapper )
delete

Member Function Documentation

◆ operator=()

RemoteFileWrapper& RemoteFileWrapper::operator= ( const RemoteFileWrapper )
delete

◆ isOpen()

bool RemoteFileWrapper::isOpen ( void  ) const
inline

Definition at line 118 of file textsubtitleparser.cpp.

Referenced by TextSubtitleParser::LoadSubtitles().

◆ GetFileSize()

long long RemoteFileWrapper::GetFileSize ( void  ) const
inline

Definition at line 123 of file textsubtitleparser.cpp.

Referenced by TextSubtitleParser::LoadSubtitles().

◆ Read()

int RemoteFileWrapper::Read ( void *  data,
int  size 
)
inline

Definition at line 130 of file textsubtitleparser.cpp.

Referenced by TextSubtitleParser::LoadSubtitles().

Member Data Documentation

◆ m_isRemote

bool RemoteFileWrapper::m_isRemote
private

Definition at line 141 of file textsubtitleparser.cpp.

Referenced by GetFileSize(), isOpen(), Read(), and RemoteFileWrapper().

◆ m_remoteFile

RemoteFile* RemoteFileWrapper::m_remoteFile
private

◆ m_localFile

QFile* RemoteFileWrapper::m_localFile
private

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