libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::ObjectFileRefStreamWriter Class Reference

Efficiently (in disk space handling) write a number of (sorted by file offset) ObjectFileRefs. More...

#include <FileWriter.h>

Public Member Functions

 ObjectFileRefStreamWriter (FileWriter &writer)
 
void Reset ()
 
void Write (const ObjectFileRef &ref)
 

Detailed Description

Efficiently (in disk space handling) write a number of (sorted by file offset) ObjectFileRefs.

Note that the delta between two offsets is limited by sizeof(FileOffset)-2 bits.

Constructor & Destructor Documentation

osmscout::ObjectFileRefStreamWriter::ObjectFileRefStreamWriter ( FileWriter writer)

Member Function Documentation

void osmscout::ObjectFileRefStreamWriter::Reset ( )
void osmscout::ObjectFileRefStreamWriter::Write ( const ObjectFileRef &  ref)

The documentation for this class was generated from the following files: