Elements
6.0.1
A C++ base framework for the Euclid Software.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
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
:
55
template
<
typename
T>
56
double
sumRecords
(
const
T& data_source);
57
};
58
59
}
// namespace Examples
60
}
// namespace Elements
61
62
#define ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_TEMPLATEDDATASOURCEUSER_IMPL_
63
#include "
ElementsExamples/_impl/TemplatedDataSourceUser.tpp
"
64
#undef ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_TEMPLATEDDATASOURCEUSER_IMPL_
65
66
#endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_TEMPLATEDDATASOURCEUSER_H_
67
Elements::Examples::TemplatedDataSourceUser
This class has been created to demonstrate unit testing. It manipulate an object representing a DataS...
Definition:
TemplatedDataSourceUser.h:39
TemplatedDataSourceUser.tpp
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.5