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

Public Member Functions

virtual void Advance ()
 
virtual const ParamGeneratorInterface< ParamType > * BaseGenerator () const
 
virtual ParamIteratorInterface< ParamType > * Clone () const
 
virtual const ParamTypeCurrent () const
 
virtual bool Equals (const ParamIteratorInterface< ParamType > &other) const
 
 Iterator (const ParamGeneratorInterface< ParamType > *base, const ParamGenerator< T1 > &g1, const typename ParamGenerator< T1 >::iterator &current1, const ParamGenerator< T2 > &g2, const typename ParamGenerator< T2 >::iterator &current2)
 
virtual ~Iterator ()
 
- Public Member Functions inherited from testing::internal::ParamIteratorInterface< ParamType >
virtual bool Equals (const ParamIteratorInterface &other) const =0
 
virtual ~ParamIteratorInterface ()
 

Private Member Functions

bool AtEnd () const
 
void ComputeCurrentValue ()
 
 Iterator (const Iterator &other)
 
void operator= (const Iterator &other)
 

Private Attributes

const ParamGeneratorInterface< ParamType > *const base_
 
const ParamGenerator< T1 >::iterator begin1_
 
const ParamGenerator< T2 >::iterator begin2_
 
ParamGenerator< T1 >::iterator current1_
 
ParamGenerator< T2 >::iterator current2_
 
ParamType current_value_
 
const ParamGenerator< T1 >::iterator end1_
 
const ParamGenerator< T2 >::iterator end2_
 

Detailed Description

template<typename T1, typename T2>
class testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator

Definition at line 13793 of file gtest.h.

Constructor & Destructor Documentation

template<typename T1 , typename T2 >
testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::Iterator ( const ParamGeneratorInterface< ParamType > *  base,
const ParamGenerator< T1 > &  g1,
const typename ParamGenerator< T1 >::iterator &  current1,
const ParamGenerator< T2 > &  g2,
const typename ParamGenerator< T2 >::iterator &  current2 
)
inline

Definition at line 13795 of file gtest.h.

template<typename T1 , typename T2 >
virtual testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::~Iterator ( )
inlinevirtual

Definition at line 13805 of file gtest.h.

template<typename T1 , typename T2 >
testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::Iterator ( const Iterator other)
inlineprivate

Definition at line 13843 of file gtest.h.

Member Function Documentation

template<typename T1 , typename T2 >
virtual void testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::Advance ( )
inlinevirtual

Implements testing::internal::ParamIteratorInterface< ParamType >.

Definition at line 13812 of file gtest.h.

template<typename T1 , typename T2 >
bool testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::AtEnd ( ) const
inlineprivate

Definition at line 13858 of file gtest.h.

template<typename T1 , typename T2 >
virtual const ParamGeneratorInterface<ParamType>* testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::BaseGenerator ( ) const
inlinevirtual

Implements testing::internal::ParamIteratorInterface< ParamType >.

Definition at line 13807 of file gtest.h.

template<typename T1 , typename T2 >
virtual ParamIteratorInterface<ParamType>* testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::Clone ( ) const
inlinevirtual

Implements testing::internal::ParamIteratorInterface< ParamType >.

Definition at line 13821 of file gtest.h.

template<typename T1 , typename T2 >
void testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::ComputeCurrentValue ( )
inlineprivate

Definition at line 13854 of file gtest.h.

template<typename T1 , typename T2 >
virtual const ParamType* testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::Current ( ) const
inlinevirtual

Implements testing::internal::ParamIteratorInterface< ParamType >.

Definition at line 13824 of file gtest.h.

template<typename T1 , typename T2 >
virtual bool testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::Equals ( const ParamIteratorInterface< ParamType > &  other) const
inlinevirtual

Definition at line 13825 of file gtest.h.

template<typename T1 , typename T2 >
void testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::operator= ( const Iterator other)
private

Member Data Documentation

template<typename T1 , typename T2 >
const ParamGeneratorInterface<ParamType>* const testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::base_
private

Definition at line 13869 of file gtest.h.

template<typename T1 , typename T2 >
const ParamGenerator<T1>::iterator testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::begin1_
private

Definition at line 13872 of file gtest.h.

template<typename T1 , typename T2 >
const ParamGenerator<T2>::iterator testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::begin2_
private

Definition at line 13875 of file gtest.h.

template<typename T1 , typename T2 >
ParamGenerator<T1>::iterator testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::current1_
private

Definition at line 13874 of file gtest.h.

template<typename T1 , typename T2 >
ParamGenerator<T2>::iterator testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::current2_
private

Definition at line 13877 of file gtest.h.

template<typename T1 , typename T2 >
ParamType testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::current_value_
private

Definition at line 13878 of file gtest.h.

template<typename T1 , typename T2 >
const ParamGenerator<T1>::iterator testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::end1_
private

Definition at line 13873 of file gtest.h.

template<typename T1 , typename T2 >
const ParamGenerator<T2>::iterator testing::internal::CartesianProductGenerator2< T1, T2 >::Iterator::end2_
private

Definition at line 13876 of file gtest.h.


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


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Wed Mar 27 2019 03:02:16