Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
testing::internal::RangeGenerator< T, IncrementT > Class Template Reference

#include <gtest.h>

Inheritance diagram for testing::internal::RangeGenerator< T, IncrementT >:
Inheritance graph
[legend]

Classes

class  Iterator
 

Public Member Functions

virtual ParamIteratorInterface< T > * Begin () const
 
virtual ParamIteratorInterface< T > * End () const
 
 RangeGenerator (T begin, T end, IncrementT step)
 
virtual ~RangeGenerator ()
 
- Public Member Functions inherited from testing::internal::ParamGeneratorInterface< T >
virtual ~ParamGeneratorInterface ()
 

Private Member Functions

void operator= (const RangeGenerator &other)
 

Static Private Member Functions

static int CalculateEndIndex (const T &begin, const T &end, const IncrementT &step)
 

Private Attributes

const T begin_
 
const T end_
 
const int end_index_
 
const IncrementT step_
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 10182 of file gtest.h.

Constructor & Destructor Documentation

◆ RangeGenerator()

template<typename T , typename IncrementT >
testing::internal::RangeGenerator< T, IncrementT >::RangeGenerator ( begin,
end,
IncrementT  step 
)
inline

Definition at line 10184 of file gtest.h.

◆ ~RangeGenerator()

template<typename T , typename IncrementT >
virtual testing::internal::RangeGenerator< T, IncrementT >::~RangeGenerator ( )
inlinevirtual

Definition at line 10187 of file gtest.h.

Member Function Documentation

◆ Begin()

template<typename T , typename IncrementT >
virtual ParamIteratorInterface<T>* testing::internal::RangeGenerator< T, IncrementT >::Begin ( ) const
inlinevirtual

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

Definition at line 10189 of file gtest.h.

◆ CalculateEndIndex()

template<typename T , typename IncrementT >
static int testing::internal::RangeGenerator< T, IncrementT >::CalculateEndIndex ( const T &  begin,
const T &  end,
const IncrementT &  step 
)
inlinestaticprivate

Definition at line 10241 of file gtest.h.

◆ End()

template<typename T , typename IncrementT >
virtual ParamIteratorInterface<T>* testing::internal::RangeGenerator< T, IncrementT >::End ( ) const
inlinevirtual

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

Definition at line 10192 of file gtest.h.

◆ operator=()

template<typename T , typename IncrementT >
void testing::internal::RangeGenerator< T, IncrementT >::operator= ( const RangeGenerator< T, IncrementT > &  other)
private

Member Data Documentation

◆ begin_

template<typename T , typename IncrementT >
const T testing::internal::RangeGenerator< T, IncrementT >::begin_
private

Definition at line 10253 of file gtest.h.

◆ end_

template<typename T , typename IncrementT >
const T testing::internal::RangeGenerator< T, IncrementT >::end_
private

Definition at line 10254 of file gtest.h.

◆ end_index_

template<typename T , typename IncrementT >
const int testing::internal::RangeGenerator< T, IncrementT >::end_index_
private

Definition at line 10258 of file gtest.h.

◆ step_

template<typename T , typename IncrementT >
const IncrementT testing::internal::RangeGenerator< T, IncrementT >::step_
private

Definition at line 10255 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 Mon Feb 28 2022 22:18:07