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::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > > Class Template Reference
Inheritance diagram for testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >:
Inheritance graph
[legend]

Public Member Functions

 IteratorImpl (const ParamGeneratorInterface< ParamType > *base, const std::tuple< ParamGenerator< T >... > &generators, bool is_end)
 
 ~IteratorImpl () override
 
const ParamGeneratorInterface< ParamType > * BaseGenerator () const override
 
void Advance () override
 
ParamIteratorInterface< ParamType > * Clone () const override
 
const ParamTypeCurrent () const override
 
bool Equals (const ParamIteratorInterface< ParamType > &other) const override
 
- Public Member Functions inherited from testing::internal::ParamIteratorInterface< ParamType >
virtual ~ParamIteratorInterface ()
 
virtual const ParamGeneratorInterface< ParamType > * BaseGenerator () const=0
 
virtual void Advance ()=0
 
virtual ParamIteratorInterfaceClone () const=0
 
virtual const ParamType * Current () const=0
 
virtual bool Equals (const ParamIteratorInterface &other) const=0
 

Private Member Functions

template<size_t ThisI>
void AdvanceIfEnd ()
 
void ComputeCurrentValue ()
 
bool AtEnd () const
 

Private Attributes

const ParamGeneratorInterface< ParamType > *const base_
 
std::tuple< typename ParamGenerator< T >::iterator... > begin_
 
std::tuple< typename ParamGenerator< T >::iterator... > end_
 
std::tuple< typename ParamGenerator< T >::iterator... > current_
 
std::shared_ptr< ParamTypecurrent_value_
 

Detailed Description

template<typename... T>
template<size_t... I>
class testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >

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

Constructor & Destructor Documentation

◆ IteratorImpl()

template<typename... T>
template<size_t... I>
testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::IteratorImpl ( const ParamGeneratorInterface< ParamType > *  base,
const std::tuple< ParamGenerator< T >... > &  generators,
bool  is_end 
)
inline

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

◆ ~IteratorImpl()

template<typename... T>
template<size_t... I>
testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::~IteratorImpl ( )
inlineoverride

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

Member Function Documentation

◆ BaseGenerator()

template<typename... T>
template<size_t... I>
const ParamGeneratorInterface< ParamType > * testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::BaseGenerator ( ) const
inlineoverridevirtual

◆ Advance()

template<typename... T>
template<size_t... I>
void testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::Advance ( )
inlineoverridevirtual

◆ Clone()

template<typename... T>
template<size_t... I>
ParamIteratorInterface< ParamType > * testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::Clone ( ) const
inlineoverridevirtual

◆ Current()

template<typename... T>
template<size_t... I>
const ParamType * testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::Current ( ) const
inlineoverridevirtual

◆ Equals()

template<typename... T>
template<size_t... I>
bool testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::Equals ( const ParamIteratorInterface< ParamType > &  other) const
inlineoverride

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

◆ AdvanceIfEnd()

template<typename... T>
template<size_t... I>
template<size_t ThisI>
void testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::AdvanceIfEnd ( )
inlineprivate

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

◆ ComputeCurrentValue()

template<typename... T>
template<size_t... I>
void testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::ComputeCurrentValue ( )
inlineprivate

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

◆ AtEnd()

template<typename... T>
template<size_t... I>
bool testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::AtEnd ( ) const
inlineprivate

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

Member Data Documentation

◆ base_

template<typename... T>
template<size_t... I>
const ParamGeneratorInterface<ParamType>* const testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::base_
private

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

◆ begin_

template<typename... T>
template<size_t... I>
std::tuple<typename ParamGenerator<T>::iterator...> testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::begin_
private

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

◆ end_

template<typename... T>
template<size_t... I>
std::tuple<typename ParamGenerator<T>::iterator...> testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::end_
private

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

◆ current_

template<typename... T>
template<size_t... I>
std::tuple<typename ParamGenerator<T>::iterator...> testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::current_
private

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

◆ current_value_

template<typename... T>
template<size_t... I>
std::shared_ptr<ParamType> testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I... > >::current_value_
private

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


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