CellModules
Catch::ValuesGenerator< T > Class Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::ValuesGenerator< T >:
Catch::IGenerator< T >

Public Member Functions

 ValuesGenerator ()
 
void add (T value)
 
virtual T getValue (std::size_t index) const
 
virtual std::size_t size () const
 

Private Attributes

std::vector< T > m_values
 

Detailed Description

template<typename T>
class Catch::ValuesGenerator< T >

Definition at line 1868 of file catch.hpp.

Constructor & Destructor Documentation

◆ ValuesGenerator()

template<typename T >
Catch::ValuesGenerator< T >::ValuesGenerator ( )
inline

Definition at line 1870 of file catch.hpp.

Member Function Documentation

◆ add()

template<typename T >
void Catch::ValuesGenerator< T >::add ( value)
inline

Definition at line 1872 of file catch.hpp.

◆ getValue()

template<typename T >
virtual T Catch::ValuesGenerator< T >::getValue ( std::size_t  index) const
inlinevirtual

Implements Catch::IGenerator< T >.

Definition at line 1876 of file catch.hpp.

◆ size()

template<typename T >
virtual std::size_t Catch::ValuesGenerator< T >::size ( ) const
inlinevirtual

Implements Catch::IGenerator< T >.

Definition at line 1880 of file catch.hpp.

Member Data Documentation

◆ m_values

template<typename T >
std::vector<T> Catch::ValuesGenerator< T >::m_values
private

Definition at line 1885 of file catch.hpp.


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