summaryrefslogtreecommitdiffstats
path: root/storagemgr/stgmddconfig.hh
blob: 45887159edbd6d9bc91b0aba21e8818d1fb963c1 (plain)
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
54
55
56
57
#ifndef _STORAGE_MDD_CONFIG_HH_
#define _STORAGE_MDD_CONFIG_HH_

#include <vector>
#include "rasodmg/dirdecompose.hh"
#include "raslib/minterval.hh"

/****************************************************************************
 *
 *
 * INCLUDE: stgmddconfig.hh
 *
 * MODULE:  qlparser
 * CLASS:   StgMddConfig
 *
 * CHANGE HISTORY (append further entries):
 * when         who        what
 * -----------------------------------------------------------------------
 * 17-Aug-09	aaiordachi	create class (for adding rasql tiling options)
 * COMMENTS:
 *
 ****************************************************************************/

class StgMddConfig
	{
	private:
		std::vector<r_Minterval> bboxes;
		double interestThreshold;
		unsigned int borderThreshold;
		bool subTiling;
		int cellSize;
		std::vector<r_Dir_Decompose> dirDecomp;

	public:

		StgMddConfig();
		~StgMddConfig();

		// Setter functions 
		void setBBoxes(const std::vector<r_Minterval>& input);
		void setSubTiling();
		void resetSubTiling();
		void setInterestThreshold(double i);
		void setBorderThreshold(unsigned int b);
		void setCellSize(int size);
		void setDirDecompose(const std::vector<r_Dir_Decompose>& input);

		// Getter functions 
		std::vector<r_Minterval>& getBBoxes();
		bool getSubTiling();
		double getInterestThreshold();
		unsigned int getBorderThreshold();
		int getCellSize();
		std::vector<r_Dir_Decompose>& getDirDecompose();
                
	};
#endif