Elements  6.0.1
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
29 namespace Elements {
30 namespace Examples {
31 
33 
34 public:
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 
43 private:
44  double m_ra;
45  double m_dec;
46 };
47 
48 } // namespace Examples
49 } // namespace Elements
50 
51 #endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_SWIGCLASSEXAMPLE_H_
52 
SwigClassExample(const double ra=0.0, const double dec=0.0)
defines the macros to be used for explicit export of the symbols
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74