LibreOffice Module sot (master) 1
|
#include <stg.hxx>
Public Member Functions | |
UCBStorageStream (const OUString &rName, StreamMode nMode, bool bDirect, bool bRepair, css::uno::Reference< css::ucb::XProgressHandler > const &xProgress) | |
UCBStorageStream (UCBStorageStream_Impl *) | |
virtual sal_Int32 | Read (void *pData, sal_Int32 nSize) override |
virtual sal_Int32 | Write (const void *pData, sal_Int32 nSize) override |
virtual sal_uInt64 | Seek (sal_uInt64 nPos) override |
virtual sal_uInt64 | Tell () override |
virtual void | Flush () override |
virtual bool | SetSize (sal_uInt64 nNewSize) override |
virtual sal_uInt64 | GetSize () const override |
virtual void | CopyTo (BaseStorageStream *pDestStm) override |
virtual bool | Commit () override |
virtual bool | Validate (bool=false) const override |
virtual bool | ValidateMode (StreamMode) const override |
virtual bool | Equals (const BaseStorageStream &rStream) const override |
bool | SetProperty (const OUString &rName, const css::uno::Any &rValue) |
SvStream * | GetModifySvStream () |
virtual sal_Int32 | Read (void *pData, sal_Int32 nSize)=0 |
virtual sal_Int32 | Write (const void *pData, sal_Int32 nSize)=0 |
virtual sal_uInt64 | Seek (sal_uInt64 nPos)=0 |
virtual sal_uInt64 | Tell ()=0 |
virtual void | Flush ()=0 |
virtual bool | SetSize (sal_uInt64 nNewSize)=0 |
virtual sal_uInt64 | GetSize () const =0 |
virtual void | CopyTo (BaseStorageStream *pDestStm)=0 |
virtual bool | Commit ()=0 |
virtual bool | Equals (const BaseStorageStream &rStream) const =0 |
Public Member Functions inherited from StorageBase | |
virtual bool | Validate (bool=false) const =0 |
virtual bool | ValidateMode (StreamMode) const =0 |
void | ResetError () const |
void | SetError (ErrCode) const |
ErrCode | GetError () const |
bool | Good () const |
StreamMode | GetMode () const |
void | SetAutoCommit (bool bSet) |
Public Member Functions inherited from SvRefBase | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Private Member Functions | |
virtual | ~UCBStorageStream () override |
Private Attributes | |
UCBStorageStream_Impl * | pImp |
Friends | |
class | UCBStorage |
Additional Inherited Members | |
Protected Member Functions inherited from StorageBase | |
StorageBase () | |
virtual | ~StorageBase () override |
Protected Member Functions inherited from SvRefBase | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from StorageBase | |
ErrCode | m_nError |
StreamMode | m_nMode |
bool | m_bAutoCommit |
|
overrideprivatevirtual |
Definition at line 1215 of file ucbstorage.cxx.
References SvStream::Flush(), UCBStorageStream_Impl::Free(), UCBStorageStream_Impl::m_nMode, UCBStorageStream_Impl::m_pAntiImpl, pImp, and SvRefBase::ReleaseRef().
UCBStorageStream::UCBStorageStream | ( | const OUString & | rName, |
StreamMode | nMode, | ||
bool | bDirect, | ||
bool | bRepair, | ||
css::uno::Reference< css::ucb::XProgressHandler > const & | xProgress | ||
) |
UCBStorageStream::UCBStorageStream | ( | UCBStorageStream_Impl * | pImpl | ) |
Definition at line 1206 of file ucbstorage.cxx.
References SvRefBase::AddFirstRef(), UCBStorageStream_Impl::m_nError, StorageBase::m_nMode, UCBStorageStream_Impl::m_nMode, UCBStorageStream_Impl::m_pAntiImpl, pImp, and StorageBase::SetError().
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1300 of file ucbstorage.cxx.
References UCBStorageStream_Impl::FlushData(), and pImp.
Referenced by Flush().
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1307 of file ucbstorage.cxx.
References UCBStorageStream_Impl::Init(), UCBStorageStream_Impl::m_aContentType, n, p, pImp, Read(), Seek(), BaseStorageStream::Seek(), BaseStorageStream::SetSize(), STREAM_SEEK_TO_END, Tell(), and BaseStorageStream::Write().
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1294 of file ucbstorage.cxx.
|
overridevirtual |
SvStream * UCBStorageStream::GetModifySvStream | ( | ) |
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1368 of file ucbstorage.cxx.
References UCBStorageStream_Impl::GetSize(), and pImp.
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1224 of file ucbstorage.cxx.
References UCBStorageStream_Impl::GetData(), pData, and pImp.
Referenced by CopyTo().
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1235 of file ucbstorage.cxx.
References nPos, pImp, and SvStream::Seek().
Referenced by CopyTo().
bool UCBStorageStream::SetProperty | ( | const OUString & | rName, |
const css::uno::Any & | rValue | ||
) |
Definition at line 1341 of file ucbstorage.cxx.
References Exception, UCBStorageStream_Impl::m_aContentType, UCBStorageStream_Impl::m_pContent, pImp, and ucbhelper::Content::setPropertyValue().
Referenced by SotStorageStream::SetProperty().
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1254 of file ucbstorage.cxx.
References SvStream::GetError(), pImp, and UCBStorageStream_Impl::SetSize().
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1241 of file ucbstorage.cxx.
References UCBStorageStream_Impl::Init(), UCBStorageStream_Impl::m_pStream, and pImp.
Referenced by CopyTo().
|
overridevirtual |
Implements StorageBase.
Definition at line 1260 of file ucbstorage.cxx.
References UCBStorageStream_Impl::m_nMode, and pImp.
|
overridevirtual |
|
overridevirtual |
Implements BaseStorageStream.
Definition at line 1230 of file ucbstorage.cxx.
References pData, pImp, and UCBStorageStream_Impl::PutData().
|
friend |
|
private |
Definition at line 209 of file stg.hxx.
Referenced by Commit(), CopyTo(), GetModifySvStream(), GetSize(), UCBStorage::OpenStorage_Impl(), UCBStorage::OpenStream(), Read(), Seek(), SetProperty(), SetSize(), Tell(), UCBStorageStream(), Validate(), Write(), and ~UCBStorageStream().