Jlm
Loading...
Searching...
No Matches
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 445 of file Statistics.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 450 of file Statistics.hpp.

◆ iterator_category

Definition at line 448 of file Statistics.hpp.

◆ pointer

Definition at line 451 of file Statistics.hpp.

◆ reference

Definition at line 452 of file Statistics.hpp.

◆ value_type

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

Member Function Documentation

◆ GetStatistics()

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

Definition at line 463 of file Statistics.hpp.

◆ operator!=()

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

Definition at line 503 of file Statistics.hpp.

◆ operator*()

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

Definition at line 469 of file Statistics.hpp.

◆ operator++() [1/2]

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

Definition at line 482 of file Statistics.hpp.

◆ operator++() [2/2]

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

Definition at line 489 of file Statistics.hpp.

◆ operator->()

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

Definition at line 476 of file Statistics.hpp.

◆ operator==()

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

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

◆ StatisticsCollector

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

Definition at line 455 of file Statistics.hpp.


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