LibreOffice Module sot (master) 1
Public Member Functions | List of all members
BaseStorageStream Class Referenceabstract

#include <stg.hxx>

Inheritance diagram for BaseStorageStream:
[legend]
Collaboration diagram for BaseStorageStream:
[legend]

Public Member Functions

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 &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

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
 

Detailed Description

Definition at line 57 of file stg.hxx.

Member Function Documentation

◆ Commit()

virtual bool BaseStorageStream::Commit ( )
pure virtual

◆ CopyTo()

virtual void BaseStorageStream::CopyTo ( BaseStorageStream pDestStm)
pure virtual

◆ Equals()

virtual bool BaseStorageStream::Equals ( const BaseStorageStream rStream) const
pure virtual

Implemented in StorageStream, and UCBStorageStream.

◆ Flush()

virtual void BaseStorageStream::Flush ( )
pure virtual

◆ GetSize()

virtual sal_uInt64 BaseStorageStream::GetSize ( ) const
pure virtual

Implemented in StorageStream, and UCBStorageStream.

Referenced by SotStorageStream::TellEnd().

◆ Read()

virtual sal_Int32 BaseStorageStream::Read ( void *  pData,
sal_Int32  nSize 
)
pure virtual

Implemented in StorageStream, and UCBStorageStream.

Referenced by SotStorageStream::GetData().

◆ Seek()

virtual sal_uInt64 BaseStorageStream::Seek ( sal_uInt64  nPos)
pure virtual

◆ SetSize()

virtual bool BaseStorageStream::SetSize ( sal_uInt64  nNewSize)
pure virtual

◆ Tell()

virtual sal_uInt64 BaseStorageStream::Tell ( )
pure virtual

Implemented in StorageStream, and UCBStorageStream.

Referenced by StgDirEntry::Copy().

◆ Write()

virtual sal_Int32 BaseStorageStream::Write ( const void *  pData,
sal_Int32  nSize 
)
pure virtual

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