LibreOffice Module ucb (master) 1
|
#include <filinpstr.hxx>
Public Member Functions | |
XInputStream_impl (const OUString &aUncPath, bool bLock) | |
virtual | ~XInputStream_impl () override |
sal_Int32 | CtorSuccess () const |
Returns an error code as given by filerror.hxx. More... | |
sal_Int32 | getMinorError () const |
virtual sal_Int32 SAL_CALL | readBytes (css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nBytesToRead) override |
virtual sal_Int32 SAL_CALL | readSomeBytes (css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nMaxBytesToRead) override |
virtual void SAL_CALL | skipBytes (sal_Int32 nBytesToSkip) override |
virtual sal_Int32 SAL_CALL | available () override |
virtual void SAL_CALL | closeInput () override |
virtual void SAL_CALL | seek (sal_Int64 location) override |
virtual sal_Int64 SAL_CALL | getPosition () override |
virtual sal_Int64 SAL_CALL | getLength () override |
Private Attributes | |
bool | m_nIsOpen |
ReconnectingFile | m_aFile |
sal_Int32 | m_nErrorCode |
sal_Int32 | m_nMinorErrorCode |
Definition at line 32 of file filinpstr.hxx.
XInputStream_impl::XInputStream_impl | ( | const OUString & | aUncPath, |
bool | bLock | ||
) |
Definition at line 37 of file filinpstr.cxx.
References fileaccess::ReconnectingFile::close(), err, m_aFile, m_nErrorCode, m_nIsOpen, m_nMinorErrorCode, fileaccess::ReconnectingFile::open(), and TASKHANDLING_OPEN_FOR_INPUTSTREAM.
|
overridevirtual |
Definition at line 60 of file filinpstr.cxx.
References closeInput().
|
overridevirtual |
Definition at line 117 of file filinpstr.cxx.
References getLength(), getPosition(), and SAL_MAX_INT32.
|
overridevirtual |
Definition at line 125 of file filinpstr.cxx.
References fileaccess::ReconnectingFile::close(), err, m_aFile, m_nIsOpen, and THROW_WHERE.
Referenced by ~XInputStream_impl().
|
inline |
Returns an error code as given by filerror.hxx.
Definition at line 45 of file filinpstr.hxx.
References m_nErrorCode.
|
overridevirtual |
Definition at line 157 of file filinpstr.cxx.
References fileaccess::ReconnectingFile::getSize(), m_aFile, and THROW_WHERE.
Referenced by available().
|
inline |
Definition at line 46 of file filinpstr.hxx.
References m_nMinorErrorCode.
|
overridevirtual |
Definition at line 148 of file filinpstr.cxx.
References fileaccess::ReconnectingFile::getPos(), m_aFile, and THROW_WHERE.
Referenced by available().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 138 of file filinpstr.cxx.
References m_aFile, fileaccess::ReconnectingFile::setPos(), and THROW_WHERE.
|
overridevirtual |
Definition at line 110 of file filinpstr.cxx.
References m_aFile, and fileaccess::ReconnectingFile::setPos().
|
private |
Definition at line 80 of file filinpstr.hxx.
Referenced by closeInput(), getLength(), getPosition(), seek(), skipBytes(), and XInputStream_impl().
|
private |
Definition at line 82 of file filinpstr.hxx.
Referenced by CtorSuccess(), and XInputStream_impl().
|
private |
Definition at line 78 of file filinpstr.hxx.
Referenced by closeInput(), and XInputStream_impl().
|
private |
Definition at line 83 of file filinpstr.hxx.
Referenced by getMinorError(), and XInputStream_impl().