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 433 of file Statistics.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 438 of file Statistics.hpp.

◆ iterator_category

Definition at line 436 of file Statistics.hpp.

◆ pointer

Definition at line 439 of file Statistics.hpp.

◆ reference

Definition at line 440 of file Statistics.hpp.

◆ value_type

Definition at line 437 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 445 of file Statistics.hpp.

Member Function Documentation

◆ GetStatistics()

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

Definition at line 451 of file Statistics.hpp.

◆ operator!=()

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

Definition at line 491 of file Statistics.hpp.

◆ operator*()

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

Definition at line 457 of file Statistics.hpp.

◆ operator++() [1/2]

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

Definition at line 470 of file Statistics.hpp.

◆ operator++() [2/2]

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

Definition at line 477 of file Statistics.hpp.

◆ operator->()

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

Definition at line 464 of file Statistics.hpp.

◆ operator==()

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

Definition at line 485 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 497 of file Statistics.hpp.

◆ StatisticsCollector

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

Definition at line 443 of file Statistics.hpp.


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