1#ifndef art__paperback__carousel__cross_reference_hxx_
2#define art__paperback__carousel__cross_reference_hxx_
4#include <art/paperback/types.hxx>
5#include <art/paperback/forward.hxx>
7#include <art/paperback/carousel/writer.hxx>
Identity allocate()
Allocate a new object index.
Definition cross-reference.cxx:92
map< Identity, Entry > _table
Cross-reference table entries.
Definition cross-reference.hxx:86
int64_t get_offset(Identity) const
Get the offset of a used entry.
Definition cross-reference.cxx:104
void write(Writer &, bool)
Write the cross-reference to an output stream.
Definition cross-reference.cxx:163
uint32_t size() const
Get the size of the cross-reference table.
Definition cross-reference.cxx:75
Identity next() const
Get the next available object identity.
Definition cross-reference.cxx:145
cross_Reference(cross_Reference &&)
Constructor.
void clear_offsets()
Clears the offsets of used entries.
Definition cross-reference.cxx:283
cross_Reference()
Constructor.
Definition cross-reference.cxx:54
~cross_Reference() noexcept
Destructor.
Definition cross-reference.cxx:68
cross_Reference(cross_Reference const &)
Constructor.
void set_offset(Identity, int64_t)
Set the offset of a used entry.
Definition cross-reference.cxx:126
COS file format implementation namespace.
Definition array.cxx:6
Represents a free entry in the cross-reference table.
Definition cross-reference.cxx:14
Represents a used entry in the cross-reference table.
Definition cross-reference.cxx:32
Represents the identity of an indirect object.
Definition types.hxx:81