LibreOffice Module store (master) 1
|
#include <storbase.hxx>
Public Member Functions | |
bool | construct (rtl::Reference< PageData::Allocator > const &rxAllocator) |
PageHolderObject (std::shared_ptr< PageData > xPage=std::shared_ptr< PageData >()) | |
void | swap (PageHolderObject< T > &rhs) |
PageHolderObject (PageHolderObject< T > const &rhs) | |
PageHolderObject< T > & | operator= (PageHolderObject< T > const &rhs) |
bool | is () const |
std::shared_ptr< PageData > & | get () |
std::shared_ptr< PageData > const & | get () const |
T * | operator-> () |
T const * | operator-> () const |
T & | operator* () |
T const & | operator* () const |
Static Public Member Functions | |
static storeError | guard (std::shared_ptr< PageData > const &rxPage, sal_uInt32 nAddr) |
static storeError | verify (std::shared_ptr< PageData > const &rxPage, sal_uInt32 nAddr) |
Static Private Member Functions | |
template<class U > | |
static bool | isA (PageData const *p) |
Checked cast. More... | |
template<class U > | |
static U * | dynamic_page_cast (PageData *p) |
template<class U > | |
static U const * | dynamic_page_cast (PageData const *p) |
Private Attributes | |
std::shared_ptr< PageData > | m_xPage |
Representation. More... | |
Definition at line 392 of file storbase.hxx.
|
inlineexplicit |
Definition at line 429 of file storbase.hxx.
|
inline |
Definition at line 438 of file storbase.hxx.
|
inline |
Definition at line 419 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
Referenced by store::OStoreBTreeRootObject::change(), and store::OStoreBTreeNodeObject::split().
|
inlinestaticprivate |
Definition at line 407 of file storbase.hxx.
|
inlinestaticprivate |
Definition at line 413 of file storbase.hxx.
|
inline |
Definition at line 454 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
Referenced by store::OStoreBTreeRootObject::change(), store::OStoreLockBytes::readAt(), store::OStoreLockBytes::setSize(), store::OStoreBTreeNodeObject::split(), and store::OStoreLockBytes::writeAt().
|
inline |
Definition at line 455 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
|
inlinestatic |
Definition at line 485 of file storbase.hxx.
References store::PageData::guard(), store_E_InvalidAccess, and store_E_None.
Referenced by store::OStoreDataPageObject::guard(), store::OStoreIndirectionPageObject::guard(), store::OStoreDirectoryPageObject::guard(), and store::OStoreBTreeNodeObject::guard().
|
inline |
Definition at line 449 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
Referenced by store::OStoreBTreeNodeObject::split(), store::OStoreLockBytes::writeAt(), and store::OStoreLockBytes::~OStoreLockBytes().
|
inlinestaticprivate |
|
inline |
Definition at line 471 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
|
inline |
Definition at line 478 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
|
inline |
Definition at line 457 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
|
inline |
Definition at line 464 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
|
inline |
Definition at line 442 of file storbase.hxx.
References store::PageHolderObject< T >::swap().
|
inline |
Definition at line 433 of file storbase.hxx.
References store::PageHolderObject< T >::m_xPage.
Referenced by store::OStoreBTreeRootObject::change(), store::PageHolderObject< T >::operator=(), and store::OStorePageManager::remove_Impl().
|
inlinestatic |
Definition at line 499 of file storbase.hxx.
References store_E_InvalidAccess, store_E_None, store_E_WrongVersion, and store::PageData::verify().
Referenced by store::OStoreDataPageObject::verify(), store::OStoreIndirectionPageObject::verify(), store::OStoreDirectoryPageObject::verify(), and store::OStoreBTreeNodeObject::verify().
|
private |
Representation.
Definition at line 396 of file storbase.hxx.
Referenced by store::PageHolderObject< T >::construct(), store::PageHolderObject< T >::get(), store::PageHolderObject< T >::is(), store::PageHolderObject< T >::operator*(), store::PageHolderObject< T >::operator->(), and store::PageHolderObject< T >::swap().