LibreOffice Module store (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
store::OStoreDataPageData Struct Reference

#include <stordata.hxx>

Inheritance diagram for store::OStoreDataPageData:
[legend]
Collaboration diagram for store::OStoreDataPageData:
[legend]

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)
 
PageDataoperator= (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
 

Detailed Description

Definition at line 40 of file stordata.hxx.

Member Typedef Documentation

◆ base

Definition at line 42 of file stordata.hxx.

◆ D

Definition at line 45 of file stordata.hxx.

◆ self

Definition at line 43 of file stordata.hxx.

Constructor & Destructor Documentation

◆ OStoreDataPageData()

store::OStoreDataPageData::OStoreDataPageData ( sal_uInt16  nPageSize)
inlineexplicit

Member Function Documentation

◆ capacity() [1/2]

sal_uInt16 store::OStoreDataPageData::capacity ( ) const
inline

◆ capacity() [2/2]

static sal_uInt16 store::OStoreDataPageData::capacity ( const D rDescr)
inlinestatic

capacity.

Definition at line 63 of file stordata.hxx.

References store::OStorePageDescriptor::m_nSize, store::ntohs(), and thePageSize.

◆ guard()

void store::OStoreDataPageData::guard ( ) const
inline

guard (external representation).

Definition at line 84 of file stordata.hxx.

◆ verify()

storeError store::OStoreDataPageData::verify ( ) const
inline

verify (external representation).

Definition at line 88 of file stordata.hxx.

References store_E_None.

Member Data Documentation

◆ m_pData

sal_uInt8 store::OStoreDataPageData::m_pData[1]

Representation.

Definition at line 49 of file stordata.hxx.

Referenced by OStoreDataPageData().

◆ thePageSize

const sal_uInt16 store::OStoreDataPageData::thePageSize = base::theSize + self::theSize
static

Definition at line 58 of file stordata.hxx.

Referenced by capacity(), and OStoreDataPageData().

◆ theSize

const size_t store::OStoreDataPageData::theSize = 0
static

size.

Definition at line 57 of file stordata.hxx.

◆ theTypeId

const sal_uInt32 store::OStoreDataPageData::theTypeId = STORE_MAGIC_DATAPAGE
static

type.

Definition at line 53 of file stordata.hxx.

Referenced by OStoreDataPageData().


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