Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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

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.

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

template<typename... T>
template<size_t... I>
const ParamGeneratorInterface<ParamType>* testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I...> >::BaseGenerator ( ) const
inlineoverridevirtual
template<typename... T>
template<size_t... I>
void testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I...> >::Advance ( )
inlineoverridevirtual
template<typename... T>
template<size_t... I>
ParamIteratorInterface<ParamType>* testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I...> >::Clone ( ) const
inlineoverridevirtual
template<typename... T>
template<size_t... I>
const ParamType* testing::internal::CartesianProductGenerator< T >::IteratorImpl< IndexSequence< I...> >::Current ( ) const
inlineoverridevirtual
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.

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.

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.

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

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.

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.

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.

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.

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: