OKlibrary  0.2.1.6
OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor > Class Template Reference

Helper base class for enumerating test cases. More...

#include <TestAlgorithms.hpp>

Inheritance diagram for OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >:
OKlib::TestSystem::Test OKlib::TestExecutionTools::AllCombinations< Dim, InputRange, Functor > OKlib::TestExecutionTools::AllVariations< Dim, InputRange, Functor >

List of all members.

Public Types

enum  { dim = Dim }
typedef InputRange input_range_type
typedef Functor functor_type
typedef
boost::range_const_iterator
< input_range_type >::type 
iterator

Public Member Functions

 EnumerationBase (const input_range_type &r_)

Protected Attributes

const input_range_typer
const iterator begin
const iterator end

Detailed Description

template<int Dim, class InputRange, class Functor>
class OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >

Helper base class for enumerating test cases.

Definition at line 34 of file TestAlgorithms.hpp.


Member Typedef Documentation

template<int Dim, class InputRange, class Functor>
typedef Functor OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >::functor_type

Definition at line 36 of file TestAlgorithms.hpp.

template<int Dim, class InputRange, class Functor>
typedef InputRange OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >::input_range_type

Definition at line 35 of file TestAlgorithms.hpp.

template<int Dim, class InputRange, class Functor>
typedef boost::range_const_iterator<input_range_type>::type OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >::iterator

Definition at line 38 of file TestAlgorithms.hpp.


Member Enumeration Documentation

template<int Dim, class InputRange, class Functor>
anonymous enum
Enumerator:
dim 

Definition at line 37 of file TestAlgorithms.hpp.


Constructor & Destructor Documentation

template<int Dim, class InputRange, class Functor>
OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >::EnumerationBase ( const input_range_type r_) [inline]

Definition at line 39 of file TestAlgorithms.hpp.


Member Data Documentation

template<int Dim, class InputRange, class Functor>
const iterator OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >::begin [protected]

Definition at line 42 of file TestAlgorithms.hpp.

template<int Dim, class InputRange, class Functor>
const iterator OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >::end [protected]

Definition at line 43 of file TestAlgorithms.hpp.

template<int Dim, class InputRange, class Functor>
const input_range_type& OKlib::TestExecutionTools::EnumerationBase< Dim, InputRange, Functor >::r [protected]

Definition at line 41 of file TestAlgorithms.hpp.


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