Jlm
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
jlm::util::AnnotationMap::ConstIterator Class Referencefinal

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Annotation
 
using difference_type = std::ptrdiff_t
 
using pointer = Annotation *
 
using reference = Annotation &
 

Public Member Functions

const std::vector< Annotation > & Annotations () const noexcept
 
const std::vector< Annotation > & operator* () const
 
const std::vector< Annotation > * operator-> () const
 
ConstIteratoroperator++ ()
 
ConstIterator operator++ (int)
 
bool operator== (const ConstIterator &other) const
 
bool operator!= (const ConstIterator &other) const
 

Private Member Functions

 ConstIterator (const typename AnnotationMapType::const_iterator &it)
 

Private Attributes

friend AnnotationMap
 
AnnotationMapType::const_iterator It_ = {}
 

Detailed Description

Definition at line 105 of file AnnotationMap.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 110 of file AnnotationMap.hpp.

◆ iterator_category

Definition at line 108 of file AnnotationMap.hpp.

◆ pointer

Definition at line 111 of file AnnotationMap.hpp.

◆ reference

Definition at line 112 of file AnnotationMap.hpp.

◆ value_type

Definition at line 109 of file AnnotationMap.hpp.

Constructor & Destructor Documentation

◆ ConstIterator()

jlm::util::AnnotationMap::ConstIterator::ConstIterator ( const typename AnnotationMapType::const_iterator &  it)
inlineexplicitprivate

Definition at line 117 of file AnnotationMap.hpp.

Member Function Documentation

◆ Annotations()

const std::vector<Annotation>& jlm::util::AnnotationMap::ConstIterator::Annotations ( ) const
inlinenoexcept

Definition at line 123 of file AnnotationMap.hpp.

◆ operator!=()

bool jlm::util::AnnotationMap::ConstIterator::operator!= ( const ConstIterator other) const
inline

Definition at line 162 of file AnnotationMap.hpp.

◆ operator*()

const std::vector<Annotation>& jlm::util::AnnotationMap::ConstIterator::operator* ( ) const
inline

Definition at line 129 of file AnnotationMap.hpp.

◆ operator++() [1/2]

ConstIterator& jlm::util::AnnotationMap::ConstIterator::operator++ ( )
inline

Definition at line 141 of file AnnotationMap.hpp.

◆ operator++() [2/2]

ConstIterator jlm::util::AnnotationMap::ConstIterator::operator++ ( int  )
inline

Definition at line 148 of file AnnotationMap.hpp.

◆ operator->()

const std::vector<Annotation>* jlm::util::AnnotationMap::ConstIterator::operator-> ( ) const
inline

Definition at line 135 of file AnnotationMap.hpp.

◆ operator==()

bool jlm::util::AnnotationMap::ConstIterator::operator== ( const ConstIterator other) const
inline

Definition at line 156 of file AnnotationMap.hpp.

Member Data Documentation

◆ AnnotationMap

friend jlm::util::AnnotationMap::ConstIterator::AnnotationMap
private

Definition at line 115 of file AnnotationMap.hpp.

◆ It_

AnnotationMapType::const_iterator jlm::util::AnnotationMap::ConstIterator::It_ = {}
private

Definition at line 168 of file AnnotationMap.hpp.


The documentation for this class was generated from the following file: