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

#include <stordata.hxx>

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

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)
 
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 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
 

Detailed Description

Definition at line 114 of file stordata.hxx.

Member Typedef Documentation

◆ base

Definition at line 116 of file stordata.hxx.

◆ D

Definition at line 120 of file stordata.hxx.

◆ G

Definition at line 119 of file stordata.hxx.

◆ self

Definition at line 117 of file stordata.hxx.

Constructor & Destructor Documentation

◆ OStoreIndirectionPageData()

store::OStoreIndirectionPageData::OStoreIndirectionPageData ( sal_uInt16  nPageSize)
inlineexplicit

Member Function Documentation

◆ capacity() [1/2]

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

Definition at line 143 of file stordata.hxx.

References capacity(), and store::PageData::m_aDescr.

Referenced by capacity(), capacityCount(), guard(), OStoreIndirectionPageData(), and verify().

◆ capacity() [2/2]

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

capacity.

Definition at line 139 of file stordata.hxx.

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

◆ capacityCount() [1/2]

sal_uInt16 store::OStoreIndirectionPageData::capacityCount ( ) const
inline

Definition at line 154 of file stordata.hxx.

References capacity().

Referenced by store::OStoreDirectoryPageObject::scope().

◆ capacityCount() [2/2]

static sal_uInt16 store::OStoreIndirectionPageData::capacityCount ( const D rDescr)
inlinestatic

capacityCount.

Definition at line 150 of file stordata.hxx.

References capacity().

◆ guard()

void store::OStoreIndirectionPageData::guard ( )
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.

◆ verify()

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

Member Data Documentation

◆ m_aGuard

G store::OStoreIndirectionPageData::m_aGuard

Representation.

Definition at line 124 of file stordata.hxx.

Referenced by guard(), OStoreIndirectionPageData(), and verify().

◆ m_pData

sal_uInt32 store::OStoreIndirectionPageData::m_pData[1]

Definition at line 125 of file stordata.hxx.

Referenced by guard(), OStoreIndirectionPageData(), and verify().

◆ thePageSize

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

Definition at line 134 of file stordata.hxx.

Referenced by capacity(), and OStoreIndirectionPageData().

◆ theSize

const size_t store::OStoreIndirectionPageData::theSize = sizeof(G)
static

size.

Definition at line 133 of file stordata.hxx.

◆ theTypeId

const sal_uInt32 store::OStoreIndirectionPageData::theTypeId = STORE_MAGIC_INDIRECTPAGE
static

type.

Definition at line 129 of file stordata.hxx.

Referenced by OStoreIndirectionPageData().


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