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

#include <storbase.hxx>

Inheritance diagram for store::OStorePageObject:
[legend]

Public Member Functions

bool dirty () const
 State. More...
 
void clean ()
 
void touch ()
 
sal_uInt32 location () const
 Location. More...
 
template<class U >
PageHolderObject< U > makeHolder () const
 
template<class U >
storeError construct (rtl::Reference< PageData::Allocator > const &rxAllocator)
 
std::shared_ptr< PageData > & get ()
 
virtual storeError guard (sal_uInt32 nAddr)=0
 
virtual storeError verify (sal_uInt32 nAddr) const =0
 

Static Public Member Functions

static void * operator new (size_t n)
 Allocation. More...
 
static void operator delete (void *p)
 

Protected Member Functions

 OStorePageObject (std::shared_ptr< PageData > rxPage)
 Construction. More...
 
virtual ~OStorePageObject ()
 Destruction. More...
 

Protected Attributes

std::shared_ptr< PageDatam_xPage
 Representation. More...
 
bool m_bDirty
 

Private Types

typedef PageData page
 

Detailed Description

Definition at line 517 of file storbase.hxx.

Member Typedef Documentation

◆ page

Definition at line 519 of file storbase.hxx.

Constructor & Destructor Documentation

◆ OStorePageObject()

store::OStorePageObject::OStorePageObject ( std::shared_ptr< PageData rxPage)
inlineexplicitprotected

Construction.

Definition at line 551 of file storbase.hxx.

◆ ~OStorePageObject()

OStorePageObject::~OStorePageObject ( )
protectedvirtual

Destruction.

Definition at line 120 of file storbase.cxx.

Member Function Documentation

◆ clean()

void store::OStorePageObject::clean ( )
inline

◆ construct()

template<class U >
storeError store::OStorePageObject::construct ( rtl::Reference< PageData::Allocator > const &  rxAllocator)
inline

Definition at line 567 of file storbase.hxx.

References m_xPage, store_E_InvalidAccess, store_E_None, store_E_OutOfMemory, and U.

Referenced by store::OStorePageManager::iget().

◆ dirty()

bool store::OStorePageObject::dirty ( ) const
inline

◆ get()

std::shared_ptr< PageData > & store::OStorePageObject::get ( )
inline

◆ guard()

virtual storeError store::OStorePageObject::guard ( sal_uInt32  nAddr)
pure virtual

◆ location()

sal_uInt32 store::OStorePageObject::location ( ) const
inline

◆ makeHolder()

template<class U >
PageHolderObject< U > store::OStorePageObject::makeHolder ( ) const
inline

◆ operator delete()

static void store::OStorePageObject::operator delete ( void *  p)
inlinestatic

Definition at line 528 of file storbase.hxx.

References p.

◆ operator new()

static void * store::OStorePageObject::operator new ( size_t  n)
inlinestatic

Allocation.

Definition at line 524 of file storbase.hxx.

References n.

◆ touch()

void store::OStorePageObject::touch ( )
inline

◆ verify()

virtual storeError store::OStorePageObject::verify ( sal_uInt32  nAddr) const
pure virtual

Member Data Documentation

◆ m_bDirty

bool store::OStorePageObject::m_bDirty
protected

Definition at line 547 of file storbase.hxx.

Referenced by clean(), dirty(), and touch().

◆ m_xPage

std::shared_ptr<PageData> store::OStorePageObject::m_xPage
protected

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