File: PlotList.h

package info (click to toggle)
quickplot 0.8.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,544 kB
  • ctags: 1,019
  • sloc: cpp: 10,051; sh: 7,597; makefile: 176
file content (30 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Copyright (c) 1998, 1999, 2003, 2004  Lance Arsenault, (GNU GPL (v2+))
 */


class PlotList
{
 public:

  PlotList(void);
  ~PlotList(void);

  void add(int X, int Y);
  void rewind(void);
  void get(int &X, int &Y);
  inline int getNumberOfPlots(void)
    {
      return numPlots;
    }

  PlotList *next;
  static PlotList *first;

private:

  // field number starting at 0.
  int *x, *y;
  
  size_t numPlots;
  int index;
};