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

Public Types

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

Public Member Functions

const StatisticsGetStatistics () const noexcept
 
const Statisticsoperator* () const
 
const Statisticsoperator-> () const
 
StatisticsIteratoroperator++ ()
 
StatisticsIterator operator++ (int)
 
bool operator== (const StatisticsIterator &other) const
 
bool operator!= (const StatisticsIterator &other) const
 

Private Member Functions

 StatisticsIterator (const std::vector< std::unique_ptr< Statistics >>::const_iterator &it)
 

Private Attributes

friend StatisticsCollector
 
std::vector< std::unique_ptr< Statistics > >::const_iterator it_
 

Detailed Description

Definition at line 444 of file Statistics.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 449 of file Statistics.hpp.

◆ iterator_category

Definition at line 447 of file Statistics.hpp.

◆ pointer

Definition at line 450 of file Statistics.hpp.

◆ reference

Definition at line 451 of file Statistics.hpp.

◆ value_type

Definition at line 448 of file Statistics.hpp.

Constructor & Destructor Documentation

◆ StatisticsIterator()

jlm::util::StatisticsCollector::StatisticsIterator::StatisticsIterator ( const std::vector< std::unique_ptr< Statistics >>::const_iterator &  it)
inlineexplicitprivate

Definition at line 456 of file Statistics.hpp.

Member Function Documentation

◆ GetStatistics()

const Statistics* jlm::util::StatisticsCollector::StatisticsIterator::GetStatistics ( ) const
inlinenoexcept

Definition at line 462 of file Statistics.hpp.

◆ operator!=()

bool jlm::util::StatisticsCollector::StatisticsIterator::operator!= ( const StatisticsIterator other) const
inline

Definition at line 502 of file Statistics.hpp.

◆ operator*()

const Statistics& jlm::util::StatisticsCollector::StatisticsIterator::operator* ( ) const
inline

Definition at line 468 of file Statistics.hpp.

◆ operator++() [1/2]

StatisticsIterator& jlm::util::StatisticsCollector::StatisticsIterator::operator++ ( )
inline

Definition at line 481 of file Statistics.hpp.

◆ operator++() [2/2]

StatisticsIterator jlm::util::StatisticsCollector::StatisticsIterator::operator++ ( int  )
inline

Definition at line 488 of file Statistics.hpp.

◆ operator->()

const Statistics* jlm::util::StatisticsCollector::StatisticsIterator::operator-> ( ) const
inline

Definition at line 475 of file Statistics.hpp.

◆ operator==()

bool jlm::util::StatisticsCollector::StatisticsIterator::operator== ( const StatisticsIterator other) const
inline

Definition at line 496 of file Statistics.hpp.

Member Data Documentation

◆ it_

std::vector<std::unique_ptr<Statistics> >::const_iterator jlm::util::StatisticsCollector::StatisticsIterator::it_
private

Definition at line 508 of file Statistics.hpp.

◆ StatisticsCollector

friend jlm::util::StatisticsCollector::StatisticsIterator::StatisticsCollector
private

Definition at line 454 of file Statistics.hpp.


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