LibreOffice Module store (master) 1
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
store::OStoreDirectory_Impl Class Reference

#include <stordir.hxx>

Inheritance diagram for store::OStoreDirectory_Impl:
[legend]
Collaboration diagram for store::OStoreDirectory_Impl:
[legend]

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< inodeinode_holder_type
 

Private Member Functions

 OStoreDirectory_Impl (const OStoreDirectory_Impl &)=delete
 
OStoreDirectory_Imploperator= (const OStoreDirectory_Impl &)=delete
 

Private Attributes

rtl::Reference< OStorePageManagerm_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
 

Detailed Description

Definition at line 37 of file stordir.hxx.

Member Typedef Documentation

◆ inode

Definition at line 78 of file stordir.hxx.

◆ inode_holder_type

Definition at line 79 of file stordir.hxx.

Constructor & Destructor Documentation

◆ OStoreDirectory_Impl() [1/2]

OStoreDirectory_Impl::OStoreDirectory_Impl ( )

Definition at line 55 of file stordir.cxx.

◆ ~OStoreDirectory_Impl()

OStoreDirectory_Impl::~OStoreDirectory_Impl ( )
overrideprotectedvirtual

◆ OStoreDirectory_Impl() [2/2]

store::OStoreDirectory_Impl::OStoreDirectory_Impl ( const OStoreDirectory_Impl )
privatedelete

Member Function Documentation

◆ create()

storeError OStoreDirectory_Impl::create ( OStorePageManager pManager,
rtl_String const *  pPath,
rtl_String const *  pName,
storeAccessMode  eAccessMode 
)

create (two-phase construction).

Parameters
pManager[in]
pPath[in]
pName[in]
eAccessMode[in]
Returns
store_E_None upon success.

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.

◆ isKindOf()

bool OStoreDirectory_Impl::isKindOf ( sal_uInt32  nTypeId)
overridevirtual

Replaces dynamic_cast type checking.

Reimplemented from store::OStoreObject.

Definition at line 71 of file stordir.cxx.

References m_nTypeId.

◆ iterate()

storeError OStoreDirectory_Impl::iterate ( storeFindData rFindData)

◆ operator=()

OStoreDirectory_Impl & store::OStoreDirectory_Impl::operator= ( const OStoreDirectory_Impl )
privatedelete

Friends And Related Function Documentation

◆ query

OStoreDirectory_Impl *SAL_CALL query ( OStoreObject pHandle,
OStoreDirectory_Impl  
)
friend

IStoreHandle query() template function specialization.

Member Data Documentation

◆ m_aDescr

OStorePageDescriptor store::OStoreDirectory_Impl::m_aDescr
private

Definition at line 83 of file stordir.hxx.

Referenced by create(), and ~OStoreDirectory_Impl().

◆ m_hTextCvt

rtl_TextToUnicodeConverter store::OStoreDirectory_Impl::m_hTextCvt
private

Definition at line 85 of file stordir.hxx.

Referenced by iterate(), and ~OStoreDirectory_Impl().

◆ m_nPath

sal_uInt32 store::OStoreDirectory_Impl::m_nPath
private

Definition at line 84 of file stordir.hxx.

Referenced by create(), and iterate().

◆ m_nTypeId

const sal_uInt32 OStoreDirectory_Impl::m_nTypeId
staticprivate

IStoreHandle TypeId.

Definition at line 71 of file stordir.hxx.

Referenced by isKindOf(), and store::query().

◆ m_xManager

rtl::Reference<OStorePageManager> store::OStoreDirectory_Impl::m_xManager
private

Definition at line 81 of file stordir.hxx.

Referenced by create(), iterate(), and ~OStoreDirectory_Impl().


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