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

#include <stordata.hxx>

Collaboration diagram for store::OStoreDirectoryDataBlock:
[legend]

Classes

struct  LinkDescriptor
 LinkDescriptor. More...
 
struct  LinkTable
 LinkTable. More...
 

Public Types

typedef OStorePageGuard G
 

Public Member Functions

 OStoreDirectoryDataBlock ()
 Construction. More...
 
void guard ()
 guard (external representation). More...
 
storeError verify () const
 verify (external representation). More...
 
sal_uInt32 directLink (sal_uInt16 nIndex) const
 
void directLink (sal_uInt16 nIndex, sal_uInt32 nAddr)
 
sal_uInt32 singleLink (sal_uInt16 nIndex) const
 
void singleLink (sal_uInt16 nIndex, sal_uInt32 nAddr)
 
sal_uInt32 doubleLink (sal_uInt16 nIndex) const
 
void doubleLink (sal_uInt16 nIndex, sal_uInt32 nAddr)
 
sal_uInt32 tripleLink (sal_uInt16 nIndex) const
 
void tripleLink (sal_uInt16 nIndex, sal_uInt32 nAddr)
 

Public Attributes

G m_aGuard
 Representation. More...
 
LinkTable m_aTable
 
sal_uInt32 m_nDataLen
 

Static Public Attributes

static const size_t theSize = sizeof(G) + sizeof(LinkTable) + sizeof(sal_uInt32)
 size. More...
 
static const sal_uInt16 directCount = sal_uInt16(STORE_LIMIT_DATAPAGE_DIRECT)
 direct. More...
 
static const sal_uInt16 singleCount = sal_uInt16(STORE_LIMIT_DATAPAGE_SINGLE)
 single. More...
 
static const sal_uInt16 doubleCount = sal_uInt16(STORE_LIMIT_DATAPAGE_DOUBLE)
 double. More...
 
static const sal_uInt16 tripleCount = sal_uInt16(STORE_LIMIT_DATAPAGE_TRIPLE)
 triple. More...
 

Detailed Description

Definition at line 318 of file stordata.hxx.

Member Typedef Documentation

◆ G

Definition at line 320 of file stordata.hxx.

Constructor & Destructor Documentation

◆ OStoreDirectoryDataBlock()

store::OStoreDirectoryDataBlock::OStoreDirectoryDataBlock ( )
inline

Construction.

Definition at line 384 of file stordata.hxx.

Member Function Documentation

◆ directLink() [1/2]

sal_uInt32 store::OStoreDirectoryDataBlock::directLink ( sal_uInt16  nIndex) const
inline

◆ directLink() [2/2]

void store::OStoreDirectoryDataBlock::directLink ( sal_uInt16  nIndex,
sal_uInt32  nAddr 
)
inline

◆ doubleLink() [1/2]

sal_uInt32 store::OStoreDirectoryDataBlock::doubleLink ( sal_uInt16  nIndex) const
inline

◆ doubleLink() [2/2]

void store::OStoreDirectoryDataBlock::doubleLink ( sal_uInt16  nIndex,
sal_uInt32  nAddr 
)
inline

◆ guard()

void store::OStoreDirectoryDataBlock::guard ( )
inline

guard (external representation).

Definition at line 390 of file stordata.hxx.

References store::htonl(), m_aGuard, m_aTable, store::OStorePageGuard::m_nCRC32, store::OStorePageGuard::m_nMagic, and theSize.

Referenced by store::OStoreDirectoryPageData::guard().

◆ singleLink() [1/2]

sal_uInt32 store::OStoreDirectoryDataBlock::singleLink ( sal_uInt16  nIndex) const
inline

◆ singleLink() [2/2]

void store::OStoreDirectoryDataBlock::singleLink ( sal_uInt16  nIndex,
sal_uInt32  nAddr 
)
inline

◆ tripleLink() [1/2]

sal_uInt32 store::OStoreDirectoryDataBlock::tripleLink ( sal_uInt16  nIndex) const
inline

◆ tripleLink() [2/2]

void store::OStoreDirectoryDataBlock::tripleLink ( sal_uInt16  nIndex,
sal_uInt32  nAddr 
)
inline

◆ verify()

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

Member Data Documentation

◆ directCount

const sal_uInt16 store::OStoreDirectoryDataBlock::directCount = sal_uInt16(STORE_LIMIT_DATAPAGE_DIRECT)
static

◆ doubleCount

const sal_uInt16 store::OStoreDirectoryDataBlock::doubleCount = sal_uInt16(STORE_LIMIT_DATAPAGE_DOUBLE)
static

◆ m_aGuard

G store::OStoreDirectoryDataBlock::m_aGuard

Representation.

Definition at line 374 of file stordata.hxx.

Referenced by guard(), and verify().

◆ m_aTable

LinkTable store::OStoreDirectoryDataBlock::m_aTable

Definition at line 375 of file stordata.hxx.

Referenced by directLink(), doubleLink(), guard(), singleLink(), tripleLink(), and verify().

◆ m_nDataLen

sal_uInt32 store::OStoreDirectoryDataBlock::m_nDataLen

Definition at line 376 of file stordata.hxx.

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

◆ singleCount

const sal_uInt16 store::OStoreDirectoryDataBlock::singleCount = sal_uInt16(STORE_LIMIT_DATAPAGE_SINGLE)
static

◆ theSize

const size_t store::OStoreDirectoryDataBlock::theSize = sizeof(G) + sizeof(LinkTable) + sizeof(sal_uInt32)
static

size.

Definition at line 380 of file stordata.hxx.

Referenced by guard(), and verify().

◆ tripleCount

const sal_uInt16 store::OStoreDirectoryDataBlock::tripleCount = sal_uInt16(STORE_LIMIT_DATAPAGE_TRIPLE)
static

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