All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
TestDataMakerClass< Cont > Struct Template Reference
Inheritance diagram for TestDataMakerClass< Cont >:
TestDataMakerBase

Public Types

using Container_t = Cont
 

Static Public Member Functions

static Container_t make ()
 
- Static Public Member Functions inherited from TestDataMakerBase
static constexpr std::size_t sourceSize ()
 

Additional Inherited Members

- Static Public Attributes inherited from TestDataMakerBase
static constexpr std::size_t Dim = 10U
 
static std::array< int, Dim > const sourceValues {{ 0, -1, -2, -3, -4, -5, -6, -7, -8, -9 }}
 

Detailed Description

template<typename Cont>
struct TestDataMakerClass< Cont >

Definition at line 45 of file MappedContainer_test.cc.

Member Typedef Documentation

template<typename Cont>
using TestDataMakerClass< Cont >::Container_t = Cont

Definition at line 46 of file MappedContainer_test.cc.

Member Function Documentation

template<typename Cont>
static Container_t TestDataMakerClass< Cont >::make ( )
inlinestatic

Definition at line 47 of file MappedContainer_test.cc.

48  {
49  Container_t data;
50  std::copy
51  (sourceValues.cbegin(), sourceValues.cend(), std::back_inserter(data));
52  return data;
53  }
static std::array< int, Dim > const sourceValues
T copy(T const &v)

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