Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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

 Iterator (const ParamGeneratorInterface< T > *base, T value, int index, IncrementT step)
 
 ~Iterator () override
 
const ParamGeneratorInterface< T > * BaseGenerator () const override
 
void Advance () override
 
ParamIteratorInterface< T > * Clone () const override
 
const TCurrent () const override
 
bool Equals (const ParamIteratorInterface< T > &other) const 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_
 
T value_
 
int index_
 
const IncrementT step_
 

Detailed Description

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

Definition at line 222 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 224 of file gtest-param-util.h.

◆ ~Iterator()

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

Definition at line 227 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 252 of file gtest-param-util.h.

Member Function Documentation

◆ BaseGenerator()

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

◆ Advance()

template<typename T , typename IncrementT >
void testing::internal::RangeGenerator< T, IncrementT >::Iterator::Advance ( )
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 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 261 of file gtest-param-util.h.

◆ index_

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

Definition at line 262 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 263 of file gtest-param-util.h.


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