Elements
6.2
A C++ base framework for the Euclid Software.
ElementsExamples
ElementsExamples
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
32
class
ELEMENTS_API
SwigClassExample
{
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
Export.h
defines the macros to be used for explicit export of the symbols
Elements::Examples::SwigClassExample::m_dec
double m_dec
Definition:
SwigClassExample.h:45
ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition:
Export.h:74
Elements::Examples::SwigClassExample::SwigClassExample
SwigClassExample(const double ra=0.0, const double dec=0.0)
Definition:
SwigClassExample.h:35
Elements::Examples::SwigClassExample
Definition:
SwigClassExample.h:32
Elements::Examples::SwigClassExample::m_ra
double m_ra
Definition:
SwigClassExample.h:44
Elements
Definition:
callBackExample.h:35
Generated by
1.8.17