Elements
5.10
A C++ base framework for the Euclid Software.
ElementsExamples
ElementsExamples
TemplatedDataSourceUser.h
Go to the documentation of this file.
1
27
#ifndef ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_TEMPLATEDDATASOURCEUSER_H_
28
#define ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_TEMPLATEDDATASOURCEUSER_H_
29
30
namespace
Elements
{
31
namespace
Examples {
32
39
class
TemplatedDataSourceUser
{
40
public
:
41
56
template
<
typename
T>
57
double
sumRecords
(
const
T& data_source);
58
};
59
60
}
// namespace Examples
61
}
// namespace Elements
62
63
#include "
ElementsExamples/_impl/TemplatedDataSourceUser.icpp
"
64
65
#endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_TEMPLATEDDATASOURCEUSER_H_
66
TemplatedDataSourceUser.icpp
Elements
Definition:
ClassExample.h:38
Elements::Examples::TemplatedDataSourceUser
This class has been created to demonstrate unit testing. It manipulate an object representing a DataS...
Definition:
TemplatedDataSourceUser.h:39
Elements::Examples::TemplatedDataSourceUser::sumRecords
double sumRecords(const T &data_source)
Compute the sum of the values of the records stored into the provided DataSource.
Generated by
1.8.15