LibreOffice Module store (master) 1
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
store::PageHolderObject< T > Class Template Reference

#include <storbase.hxx>

Inheritance diagram for store::PageHolderObject< T >:
[legend]

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< PageDatam_xPage
 Representation. More...
 

Detailed Description

template<class T>
class store::PageHolderObject< T >

Definition at line 392 of file storbase.hxx.

Constructor & Destructor Documentation

◆ PageHolderObject() [1/2]

template<class T >
store::PageHolderObject< T >::PageHolderObject ( std::shared_ptr< PageData xPage = std::shared_ptr<PageData>())
inlineexplicit

Definition at line 429 of file storbase.hxx.

◆ PageHolderObject() [2/2]

template<class T >
store::PageHolderObject< T >::PageHolderObject ( PageHolderObject< T > const &  rhs)
inline

Definition at line 438 of file storbase.hxx.

Member Function Documentation

◆ construct()

template<class T >
bool store::PageHolderObject< T >::construct ( rtl::Reference< PageData::Allocator > const &  rxAllocator)
inline

◆ dynamic_page_cast() [1/2]

template<class T >
template<class U >
static U * store::PageHolderObject< T >::dynamic_page_cast ( PageData p)
inlinestaticprivate

Definition at line 407 of file storbase.hxx.

References p, and U.

◆ dynamic_page_cast() [2/2]

template<class T >
template<class U >
static U const * store::PageHolderObject< T >::dynamic_page_cast ( PageData const *  p)
inlinestaticprivate

Definition at line 413 of file storbase.hxx.

References p, and U.

◆ get() [1/2]

template<class T >
std::shared_ptr< PageData > & store::PageHolderObject< T >::get ( )
inline

◆ get() [2/2]

template<class T >
std::shared_ptr< PageData > const & store::PageHolderObject< T >::get ( ) const
inline

Definition at line 455 of file storbase.hxx.

References store::PageHolderObject< T >::m_xPage.

◆ guard()

template<class T >
static storeError store::PageHolderObject< T >::guard ( std::shared_ptr< PageData > const &  rxPage,
sal_uInt32  nAddr 
)
inlinestatic

◆ is()

template<class T >
bool store::PageHolderObject< T >::is ( ) const
inline

◆ isA()

template<class T >
template<class U >
static bool store::PageHolderObject< T >::isA ( PageData const *  p)
inlinestaticprivate

Checked cast.

Definition at line 401 of file storbase.hxx.

References p.

◆ operator*() [1/2]

template<class T >
T & store::PageHolderObject< T >::operator* ( )
inline

Definition at line 471 of file storbase.hxx.

References store::PageHolderObject< T >::m_xPage.

◆ operator*() [2/2]

template<class T >
T const & store::PageHolderObject< T >::operator* ( ) const
inline

Definition at line 478 of file storbase.hxx.

References store::PageHolderObject< T >::m_xPage.

◆ operator->() [1/2]

template<class T >
T * store::PageHolderObject< T >::operator-> ( )
inline

Definition at line 457 of file storbase.hxx.

References store::PageHolderObject< T >::m_xPage.

◆ operator->() [2/2]

template<class T >
T const * store::PageHolderObject< T >::operator-> ( ) const
inline

Definition at line 464 of file storbase.hxx.

References store::PageHolderObject< T >::m_xPage.

◆ operator=()

template<class T >
PageHolderObject< T > & store::PageHolderObject< T >::operator= ( PageHolderObject< T > const &  rhs)
inline

Definition at line 442 of file storbase.hxx.

References store::PageHolderObject< T >::swap().

◆ swap()

template<class T >
void store::PageHolderObject< T >::swap ( PageHolderObject< T > &  rhs)
inline

◆ verify()

template<class T >
static storeError store::PageHolderObject< T >::verify ( std::shared_ptr< PageData > const &  rxPage,
sal_uInt32  nAddr 
)
inlinestatic

Member Data Documentation

◆ m_xPage

template<class T >
std::shared_ptr<PageData> store::PageHolderObject< T >::m_xPage
private

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