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

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

Classes

class  Iterator
 

Public Member Functions

 RangeGenerator (T begin, T end, IncrementT step)
 
 ~RangeGenerator () override
 
ParamIteratorInterface< T > * Begin () const override
 
ParamIteratorInterface< T > * End () const override
 
- 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 IncrementT step_
 
const int end_index_
 

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 207 of file gtest-param-util.h.

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

template<typename T , typename IncrementT >
ParamIteratorInterface<T>* testing::internal::RangeGenerator< T, IncrementT >::Begin ( ) const
inlineoverridevirtual
template<typename T , typename IncrementT >
ParamIteratorInterface<T>* testing::internal::RangeGenerator< T, IncrementT >::End ( ) const
inlineoverridevirtual
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 266 of file gtest-param-util.h.

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

Member Data Documentation

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

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

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

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

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

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

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

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


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