OpenASIP  2.0
Public Member Functions | Private Attributes | List of all members
TPEF::ReferenceManager::SectionOffsetKey Class Reference

#include <ReferenceKey.hh>

Inheritance diagram for TPEF::ReferenceManager::SectionOffsetKey:
Inheritance graph
Collaboration diagram for TPEF::ReferenceManager::SectionOffsetKey:
Collaboration graph

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SectionOffsetKey()

TPEF::ReferenceManager::SectionOffsetKey::SectionOffsetKey ( SectionId  sectionId,
SectionOffset  offset 
)

The constructor.

Parameters
sectionIdIdentification code of the section.
offsetOffset of the element in section.

Definition at line 87 of file ReferenceKey.cc.

87  :
89 }

◆ ~SectionOffsetKey()

TPEF::ReferenceManager::SectionOffsetKey::~SectionOffsetKey ( )
virtual

The destructor.

Definition at line 94 of file ReferenceKey.cc.

94  {
95 }

Member Function Documentation

◆ offset()

SectionOffset TPEF::ReferenceManager::SectionOffsetKey::offset ( ) const

◆ operator!=()

bool TPEF::ReferenceManager::SectionOffsetKey::operator!= ( const SectionOffsetKey other) const

◆ operator<()

bool TPEF::ReferenceManager::SectionOffsetKey::operator< ( const SectionOffsetKey other) const

◆ operator==()

bool TPEF::ReferenceManager::SectionOffsetKey::operator== ( const SectionOffsetKey other) const

◆ sectionId()

SectionId TPEF::ReferenceManager::SectionOffsetKey::sectionId ( ) const

Member Data Documentation

◆ offset_

SectionOffset TPEF::ReferenceManager::SectionOffsetKey::offset_
private

Byte offset relative to section start to the element this key points to.

Definition at line 111 of file ReferenceKey.hh.

◆ sectionId_

SectionId TPEF::ReferenceManager::SectionOffsetKey::sectionId_
private

Identification code of the section that contains the element this key points to.

Definition at line 108 of file ReferenceKey.hh.


The documentation for this class was generated from the following files:
TPEF::ReferenceManager::SectionOffsetKey::offset
SectionOffset offset() const
TPEF::ReferenceManager::SectionOffsetKey::sectionId_
SectionId sectionId_
Identification code of the section that contains the element this key points to.
Definition: ReferenceKey.hh:108
TPEF::ReferenceManager::SectionOffsetKey::offset_
SectionOffset offset_
Byte offset relative to section start to the element this key points to.
Definition: ReferenceKey.hh:111
TPEF::ReferenceManager::SectionOffsetKey::sectionId
SectionId sectionId() const
TPEF::ReferenceManager::ReferenceKey::ReferenceKey
ReferenceKey()
Definition: ReferenceKey.cc:48