-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChartGlobal.h
More file actions
53 lines (32 loc) · 1.05 KB
/
ChartGlobal.h
File metadata and controls
53 lines (32 loc) · 1.05 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef CHARTGLOBAL_H
#define CHARTGLOBAL_H
#include"Data.h"
class chartGlobal
{
private:
std::vector<chartItem*> istances;
std::string title;
u_int32 width;
std::vector<std::string> timeline;
public:
chartGlobal();
chartGlobal(const chartGlobal & copy);
chartGlobal& operator=(const chartGlobal& assign);
~chartGlobal();
std::string getTitle() const;
void setTitle(std::string title);
std::string getLabel(u_int32 index) const;
void setLabel(u_int32 index, std::string text);
void addEntry(const std::string & text,u_int32 index = -1);
void modIndex(u_int32,u_int32,double);
double atIndex(u_int32,u_int32) const;
std::string atTimelineIndex(u_int32) const;
void modTimelineIndex(u_int32,const std::string &);
void removeEntry(u_int32 count = 1);
void addColumn(double k = 0,u_int32 count = 1);
void removeColumn(u_int32 count = 1);
chartItem* operator[](u_int32 k) const;
u_int32 tableHeight() const;
u_int32 tableWidth() const;
};
#endif // CHARTGLOBAL_H