Elements 6.1.2
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
SwigClassExample.h
Go to the documentation of this file.
1
24#ifndef ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_SWIGCLASSEXAMPLE_H_
25#define ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_SWIGCLASSEXAMPLE_H_
26
27#include "ElementsKernel/Export.h" // for ELEMENTS_API
28
29namespace Elements {
30namespace Examples {
31
33
34public:
35 explicit SwigClassExample(const double ra = 0.0, const double dec = 0.0) : m_ra(ra), m_dec(dec) {}
36
37 virtual ~SwigClassExample() = default;
38
39 double getRa() const;
40
41 double getDec() const;
42
43private:
44 double m_ra;
45 double m_dec;
46};
47
48} // namespace Examples
49} // namespace Elements
50
51#endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_SWIGCLASSEXAMPLE_H_
52
defines the macros to be used for explicit export of the symbols
SwigClassExample(const double ra=0.0, const double dec=0.0)
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74