24#include <rtl/ustring.hxx>
65 OUString
const & rPath,
66 OUString
const & rName,
134 rhs.m_hImpl =
nullptr;
152 rhs.m_hImpl =
nullptr;
161 OUString
const & rPath,
162 OUString
const & rName,
252 OUString
const & rFilename,
303 OUString
const & rPath, OUString
const & rName)
OStoreDirectory(OStoreDirectory const &rhs)
storeError next(iterator &it)
Find next directory entry.
storeFindData iterator
Directory iterator type.
storeDirectoryHandle m_hImpl
storeError create(storeFileHandle hFile, OUString const &rPath, OUString const &rName, storeAccessMode eMode)
Open the directory.
OStoreDirectory(OStoreDirectory &&rhs) noexcept
storeError first(iterator &it)
Find first directory entry.
OStoreDirectory & operator=(OStoreDirectory const &rhs)
storeError createInMemory()
Open the temporary file in memory.
storeError flush() const
Flush the file.
storeError create(OUString const &rFilename, storeAccessMode eAccessMode)
Open the file.
storeError remove(OUString const &rPath, OUString const &rName)
Remove a file entry.
void close()
Close the file.
OStoreFile(OStoreFile const &rhs)
OStoreFile & operator=(OStoreFile const &rhs)
bool isValid() const
Check for a valid File Handle.
OStoreStream(OStoreStream const &rhs)
OStoreStream & operator=(OStoreStream const &rhs)
storeStreamHandle m_hImpl
storeError writeAt(sal_uInt32 nOffset, void const *pBuffer, sal_uInt32 nBytes, sal_uInt32 &rnDone)
Write to the stream.
storeError readAt(sal_uInt32 nOffset, void *pBuffer, sal_uInt32 nBytes, sal_uInt32 &rnDone)
Read from the stream.
storeError create(storeFileHandle hFile, OUString const &rPath, OUString const &rName, storeAccessMode eMode)
Open the stream.
Old OStorePageCache implementation.
storeError store_remove(storeFileHandle Handle, rtl_uString const *pPath, rtl_uString const *pName) SAL_THROW_EXTERN_C()
Remove a file entry.
storeError store_acquireHandle(storeHandle Handle) SAL_THROW_EXTERN_C()
Acquire a Handle.
storeError store_findFirst(storeDirectoryHandle Handle, storeFindData *pFindData) SAL_THROW_EXTERN_C()
Find first directory entry.
storeError store_releaseHandle(storeHandle Handle) SAL_THROW_EXTERN_C()
Release a Handle.
storeError store_readStream(storeStreamHandle Handle, sal_uInt32 nOffset, void *pBuffer, sal_uInt32 nBytes, sal_uInt32 *pnDone) SAL_THROW_EXTERN_C()
Read from a stream.
storeError store_openStream(storeFileHandle hFile, rtl_uString const *pPath, rtl_uString const *pName, storeAccessMode eAccessMode, storeStreamHandle *phStream) SAL_THROW_EXTERN_C()
Open a stream.
storeError store_findNext(storeDirectoryHandle Handle, storeFindData *pFindData) SAL_THROW_EXTERN_C()
Find next directory entry.
storeError store_openDirectory(storeFileHandle hFile, rtl_uString const *pPath, rtl_uString const *pName, storeAccessMode eAccessMode, storeDirectoryHandle *phDirectory) SAL_THROW_EXTERN_C()
Open a directory.
storeError store_flushFile(storeFileHandle Handle) SAL_THROW_EXTERN_C()
Flush a file.
storeError store_createMemoryFile(sal_uInt16 nPageSize, storeFileHandle *phFile) SAL_THROW_EXTERN_C()
Open a temporary file in memory.
storeError store_closeFile(storeFileHandle Handle) SAL_THROW_EXTERN_C()
Close a file.
storeError store_writeStream(storeStreamHandle Handle, sal_uInt32 nOffset, const void *pBuffer, sal_uInt32 nBytes, sal_uInt32 *pnDone) SAL_THROW_EXTERN_C()
Write to a stream.
storeError store_openFile(rtl_uString *pFilename, storeAccessMode eAccessMode, sal_uInt16 nPageSize, storeFileHandle *phFile) SAL_THROW_EXTERN_C()
Open a file.
void * storeStreamHandle
Stream Handle opaque type.
void * storeDirectoryHandle
Directory Handle opaque type.
void * storeFileHandle
File Handle opaque type.
storeAccessMode
Access Mode enumeration.
storeError
Error Code enumeration.
constexpr sal_uInt16 STORE_DEFAULT_PAGESIZE
PageSize (recommended) default.