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

#include <storbase.hxx>

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

Classes

class  Allocator
 
class  Allocator_Impl
 
class  Deallocate
 

Public Types

typedef OStorePageGuard G
 
typedef OStorePageDescriptor D
 
typedef OStorePageLink L
 

Public Member Functions

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 void * operator new (size_t, void *p)
 
static void operator delete (void *, void *)
 

Public Attributes

G m_aGuard
 Representation. More...
 
D m_aDescr
 
L m_aMarked
 
L m_aUnused
 

Static Public Attributes

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 235 of file storbase.hxx.

Member Typedef Documentation

◆ D

Definition at line 238 of file storbase.hxx.

◆ G

Definition at line 237 of file storbase.hxx.

◆ L

Definition at line 239 of file storbase.hxx.

Constructor & Destructor Documentation

◆ PageData() [1/2]

store::PageData::PageData ( sal_uInt16  nPageSize = thePageSize)
inlineexplicit

Construction.

Definition at line 337 of file storbase.hxx.

◆ PageData() [2/2]

store::PageData::PageData ( PageData const &  rhs)
inline

Definition at line 352 of file storbase.hxx.

Member Function Documentation

◆ guard()

void store::PageData::guard ( sal_uInt32  nAddr)
inline

◆ location() [1/2]

sal_uInt32 store::PageData::location ( ) const
inline

◆ location() [2/2]

void store::PageData::location ( sal_uInt32  nAddr)
inline

Definition at line 260 of file storbase.hxx.

References store::htonl(), m_aDescr, and store::OStorePageDescriptor::m_nAddr.

◆ operator delete()

static void store::PageData::operator delete ( void *  ,
void *   
)
inlinestatic

Definition at line 333 of file storbase.hxx.

◆ operator new()

static void * store::PageData::operator new ( size_t  ,
void *  p 
)
inlinestatic

Definition at line 332 of file storbase.hxx.

References p.

◆ operator=()

PageData & store::PageData::operator= ( PageData const &  rhs)
inline

Definition at line 359 of file storbase.hxx.

References swap().

◆ size()

sal_uInt16 store::PageData::size ( ) const
inline

◆ swap()

void store::PageData::swap ( PageData rhs)
inline

◆ type()

sal_uInt32 store::PageData::type ( ) const
inline

type.

Definition at line 274 of file storbase.hxx.

References m_aGuard, store::OStorePageGuard::m_nMagic, and store::ntohl().

◆ verify()

storeError store::PageData::verify ( sal_uInt32  nAddr) const
inline

Member Data Documentation

◆ m_aDescr

D store::PageData::m_aDescr

◆ m_aGuard

G store::PageData::m_aGuard

◆ m_aMarked

L store::PageData::m_aMarked

Definition at line 245 of file storbase.hxx.

Referenced by swap().

◆ m_aUnused

L store::PageData::m_aUnused

◆ thePageSize

const sal_uInt16 store::PageData::thePageSize = theSize
static

Definition at line 251 of file storbase.hxx.

◆ theSize

const size_t store::PageData::theSize = sizeof(G) + sizeof(D) + 2 * sizeof(L)
static

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