libmoost
moost::container::memory_mapped_dataset::mmd_header Struct Reference
Collaboration diagram for moost::container::memory_mapped_dataset::mmd_header:

List of all members.

Public Attributes

boost::uint32_t mmd_magic
 magic number, must be set to MMD_MAGIC
boost::uint32_t mmd_version
 current format version, must be MMD_VERSION
boost::uint64_t index_offset
 offset of the index archive
boost::uint64_t index_length
 length of the index archive

Detailed Description

The dataset file header

Contains the magic and version as well as the offset and length of the index archive. The index as well as the sections can be placed at an arbitrary position within the dataset, though usually the index will be the last part of the dataset. (As in a good book!)

Definition at line 79 of file dataset.hpp.


Member Data Documentation

length of the index archive

Definition at line 84 of file dataset.hpp.

offset of the index archive

Definition at line 83 of file dataset.hpp.

magic number, must be set to MMD_MAGIC

Definition at line 81 of file dataset.hpp.

current format version, must be MMD_VERSION

Definition at line 82 of file dataset.hpp.


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