LibreOffice Module store (master) 1
|
#include <storbase.hxx>
Classes | |
class | Allocator |
class | Allocator_Impl |
class | Deallocate |
Public Types | |
typedef OStorePageGuard | G |
typedef OStorePageDescriptor | D |
typedef OStorePageLink | L |
Public Member Functions | |
sal_uInt32 | location () const |
location. More... | |
void | location (sal_uInt32 nAddr) |
sal_uInt16 | size () const |
size. More... | |
sal_uInt32 | type () const |
type. More... | |
PageData (sal_uInt16 nPageSize=thePageSize) | |
Construction. More... | |
void | swap (PageData &rhs) |
PageData (PageData const &rhs) | |
PageData & | operator= (PageData const &rhs) |
void | guard (sal_uInt32 nAddr) |
guard (external representation). More... | |
storeError | verify (sal_uInt32 nAddr) const |
verify (external representation). More... | |
Static Public Member Functions | |
static void * | operator new (size_t, void *p) |
static void | operator delete (void *, void *) |
Public Attributes | |
G | m_aGuard |
Representation. More... | |
D | m_aDescr |
L | m_aMarked |
L | m_aUnused |
Static Public Attributes | |
static const size_t | theSize = sizeof(G) + sizeof(D) + 2 * sizeof(L) |
theSize. More... | |
static const sal_uInt16 | thePageSize = theSize |
Definition at line 235 of file storbase.hxx.
Definition at line 238 of file storbase.hxx.
typedef OStorePageGuard store::PageData::G |
Definition at line 237 of file storbase.hxx.
typedef OStorePageLink store::PageData::L |
Definition at line 239 of file storbase.hxx.
|
inlineexplicit |
Construction.
Definition at line 337 of file storbase.hxx.
|
inline |
Definition at line 352 of file storbase.hxx.
|
inline |
guard (external representation).
Definition at line 368 of file storbase.hxx.
References store::htonl(), m_aDescr, m_aGuard, store::OStorePageDescriptor::m_nAddr, store::OStorePageGuard::m_nCRC32, store::OStorePageGuard::m_nMagic, and theSize.
Referenced by store::PageHolderObject< T >::guard(), and store::SuperBlockPage::unusedPush().
|
inline |
location.
Definition at line 256 of file storbase.hxx.
References m_aDescr, store::OStorePageDescriptor::m_nAddr, and store::ntohl().
Referenced by store::OStorePageBIOS::allocate(), store::OStoreBTreeRootObject::find_insert(), store::OStoreBTreeRootObject::find_lookup(), store::PageCache::insertPageAt(), store::SuperBlockPage::unusedHead(), store::PageCache::updatePageAt(), and store::ILockBytes::writePageAt().
|
inline |
Definition at line 260 of file storbase.hxx.
References store::htonl(), m_aDescr, and store::OStorePageDescriptor::m_nAddr.
|
inlinestatic |
Definition at line 333 of file storbase.hxx.
|
inlinestatic |
Definition at line 332 of file storbase.hxx.
References p.
Definition at line 359 of file storbase.hxx.
References swap().
|
inline |
size.
Definition at line 267 of file storbase.hxx.
References m_aDescr, store::OStorePageDescriptor::m_nSize, and store::ntohs().
Referenced by store::PageData::Allocator_Impl::initialize().
|
inline |
Definition at line 344 of file storbase.hxx.
References m_aDescr, m_aGuard, m_aMarked, m_aUnused, store::OStorePageDescriptor::swap(), store::OStorePageGuard::swap(), and store::OStorePageLink::swap().
Referenced by operator=().
|
inline |
type.
Definition at line 274 of file storbase.hxx.
References m_aGuard, store::OStorePageGuard::m_nMagic, and store::ntohl().
|
inline |
verify (external representation).
Definition at line 378 of file storbase.hxx.
References store::htonl(), m_aDescr, m_aGuard, store::OStorePageDescriptor::m_nAddr, store::OStorePageGuard::m_nCRC32, store::OStorePageGuard::m_nMagic, store_E_InvalidAccess, store_E_InvalidChecksum, store_E_None, and theSize.
Referenced by store::SuperBlockPage::unusedHead(), store::SuperBlockPage::unusedPush(), and store::PageHolderObject< T >::verify().
D store::PageData::m_aDescr |
Definition at line 244 of file storbase.hxx.
Referenced by store::OStoreDataPageData::capacity(), store::OStoreIndirectionPageData::capacity(), store::OStoreDirectoryPageData::capacity(), store::OStoreBTreeNodeData::capacity(), store::OStoreDirectory_Impl::create(), store::OStoreLockBytes::create(), guard(), location(), store::OStoreBTreeNodeData::OStoreBTreeNodeData(), store::OStoreDataPageData::OStoreDataPageData(), store::OStoreDirectoryPageData::OStoreDirectoryPageData(), store::OStoreIndirectionPageData::OStoreIndirectionPageData(), store::OStoreLockBytes::readAt(), store::OStorePageManager::remove(), store::OStoreDirectoryPageObject::scope(), store::OStoreLockBytes::setSize(), size(), swap(), store::OStoreBTreeNodeData::usage(), store::OStoreBTreeNodeData::usageCount(), verify(), store::OStoreLockBytes::writeAt(), and store::OStoreLockBytes::~OStoreLockBytes().
G store::PageData::m_aGuard |
Representation.
Definition at line 243 of file storbase.hxx.
Referenced by guard(), store::OStoreBTreeNodeData::OStoreBTreeNodeData(), store::OStoreDataPageData::OStoreDataPageData(), store::OStoreDirectoryPageData::OStoreDirectoryPageData(), store::OStoreIndirectionPageData::OStoreIndirectionPageData(), swap(), type(), and verify().
L store::PageData::m_aMarked |
Definition at line 245 of file storbase.hxx.
Referenced by swap().
L store::PageData::m_aUnused |
Definition at line 246 of file storbase.hxx.
Referenced by swap(), store::SuperBlockPage::unusedHead(), store::SuperBlockPage::unusedPop(), and store::SuperBlockPage::unusedPush().
|
static |
Definition at line 251 of file storbase.hxx.
theSize.
Definition at line 250 of file storbase.hxx.
Referenced by guard(), store::SuperBlockPage::unusedHead(), store::SuperBlockPage::unusedPush(), and verify().