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

#include <stordata.hxx>

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

Classes

struct  ChunkDescriptor
 ChunkDescriptor. More...
 

Public Types

enum  ChunkScope {
  SCOPE_INTERNAL ,
  SCOPE_EXTERNAL ,
  SCOPE_DIRECT ,
  SCOPE_SINGLE ,
  SCOPE_DOUBLE ,
  SCOPE_TRIPLE ,
  SCOPE_UNREACHABLE ,
  SCOPE_UNKNOWN
}
 ChunkScope. More...
 
typedef PageData base
 
typedef OStoreDirectoryPageData self
 
typedef OStorePageDescriptor D
 
typedef OStorePageNameBlock NameBlock
 
typedef OStoreDirectoryDataBlock DataBlock
 
- Public Types inherited from store::PageData
typedef OStorePageGuard G
 
typedef OStorePageDescriptor D
 
typedef OStorePageLink L
 

Public Member Functions

sal_uInt16 capacity () const
 capacity. More...
 
 OStoreDirectoryPageData (sal_uInt16 nPageSize)
 Construction. More...
 
void guard ()
 guard (external representation). More...
 
storeError verify () const
 verify (external representation). More...
 
ChunkScope scope (sal_uInt32 nPosition) const
 scope (internal). 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...
 

Public Attributes

NameBlock m_aNameBlock
 Representation. More...
 
DataBlock m_aDataBlock
 
sal_uInt8 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_DIRECTORYPAGE
 type. More...
 
static const size_t theSize = NameBlock::theSize + DataBlock::theSize
 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
 

Additional Inherited Members

- Static Public Member Functions inherited from store::PageData
static void * operator new (size_t, void *p)
 
static void operator delete (void *, void *)
 

Detailed Description

Definition at line 480 of file stordata.hxx.

Member Typedef Documentation

◆ base

Definition at line 482 of file stordata.hxx.

◆ D

Definition at line 485 of file stordata.hxx.

◆ DataBlock

Definition at line 487 of file stordata.hxx.

◆ NameBlock

Definition at line 486 of file stordata.hxx.

◆ self

Definition at line 483 of file stordata.hxx.

Member Enumeration Documentation

◆ ChunkScope

ChunkScope.

Enumerator
SCOPE_INTERNAL 
SCOPE_EXTERNAL 
SCOPE_DIRECT 
SCOPE_SINGLE 
SCOPE_DOUBLE 
SCOPE_TRIPLE 
SCOPE_UNREACHABLE 
SCOPE_UNKNOWN 

Definition at line 562 of file stordata.hxx.

Constructor & Destructor Documentation

◆ OStoreDirectoryPageData()

store::OStoreDirectoryPageData::OStoreDirectoryPageData ( sal_uInt16  nPageSize)
inlineexplicit

Member Function Documentation

◆ capacity()

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

◆ guard()

void store::OStoreDirectoryPageData::guard ( )
inline

guard (external representation).

Definition at line 524 of file stordata.hxx.

References store::OStorePageNameBlock::guard(), store::OStoreDirectoryDataBlock::guard(), m_aDataBlock, and m_aNameBlock.

◆ scope()

ChunkScope store::OStoreDirectoryPageData::scope ( sal_uInt32  nPosition) const
inline

◆ verify()

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

verify (external representation).

Definition at line 532 of file stordata.hxx.

References m_aDataBlock, m_aNameBlock, store_E_None, store::OStorePageNameBlock::verify(), and store::OStoreDirectoryDataBlock::verify().

Member Data Documentation

◆ m_aDataBlock

DataBlock store::OStoreDirectoryPageData::m_aDataBlock

◆ m_aNameBlock

NameBlock store::OStoreDirectoryPageData::m_aNameBlock

◆ m_pData

sal_uInt8 store::OStoreDirectoryPageData::m_pData[1]

◆ thePageSize

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

Definition at line 502 of file stordata.hxx.

Referenced by capacity(), and OStoreDirectoryPageData().

◆ theSize

const size_t store::OStoreDirectoryPageData::theSize = NameBlock::theSize + DataBlock::theSize
static

size.

Definition at line 501 of file stordata.hxx.

◆ theTypeId

const sal_uInt32 store::OStoreDirectoryPageData::theTypeId = STORE_MAGIC_DIRECTORYPAGE
static

type.

Definition at line 497 of file stordata.hxx.

Referenced by OStoreDirectoryPageData().


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