LibreOffice Module store (master) 1
|
#include <stordir.hxx>
Public Member Functions | |
OStoreDirectory_Impl () | |
storeError | create (OStorePageManager *pManager, rtl_String const *pPath, rtl_String const *pName, storeAccessMode eAccessMode) |
create (two-phase construction). More... | |
storeError | iterate (storeFindData &rFindData) |
iterate. More... | |
virtual bool | isKindOf (sal_uInt32 nTypeId) override |
Replaces dynamic_cast type checking. More... | |
Public Member Functions inherited from store::OStoreObject | |
OStoreObject () | |
virtual bool | isKindOf (sal_uInt32 nTypeId) |
Replaces dynamic_cast type checking. More... | |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
virtual | ~OStoreDirectory_Impl () override |
Protected Member Functions inherited from store::OStoreObject | |
virtual | ~OStoreObject () override |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Types | |
typedef OStoreDirectoryPageData | inode |
typedef PageHolderObject< inode > | inode_holder_type |
Private Member Functions | |
OStoreDirectory_Impl (const OStoreDirectory_Impl &)=delete | |
OStoreDirectory_Impl & | operator= (const OStoreDirectory_Impl &)=delete |
Private Attributes | |
rtl::Reference< OStorePageManager > | m_xManager |
OStorePageDescriptor | m_aDescr |
sal_uInt32 | m_nPath |
rtl_TextToUnicodeConverter | m_hTextCvt |
Static Private Attributes | |
static const sal_uInt32 | m_nTypeId |
IStoreHandle TypeId. More... | |
Friends | |
OStoreDirectory_Impl *SAL_CALL | query (OStoreObject *pHandle, OStoreDirectory_Impl *) |
IStoreHandle query() template function specialization. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 37 of file stordir.hxx.
|
private |
Definition at line 78 of file stordir.hxx.
|
private |
Definition at line 79 of file stordir.hxx.
OStoreDirectory_Impl::OStoreDirectory_Impl | ( | ) |
Definition at line 55 of file stordir.cxx.
|
overrideprotectedvirtual |
Definition at line 61 of file stordir.cxx.
References m_aDescr, m_hTextCvt, store::OStorePageDescriptor::m_nAddr, m_xManager, and STORE_PAGE_NULL.
|
privatedelete |
storeError OStoreDirectory_Impl::create | ( | OStorePageManager * | pManager, |
rtl_String const * | pPath, | ||
rtl_String const * | pName, | ||
storeAccessMode | eAccessMode | ||
) |
create (two-phase construction).
pManager | [in] |
pPath | [in] |
pName | [in] |
eAccessMode | [in] |
Definition at line 76 of file stordir.cxx.
References store::OStoreDirectoryPageObject::attrib(), eMode, store::OStorePageObject::get(), store::PageData::m_aDescr, m_aDescr, m_nPath, m_xManager, store::OStoreDirectoryPageObject::path(), pName, ReadOnly, STORE_ATTRIB_ISDIR, store_E_InvalidAccess, store_E_InvalidParameter, store_E_None, and store_E_NotDirectory.
|
overridevirtual |
Replaces dynamic_cast type checking.
Reimplemented from store::OStoreObject.
Definition at line 71 of file stordir.cxx.
References m_nTypeId.
storeError OStoreDirectory_Impl::iterate | ( | storeFindData & | rFindData | ) |
iterate.
rFindData | [out] |
Definition at line 115 of file stordir.cxx.
References store::OStoreDirectoryPageObject::attrib(), convertTextToUnicode(), store::OStorePageObject::get(), store::htonl(), store::OStorePageLink::location(), store::OStoreDirectoryPageData::m_aNameBlock, m_hTextCvt, storeFindData::m_nAttrib, store::OStorePageKey::m_nHigh, storeFindData::m_nLength, store::OStorePageKey::m_nLow, m_nPath, storeFindData::m_nReserved, store::OStorePageNameBlock::m_pData, storeFindData::m_pszName, m_xManager, n, store::ntohl(), p, STORE_ATTRIB_ISLINK, store_E_InvalidAccess, store_E_NoMoreFiles, store_E_None, and STORE_MAXIMUM_NAMESIZE.
|
privatedelete |
|
friend |
IStoreHandle query() template function specialization.
|
private |
Definition at line 83 of file stordir.hxx.
Referenced by create(), and ~OStoreDirectory_Impl().
|
private |
Definition at line 85 of file stordir.hxx.
Referenced by iterate(), and ~OStoreDirectory_Impl().
|
private |
Definition at line 84 of file stordir.hxx.
|
staticprivate |
IStoreHandle TypeId.
Definition at line 71 of file stordir.hxx.
Referenced by isKindOf(), and store::query().
|
private |
Definition at line 81 of file stordir.hxx.
Referenced by create(), iterate(), and ~OStoreDirectory_Impl().