LibreOffice Module store (master) 1
|
#include <stordata.hxx>
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) | |
PageData & | operator= (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 *) |
Definition at line 480 of file stordata.hxx.
Definition at line 482 of file stordata.hxx.
Definition at line 485 of file stordata.hxx.
Definition at line 487 of file stordata.hxx.
Definition at line 486 of file stordata.hxx.
Definition at line 483 of file stordata.hxx.
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.
|
inlineexplicit |
Construction.
Definition at line 514 of file stordata.hxx.
References capacity(), store::htonl(), store::htons(), store::PageData::m_aDescr, store::PageData::m_aGuard, store::OStorePageGuard::m_nMagic, store::OStorePageDescriptor::m_nUsed, m_pData, thePageSize, and theTypeId.
|
inline |
capacity.
Definition at line 507 of file stordata.hxx.
References store::PageData::m_aDescr, m_nSize, store::ntohs(), and thePageSize.
Referenced by OStoreDirectoryPageData(), store::OStoreLockBytes::readAt(), store::OStorePageManager::remove(), scope(), store::OStoreLockBytes::setSize(), and store::OStoreLockBytes::writeAt().
|
inline |
guard (external representation).
Definition at line 524 of file stordata.hxx.
References store::OStorePageNameBlock::guard(), store::OStoreDirectoryDataBlock::guard(), m_aDataBlock, and m_aNameBlock.
|
inline |
scope (internal).
Definition at line 576 of file stordata.hxx.
References capacity(), SCOPE_EXTERNAL, and SCOPE_INTERNAL.
Referenced by store::OStoreLockBytes::readAt(), store::OStorePageManager::remove(), store::OStoreLockBytes::setSize(), and store::OStoreLockBytes::writeAt().
|
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().
DataBlock store::OStoreDirectoryPageData::m_aDataBlock |
Definition at line 492 of file stordata.hxx.
Referenced by store::OStoreDirectoryPageObject::dataLength(), store::OStoreDirectoryPageObject::directLink(), store::OStoreDirectoryPageObject::doubleLink(), guard(), store::OStoreDirectoryPageObject::singleLink(), store::OStoreDirectoryPageObject::tripleLink(), and verify().
NameBlock store::OStoreDirectoryPageData::m_aNameBlock |
Representation.
Definition at line 491 of file stordata.hxx.
Referenced by store::OStoreDirectoryPageObject::attrib(), guard(), store::OStorePageManager::iget(), store::OStoreDirectory_Impl::iterate(), store::OStoreDirectoryPageObject::key(), and verify().
sal_uInt8 store::OStoreDirectoryPageData::m_pData[1] |
Definition at line 493 of file stordata.hxx.
Referenced by store::OStorePageManager::iget(), OStoreDirectoryPageData(), store::OStoreLockBytes::readAt(), store::OStorePageManager::remove(), store::OStoreLockBytes::setSize(), and store::OStoreLockBytes::writeAt().
|
static |
Definition at line 502 of file stordata.hxx.
Referenced by capacity(), and OStoreDirectoryPageData().
|
static |
size.
Definition at line 501 of file stordata.hxx.
|
static |