Elements  5.10
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Rectangle.h
Go to the documentation of this file.
1 
24 #ifndef ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_RECTANGLE_H_
25 #define ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_RECTANGLE_H_
26 
27 #include "ElementsKernel/Export.h"
28 
29 namespace Elements {
30 namespace Examples {
31 
33 public:
34  int x0, y0, x1, y1;
35  Rectangle(int x0, int y0, int x1, int y1);
36  ~Rectangle();
37  int getLength();
38  int getHeight();
39  int getArea();
40  void move(int dx, int dy);
41 };
42 
43 
44 } // namespace Examples
45 } // namespace Elements
46 
47 #endif // ELEMENTSEXAMPLES_ELEMENTSEXAMPLES_RECTANGLE_H_
48 
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