OpenASIP
2.0
|
#include <ReferenceKey.hh>
Public Member Functions | |
SectionOffsetKey (SectionId sectionId, SectionOffset offset) | |
virtual | ~SectionOffsetKey () |
SectionId | sectionId () const |
SectionOffset | offset () const |
bool | operator== (const SectionOffsetKey &other) const |
bool | operator!= (const SectionOffsetKey &other) const |
bool | operator< (const SectionOffsetKey &other) const |
Public Member Functions inherited from TPEF::ReferenceManager::ReferenceKey | |
virtual | ~ReferenceKey () |
Private Attributes | |
SectionId | sectionId_ |
Identification code of the section that contains the element this key points to. More... | |
SectionOffset | offset_ |
Byte offset relative to section start to the element this key points to. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TPEF::ReferenceManager::ReferenceKey | |
ReferenceKey () | |
With this type of keys one can identify objects by means of a section identification code and a byte offset in the section.
Definition at line 93 of file ReferenceKey.hh.
TPEF::ReferenceManager::SectionOffsetKey::SectionOffsetKey | ( | SectionId | sectionId, |
SectionOffset | offset | ||
) |
The constructor.
sectionId | Identification code of the section. |
offset | Offset of the element in section. |
Definition at line 87 of file ReferenceKey.cc.
|
virtual |
SectionOffset TPEF::ReferenceManager::SectionOffsetKey::offset | ( | ) | const |
bool TPEF::ReferenceManager::SectionOffsetKey::operator!= | ( | const SectionOffsetKey & | other | ) | const |
bool TPEF::ReferenceManager::SectionOffsetKey::operator< | ( | const SectionOffsetKey & | other | ) | const |
bool TPEF::ReferenceManager::SectionOffsetKey::operator== | ( | const SectionOffsetKey & | other | ) | const |
SectionId TPEF::ReferenceManager::SectionOffsetKey::sectionId | ( | ) | const |
|
private |
Byte offset relative to section start to the element this key points to.
Definition at line 111 of file ReferenceKey.hh.
|
private |
Identification code of the section that contains the element this key points to.
Definition at line 108 of file ReferenceKey.hh.