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

#include <ReferenceKey.hh>

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

Public Member Functions

 SectionIndexKey (SectionId sectionId, SectionIndex index)
 
virtual ~SectionIndexKey ()
 
bool operator== (const SectionIndexKey &other) const
 
bool operator!= (const SectionIndexKey &other) const
 
bool operator< (const SectionIndexKey &other) const
 
SectionId sectionId () const
 
SectionIndex index () const
 
- Public Member Functions inherited from TPEF::ReferenceManager::ReferenceKey
virtual ~ReferenceKey ()
 

Private Attributes

SectionId sectionId_
 Section Identification code of the section that contains the element this key points to. More...
 
SectionIndex index_
 Index of 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 key one can identify an object by means of a section identification code and the index of the element in the section.

Definition at line 65 of file ReferenceKey.hh.

Constructor & Destructor Documentation

◆ SectionIndexKey()

TPEF::ReferenceManager::SectionIndexKey::SectionIndexKey ( SectionId  sectionId,
SectionIndex  index 
)

The constructor.

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

Definition at line 67 of file ReferenceKey.cc.

67  :
69 }

◆ ~SectionIndexKey()

TPEF::ReferenceManager::SectionIndexKey::~SectionIndexKey ( )
virtual

The destructor.

Definition at line 74 of file ReferenceKey.cc.

74  {
75 }

Member Function Documentation

◆ index()

SectionIndex TPEF::ReferenceManager::SectionIndexKey::index ( ) const

◆ operator!=()

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

◆ operator<()

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

◆ operator==()

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

◆ sectionId()

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

Member Data Documentation

◆ index_

SectionIndex TPEF::ReferenceManager::SectionIndexKey::index_
private

Index of the element this key points to.

Definition at line 82 of file ReferenceKey.hh.

◆ sectionId_

SectionId TPEF::ReferenceManager::SectionIndexKey::sectionId_
private

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

Definition at line 80 of file ReferenceKey.hh.


The documentation for this class was generated from the following files:
TPEF::ReferenceManager::SectionIndexKey::index
SectionIndex index() const
TPEF::ReferenceManager::SectionIndexKey::index_
SectionIndex index_
Index of the element this key points to.
Definition: ReferenceKey.hh:82
TPEF::ReferenceManager::SectionIndexKey::sectionId
SectionId sectionId() const
TPEF::ReferenceManager::ReferenceKey::ReferenceKey
ReferenceKey()
Definition: ReferenceKey.cc:48
TPEF::ReferenceManager::SectionIndexKey::sectionId_
SectionId sectionId_
Section Identification code of the section that contains the element this key points to.
Definition: ReferenceKey.hh:80