LibreOffice Module store (master) 1
|
#include <stordata.hxx>
Public Types | |
typedef PageData | base |
typedef OStoreDataPageData | self |
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 |
OStoreDataPageData (sal_uInt16 nPageSize) | |
Construction. More... | |
void | guard () const |
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 Public Member Functions inherited from store::PageData | |
static void * | operator new (size_t, void *p) |
static void | operator delete (void *, void *) |
Public Attributes | |
sal_uInt8 | m_pData [1] |
Representation. More... | |
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_DATAPAGE |
type. More... | |
static const size_t | theSize = 0 |
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 40 of file stordata.hxx.
Definition at line 42 of file stordata.hxx.
Definition at line 45 of file stordata.hxx.
Definition at line 43 of file stordata.hxx.
|
inlineexplicit |
Construction.
Definition at line 74 of file stordata.hxx.
References capacity(), store::htonl(), store::htons(), store::PageData::m_aDescr, store::PageData::m_aGuard, store::OStorePageGuard::m_nMagic, store::OStorePageDescriptor::m_nUsed, m_pData, thePageSize, and theTypeId.
|
inline |
Definition at line 67 of file stordata.hxx.
References capacity(), and store::PageData::m_aDescr.
Referenced by capacity(), OStoreDataPageData(), store::OStoreLockBytes::readAt(), store::OStoreLockBytes::setSize(), and store::OStoreLockBytes::writeAt().
|
inlinestatic |
capacity.
Definition at line 63 of file stordata.hxx.
References store::OStorePageDescriptor::m_nSize, store::ntohs(), and thePageSize.
|
inline |
guard (external representation).
Definition at line 84 of file stordata.hxx.
|
inline |
verify (external representation).
Definition at line 88 of file stordata.hxx.
References store_E_None.
sal_uInt8 store::OStoreDataPageData::m_pData[1] |
|
static |
Definition at line 58 of file stordata.hxx.
Referenced by capacity(), and OStoreDataPageData().
|
static |
size.
Definition at line 57 of file stordata.hxx.
|
static |