tesseract v5.3.3.20231005
testing::internal::CartesianProductGenerator< T > Class Template Reference

#include <gtest-param-util.h>

Inheritance diagram for testing::internal::CartesianProductGenerator< T >:
testing::internal::ParamGeneratorInterface<::std::tuple< T... > >

Public Types

typedef ::std::tuple< T... > ParamType
 
- Public Types inherited from testing::internal::ParamGeneratorInterface<::std::tuple< T... > >
typedef ::std::tuple< T... > ParamType
 

Public Member Functions

 CartesianProductGenerator (const std::tuple< ParamGenerator< T >... > &g)
 
 ~CartesianProductGenerator () override
 
ParamIteratorInterface< ParamType > * Begin () const override
 
ParamIteratorInterface< ParamType > * End () const override
 
- Public Member Functions inherited from testing::internal::ParamGeneratorInterface<::std::tuple< T... > >
virtual ~ParamGeneratorInterface ()
 
virtual ParamIteratorInterface< ::std::tuple< T... > > * Begin () const=0
 
virtual ParamIteratorInterface< ::std::tuple< T... > > * End () const=0
 

Detailed Description

template<typename... T>
class testing::internal::CartesianProductGenerator< T >

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

Member Typedef Documentation

◆ ParamType

template<typename... T>
typedef ::std::tuple<T...> testing::internal::CartesianProductGenerator< T >::ParamType

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

Constructor & Destructor Documentation

◆ CartesianProductGenerator()

template<typename... T>
testing::internal::CartesianProductGenerator< T >::CartesianProductGenerator ( const std::tuple< ParamGenerator< T >... > &  g)
inline

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

821 : generators_(g) {}

◆ ~CartesianProductGenerator()

template<typename... T>
testing::internal::CartesianProductGenerator< T >::~CartesianProductGenerator ( )
inlineoverride

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

822{}

Member Function Documentation

◆ Begin()

template<typename... T>
ParamIteratorInterface< ParamType > * testing::internal::CartesianProductGenerator< T >::Begin ( ) const
inlineoverridevirtual

Implements testing::internal::ParamGeneratorInterface<::std::tuple< T... > >.

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

824 {
825 return new Iterator(this, generators_, false);
826 }

◆ End()

template<typename... T>
ParamIteratorInterface< ParamType > * testing::internal::CartesianProductGenerator< T >::End ( ) const
inlineoverridevirtual

Implements testing::internal::ParamGeneratorInterface<::std::tuple< T... > >.

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

827 {
828 return new Iterator(this, generators_, true);
829 }

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