LibreOffice Module store (master) 1
Public Member Functions | Private Attributes | List of all members
store::OStoreStream Class Reference

#include <store.hxx>

Public Member Functions

 OStoreStream ()
 
 ~OStoreStream ()
 
 OStoreStream (OStoreStream const &rhs)
 
OStoreStreamoperator= (OStoreStream const &rhs)
 
storeError create (storeFileHandle hFile, OUString const &rPath, OUString const &rName, storeAccessMode eMode)
 Open the stream. More...
 
storeError readAt (sal_uInt32 nOffset, void *pBuffer, sal_uInt32 nBytes, sal_uInt32 &rnDone)
 Read from the stream. More...
 
storeError writeAt (sal_uInt32 nOffset, void const *pBuffer, sal_uInt32 nBytes, sal_uInt32 &rnDone)
 Write to the stream. More...
 

Private Attributes

storeStreamHandle m_hImpl
 

Detailed Description

Definition at line 30 of file store.hxx.

Constructor & Destructor Documentation

◆ OStoreStream() [1/2]

store::OStoreStream::OStoreStream ( )
inline

Definition at line 33 of file store.hxx.

◆ ~OStoreStream()

store::OStoreStream::~OStoreStream ( )
inline

Definition at line 37 of file store.hxx.

References m_hImpl, and store_releaseHandle().

◆ OStoreStream() [2/2]

store::OStoreStream::OStoreStream ( OStoreStream const &  rhs)
inline

Definition at line 43 of file store.hxx.

References m_hImpl, and store_acquireHandle().

Member Function Documentation

◆ create()

storeError store::OStoreStream::create ( storeFileHandle  hFile,
OUString const &  rPath,
OUString const &  rName,
storeAccessMode  eMode 
)
inline

Open the stream.

See also
store_openStream()

Definition at line 63 of file store.hxx.

References eMode, m_hImpl, store_openStream(), and store_releaseHandle().

◆ operator=()

OStoreStream & store::OStoreStream::operator= ( OStoreStream const &  rhs)
inline

Definition at line 50 of file store.hxx.

References m_hImpl, store_acquireHandle(), and store_releaseHandle().

◆ readAt()

storeError store::OStoreStream::readAt ( sal_uInt32  nOffset,
void *  pBuffer,
sal_uInt32  nBytes,
sal_uInt32 &  rnDone 
)
inline

Read from the stream.

See also
store_readStream()

Definition at line 80 of file store.hxx.

References m_hImpl, store_E_InvalidHandle, and store_readStream().

◆ writeAt()

storeError store::OStoreStream::writeAt ( sal_uInt32  nOffset,
void const *  pBuffer,
sal_uInt32  nBytes,
sal_uInt32 &  rnDone 
)
inline

Write to the stream.

See also
store_writeStream()

Definition at line 95 of file store.hxx.

References m_hImpl, store_E_InvalidHandle, and store_writeStream().

Member Data Documentation

◆ m_hImpl

storeStreamHandle store::OStoreStream::m_hImpl
private

Definition at line 108 of file store.hxx.

Referenced by create(), operator=(), OStoreStream(), readAt(), writeAt(), and ~OStoreStream().


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