2f31709575c1c741de24b7772a3de4ae420fb37c
[snark14.git] / tools / Display / line_real_set_t.hpp
1 /** @file line_real_set_t.hpp
2     @package snark14Display
3     @author Bruno M. Carvalho and Deniz Sarioz
4     @description class line_real_set_t definition
5     licensed under (open-source) QPL v1.0
6     which accompanies this distribution in the file QPL
7 */
8 #ifndef _LINE_REAL_SET_T
9 #define _LINE_REAL_SET_T
10
11 #include <list>
12
13 class plot_t;
14 class line_real_t;
15
16 /** lots of real lines, corresponding to:
17       same type of y-variable 
18       same going-to-be window size
19 */
20 class line_real_set_t {
21   int minX, maxX;
22   double minY, maxY;
23   typedef std::list<line_real_t> line_real_list_t;
24   line_real_list_t data;
25   friend class plot_t;
26 public:
27   line_real_set_t(int minXin, int maxXin, double minYin, double maxYin);
28   void add(line_real_t& line_real);
29   bool empty();
30   void clear();
31   int getMinX();
32   int getMaxX();
33   double getMinY();
34   double getMaxY();
35   //  void show();
36 }; // --class line_real_set_t
37 #endif