Elements
6.2
A C++ base framework for the Euclid Software.
ElementsExamples
ElementsExamples
callBackExample.h
Go to the documentation of this file.
1
27
#ifndef ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_CALLBACKEXAMPLE_H_
28
#define ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_CALLBACKEXAMPLE_H_
29
30
#include <functional>
31
#include <vector>
32
33
#include "
ElementsKernel/Export.h
"
34
35
namespace
Elements
{
36
namespace
Examples {
37
38
ELEMENTS_API
double
testCallBack
(
std::vector<double>
x,
const
std::function
<
double
(
std::vector<double>
)>& fun);
39
40
}
// namespace Examples
41
}
// namespace Elements
42
43
#endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_CALLBACKEXAMPLE_H_
44
Export.h
defines the macros to be used for explicit export of the symbols
std::vector
STL class.
std::function
ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition:
Export.h:74
Elements::Examples::testCallBack
ELEMENTS_API double testCallBack(std::vector< double > x, const std::function< double(std::vector< double >)> &fun)
Definition:
callBackExample.cpp:34
Elements
Definition:
callBackExample.h:35
Generated by
1.8.17