26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_GROUPING_H 27 #define __TERRALIB_MAPTOOLS_INTERNAL_GROUPING_H 83 std::string getPropertyName()
const;
90 void setPropertyName(
const std::string& name);
97 int getPropertyType()
const;
104 void setPropertyType(
const int& type);
125 const size_t getPrecision()
const;
132 void setPrecision(
size_t precision);
139 const size_t getNumSlices()
const;
146 void setNumSlices(
size_t numSlices);
153 const double getStdDeviation()
const;
160 void setStdDeviation(
double stdDeviation);
167 const std::vector<te::map::GroupingItem*>& getGroupingItems()
const;
174 void setGroupingItems(std::vector<te::map::GroupingItem*>& items);
177 bool isVisible()
const;
184 void setVisibility(
bool visible);
188 std::string getSummary()
const;
195 void setSummary(
const std::string& summary);
213 #endif // __TERRALIB_MAPTOOLS_INTERNAL_GROUPING_H std::string m_propertyName
The property name whose values will be used to make the grouping.
size_t m_precision
The precision of the values.
This class contains the parameters needed for grouping the values of a Property.
std::string m_summary
The summary used in case 1 to n.
int m_propertyType
The property type whose values will be used to make the grouping.
bool m_isVisible
A flag that indicates if the grouping is visible.
double m_stdDeviation
The standard deviation used in the Standard Deviation grouping.
std::vector< te::map::GroupingItem * > m_items
The vector of grouping items.
GroupingType
The grouping type associated to the layer.
size_t m_numSlices
The number of slices used in the Equal Steps and Quantil groupings.
GroupingType m_type
The grouping type.