Go to the documentation of this file.
34 #ifndef TTA_REFERENCEKEY_HH
35 #define TTA_REFERENCEKEY_HH
40 namespace ReferenceManager {
HalfWord SectionId
Type for storing binary file section ids.
FileOffset fileOffset() const
SectionIndexKey(SectionId sectionId, SectionIndex index)
SectionOffset offset() const
bool operator<(const SectionIndexKey &other) const
SectionOffsetKey(SectionId sectionId, SectionOffset offset)
bool operator==(const SectionKey &other) const
SectionIndex index() const
bool operator!=(const SectionIndexKey &other) const
FileOffsetKey(FileOffset fileOffset)
bool operator<(const FileOffsetKey &other) const
SectionId sectionId_
Identification code of the section that contains the element this key points to.
bool operator!=(const SectionKey &other) const
SectionId sectionId() const
SectionIndex index_
Index of the element this key points to.
bool operator==(const SectionIndexKey &other) const
SectionOffset offset_
Byte offset relative to section start to the element this key points to.
virtual ~SectionIndexKey()
bool operator!=(const FileOffsetKey &other) const
FileOffset fileOffset_
File offset of the element this key points to.
bool operator<(const SectionKey &other) const
SectionId sectionId() const
SectionId sectionId() const
bool operator!=(const SectionOffsetKey &other) const
SectionId sectionId_
Identification code of the section that contains the element this key points to.
Word FileOffset
Type for storing absolute file offsets.
bool operator<(const SectionOffsetKey &other) const
Word SectionOffset
Type for storing offsets relative to a given base offset value.
SectionId sectionId_
Section Identification code of the section that contains the element this key points to.
virtual ~SectionOffsetKey()
SectionKey(SectionId sectionId)
bool operator==(const SectionOffsetKey &other) const
Word SectionIndex
Type for storing section indexes.
bool operator==(const FileOffsetKey &other) const