Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::RangeGenerator< T, IncrementT >::Iterator Class Reference
Inheritance diagram for testing::internal::RangeGenerator< T, IncrementT >::Iterator:
Inheritance graph
[legend]

Public Member Functions

void Advance () override
 
const ParamGeneratorInterface< T > * BaseGenerator () const override
 
ParamIteratorInterface< T > * Clone () const override
 
const TCurrent () const override
 
bool Equals (const ParamIteratorInterface< T > &other) const override
 
 Iterator (const ParamGeneratorInterface< T > *base, T value, int index, IncrementT step)
 
 ~Iterator () override
 
- Public Member Functions inherited from testing::internal::ParamIteratorInterface< T >
virtual ~ParamIteratorInterface ()
 

Private Member Functions

 Iterator (const Iterator &other)
 
void operator= (const Iterator &other)
 

Private Attributes

const ParamGeneratorInterface< T > *const base_
 
int index_
 
const IncrementT step_
 
T value_
 

Detailed Description

template<typename T, typename IncrementT>
class testing::internal::RangeGenerator< T, IncrementT >::Iterator

Definition at line 219 of file gtest-param-util.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename T , typename IncrementT >
testing::internal::RangeGenerator< T, IncrementT >::Iterator::Iterator ( const ParamGeneratorInterface< T > *  base,
T  value,
int  index,
IncrementT  step 
)
inline

Definition at line 221 of file gtest-param-util.h.

◆ ~Iterator()

template<typename T , typename IncrementT >
testing::internal::RangeGenerator< T, IncrementT >::Iterator::~Iterator ( )
inlineoverride

Definition at line 224 of file gtest-param-util.h.

◆ Iterator() [2/2]

template<typename T , typename IncrementT >
testing::internal::RangeGenerator< T, IncrementT >::Iterator::Iterator ( const Iterator other)
inlineprivate

Definition at line 249 of file gtest-param-util.h.

Member Function Documentation

◆ Advance()

template<typename T , typename IncrementT >
void testing::internal::RangeGenerator< T, IncrementT >::Iterator::Advance ( )
inlineoverridevirtual

◆ BaseGenerator()

template<typename T , typename IncrementT >
const ParamGeneratorInterface<T>* testing::internal::RangeGenerator< T, IncrementT >::Iterator::BaseGenerator ( ) const
inlineoverridevirtual

◆ Clone()

template<typename T , typename IncrementT >
ParamIteratorInterface<T>* testing::internal::RangeGenerator< T, IncrementT >::Iterator::Clone ( ) const
inlineoverridevirtual

◆ Current()

template<typename T , typename IncrementT >
const T* testing::internal::RangeGenerator< T, IncrementT >::Iterator::Current ( ) const
inlineoverridevirtual

◆ Equals()

template<typename T , typename IncrementT >
bool testing::internal::RangeGenerator< T, IncrementT >::Iterator::Equals ( const ParamIteratorInterface< T > &  other) const
inlineoverridevirtual

◆ operator=()

template<typename T , typename IncrementT >
void testing::internal::RangeGenerator< T, IncrementT >::Iterator::operator= ( const Iterator other)
private

Member Data Documentation

◆ base_

template<typename T , typename IncrementT >
const ParamGeneratorInterface<T>* const testing::internal::RangeGenerator< T, IncrementT >::Iterator::base_
private

Definition at line 257 of file gtest-param-util.h.

◆ index_

template<typename T , typename IncrementT >
int testing::internal::RangeGenerator< T, IncrementT >::Iterator::index_
private

Definition at line 259 of file gtest-param-util.h.

◆ step_

template<typename T , typename IncrementT >
const IncrementT testing::internal::RangeGenerator< T, IncrementT >::Iterator::step_
private

Definition at line 260 of file gtest-param-util.h.

◆ value_

template<typename T , typename IncrementT >
T testing::internal::RangeGenerator< T, IncrementT >::Iterator::value_
private

Definition at line 258 of file gtest-param-util.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11