Elements  5.10
A C++ base framework for the Euclid Software.
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 
36  explicit SwigClassExample(const double ra = 0.0, const double dec = 0.0) :
37  m_ra(ra), m_dec(dec) {
38  }
39 
40  virtual ~SwigClassExample() = default;
41 
42  double getRa() const;
43 
44  double getDec() const;
45 
46 private:
47 
48  double m_ra;
49  double m_dec;
50 
51 };
52 
53 } // namespace Examples
54 } // namespace Elements
55 
56 #endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_SWIGCLASSEXAMPLE_H_
57 
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