LibreOffice Module store (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
store::PageData::Allocator_Impl Class Reference
Inheritance diagram for store::PageData::Allocator_Impl:
[legend]
Collaboration diagram for store::PageData::Allocator_Impl:
[legend]

Public Member Functions

 Allocator_Impl ()
 Construction (two phase). More...
 
 Allocator_Impl (const Allocator_Impl &)=delete
 
Allocator_Imploperator= (const Allocator_Impl &)=delete
 
storeError initialize (sal_uInt16 nPageSize)
 
- 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 ()
 
- Public Member Functions inherited from store::PageData::Allocator
template<class T >
T * construct ()
 
bool allocate (void **ppPage, sal_uInt16 *pnSize)
 
void deallocate (void *pPage)
 

Protected Member Functions

virtual ~Allocator_Impl () override
 
- Protected Member Functions inherited from store::OStoreObject
virtual ~OStoreObject () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Member Functions inherited from store::PageData::Allocator
virtual ~Allocator () override
 

Private Member Functions

virtual void allocate_Impl (void **ppPage, sal_uInt16 *pnSize) override
 PageData::Allocator implementation. More...
 
virtual void deallocate_Impl (void *pPage) override
 

Private Attributes

rtl_cache_type * m_page_cache
 
sal_uInt16 m_page_size
 

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)
 
- Static Public Member Functions inherited from store::PageData::Allocator
static storeError createInstance (rtl::Reference< PageData::Allocator > &rxAllocator, sal_uInt16 nPageSize)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 39 of file storbase.cxx.

Constructor & Destructor Documentation

◆ Allocator_Impl() [1/2]

PageData::Allocator_Impl::Allocator_Impl ( )

Construction (two phase).

Definition at line 68 of file storbase.cxx.

◆ Allocator_Impl() [2/2]

store::PageData::Allocator_Impl::Allocator_Impl ( const Allocator_Impl )
delete

◆ ~Allocator_Impl()

PageData::Allocator_Impl::~Allocator_Impl ( )
overrideprotectedvirtual

Definition at line 87 of file storbase.cxx.

Member Function Documentation

◆ allocate_Impl()

void PageData::Allocator_Impl::allocate_Impl ( void **  ppPage,
sal_uInt16 *  pnSize 
)
overrideprivatevirtual

PageData::Allocator implementation.

Implements store::PageData::Allocator.

Definition at line 93 of file storbase.cxx.

◆ deallocate_Impl()

void PageData::Allocator_Impl::deallocate_Impl ( void *  pPage)
overrideprivatevirtual

Implements store::PageData::Allocator.

Definition at line 103 of file storbase.cxx.

◆ initialize()

storeError PageData::Allocator_Impl::initialize ( sal_uInt16  nPageSize)

◆ operator=()

Allocator_Impl & store::PageData::Allocator_Impl::operator= ( const Allocator_Impl )
delete

Member Data Documentation

◆ m_page_cache

rtl_cache_type* store::PageData::Allocator_Impl::m_page_cache
private

Definition at line 57 of file storbase.cxx.

◆ m_page_size

sal_uInt16 store::PageData::Allocator_Impl::m_page_size
private

Definition at line 58 of file storbase.cxx.


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