Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
benchmark::State::StateIterator Struct Reference

#include <benchmark.h>

Classes

struct  Value
 

Public Types

typedef std::ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 
typedef Value pointer
 
typedef Value reference
 
typedef Value value_type
 

Public Member Functions

BENCHMARK_ALWAYS_INLINE bool operator!= (StateIterator const &) const
 
BENCHMARK_ALWAYS_INLINE Value operator* () const
 
BENCHMARK_ALWAYS_INLINE StateIteratoroperator++ ()
 

Private Member Functions

BENCHMARK_ALWAYS_INLINE StateIterator ()
 
BENCHMARK_ALWAYS_INLINE StateIterator (State *st)
 

Private Attributes

IterationCount cached_
 
State *const parent_
 

Friends

class State
 

Detailed Description

Definition at line 776 of file benchmark/include/benchmark/benchmark.h.

Member Typedef Documentation

◆ difference_type

Definition at line 782 of file benchmark/include/benchmark/benchmark.h.

◆ iterator_category

typedef std::forward_iterator_tag benchmark::State::StateIterator::iterator_category

Definition at line 778 of file benchmark/include/benchmark/benchmark.h.

◆ pointer

Definition at line 781 of file benchmark/include/benchmark/benchmark.h.

◆ reference

Definition at line 780 of file benchmark/include/benchmark/benchmark.h.

◆ value_type

Definition at line 779 of file benchmark/include/benchmark/benchmark.h.

Constructor & Destructor Documentation

◆ StateIterator() [1/2]

BENCHMARK_ALWAYS_INLINE benchmark::State::StateIterator::StateIterator ( )
inlineprivate

Definition at line 787 of file benchmark/include/benchmark/benchmark.h.

◆ StateIterator() [2/2]

BENCHMARK_ALWAYS_INLINE benchmark::State::StateIterator::StateIterator ( State st)
inlineexplicitprivate

Definition at line 790 of file benchmark/include/benchmark/benchmark.h.

Member Function Documentation

◆ operator!=()

BENCHMARK_ALWAYS_INLINE bool benchmark::State::StateIterator::operator!= ( StateIterator const ) const
inline

Definition at line 805 of file benchmark/include/benchmark/benchmark.h.

◆ operator*()

BENCHMARK_ALWAYS_INLINE Value benchmark::State::StateIterator::operator* ( ) const
inline

Definition at line 795 of file benchmark/include/benchmark/benchmark.h.

◆ operator++()

BENCHMARK_ALWAYS_INLINE StateIterator& benchmark::State::StateIterator::operator++ ( )
inline

Definition at line 798 of file benchmark/include/benchmark/benchmark.h.

Friends And Related Function Documentation

◆ State

friend class State
friend

Definition at line 785 of file benchmark/include/benchmark/benchmark.h.

Member Data Documentation

◆ cached_

IterationCount benchmark::State::StateIterator::cached_
private

Definition at line 812 of file benchmark/include/benchmark/benchmark.h.

◆ parent_

State* const benchmark::State::StateIterator::parent_
private

Definition at line 813 of file benchmark/include/benchmark/benchmark.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57