LibreOffice Module store (master) 1
|
#include <stordata.hxx>
Public Types | |
typedef PageData | base |
typedef OStoreIndirectionPageData | self |
typedef OStorePageGuard | G |
typedef OStorePageDescriptor | D |
Public Types inherited from store::PageData | |
typedef OStorePageGuard | G |
typedef OStorePageDescriptor | D |
typedef OStorePageLink | L |
Public Member Functions | |
sal_uInt16 | capacity () const |
sal_uInt16 | capacityCount () const |
OStoreIndirectionPageData (sal_uInt16 nPageSize) | |
Construction. More... | |
void | guard () |
guard (external representation). More... | |
storeError | verify () const |
verify (external representation). More... | |
Public Member Functions inherited from store::PageData | |
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 sal_uInt16 | capacity (const D &rDescr) |
capacity. More... | |
static sal_uInt16 | capacityCount (const D &rDescr) |
capacityCount. More... | |
Static Public Member Functions inherited from store::PageData | |
static void * | operator new (size_t, void *p) |
static void | operator delete (void *, void *) |
Public Attributes | |
G | m_aGuard |
Representation. More... | |
sal_uInt32 | m_pData [1] |
Public Attributes inherited from store::PageData | |
G | m_aGuard |
Representation. More... | |
D | m_aDescr |
L | m_aMarked |
L | m_aUnused |
Static Public Attributes | |
static const sal_uInt32 | theTypeId = STORE_MAGIC_INDIRECTPAGE |
type. More... | |
static const size_t | theSize = sizeof(G) |
size. More... | |
static const sal_uInt16 | thePageSize = base::theSize + self::theSize |
Static Public Attributes inherited from store::PageData | |
static const size_t | theSize = sizeof(G) + sizeof(D) + 2 * sizeof(L) |
theSize. More... | |
static const sal_uInt16 | thePageSize = theSize |
Definition at line 114 of file stordata.hxx.
Definition at line 116 of file stordata.hxx.
Definition at line 120 of file stordata.hxx.
Definition at line 119 of file stordata.hxx.
Definition at line 117 of file stordata.hxx.
|
inlineexplicit |
Construction.
Definition at line 161 of file stordata.hxx.
References capacity(), store::htonl(), store::htons(), store::PageData::m_aDescr, store::PageData::m_aGuard, m_aGuard, store::OStorePageGuard::m_nMagic, store::OStorePageDescriptor::m_nUsed, m_pData, STORE_PAGE_NULL, thePageSize, and theTypeId.
|
inline |
Definition at line 143 of file stordata.hxx.
References capacity(), and store::PageData::m_aDescr.
Referenced by capacity(), capacityCount(), guard(), OStoreIndirectionPageData(), and verify().
|
inlinestatic |
capacity.
Definition at line 139 of file stordata.hxx.
References store::OStorePageDescriptor::m_nSize, store::ntohs(), and thePageSize.
|
inline |
Definition at line 154 of file stordata.hxx.
References capacity().
Referenced by store::OStoreDirectoryPageObject::scope().
|
inlinestatic |
|
inline |
guard (external representation).
Definition at line 172 of file stordata.hxx.
References capacity(), store::htonl(), m_aGuard, store::OStorePageGuard::m_nCRC32, store::OStorePageGuard::m_nMagic, and m_pData.
|
inline |
verify (external representation).
Definition at line 181 of file stordata.hxx.
References capacity(), store::htonl(), m_aGuard, store::OStorePageGuard::m_nCRC32, store::OStorePageGuard::m_nMagic, m_pData, store_E_InvalidChecksum, and store_E_None.
G store::OStoreIndirectionPageData::m_aGuard |
Representation.
Definition at line 124 of file stordata.hxx.
Referenced by guard(), OStoreIndirectionPageData(), and verify().
sal_uInt32 store::OStoreIndirectionPageData::m_pData[1] |
Definition at line 125 of file stordata.hxx.
Referenced by guard(), OStoreIndirectionPageData(), and verify().
|
static |
Definition at line 134 of file stordata.hxx.
Referenced by capacity(), and OStoreIndirectionPageData().
|
static |
size.
Definition at line 133 of file stordata.hxx.
|
static |