Elements
5.10
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
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
Elements::Examples::SwigClassExample
Definition:
SwigClassExample.h:32
Elements::Examples::SwigClassExample::SwigClassExample
SwigClassExample(const double ra=0.0, const double dec=0.0)
Definition:
SwigClassExample.h:36
Elements
Definition:
ClassExample.h:38
Elements::Examples::SwigClassExample::m_ra
double m_ra
Definition:
SwigClassExample.h:48
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:49
ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition:
Export.h:74
Generated by
1.8.14