26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_GROUPING_H
27 #define __TERRALIB_MAPTOOLS_INTERNAL_GROUPING_H
This class contains the parameters needed for grouping the values of a Property.
std::string getPropertyName() const
It gets the property name whose values will be grouped.
size_t m_numSlices
The number of slices used in the Equal Steps and Quantil groupings.
int m_propertyType
The property type whose values will be used to make the grouping.
bool isVisible() const
It gets the grouping visibility.
std::string getSummary() const
It gets the grouping summary. It is used only in case 1 to n.
bool m_isVisible
A flag that indicates if the grouping is visible.
const size_t getNumSlices() const
It gets the number of slices used in the Equal Steps and Quantil groupings.
void setPropertyType(const int &type)
It sets the property type whose values will be grouped.
double m_stdDeviation
The standard deviation used in the Standard Deviation grouping.
const double getStdDeviation() const
It gets the standard deviation used in the Standard Deviation grouping.
Grouping(const std::string &propertyName, GroupingType type, size_t precision=6)
It constructs a new Grouping instance.
void setPropertyName(const std::string &name)
It sets the property name whose values will be grouped.
const GroupingType getType() const
It gets the grouping type.
std::string m_propertyName
The property name whose values will be used to make the grouping.
void setNumSlices(size_t numSlices)
It sets the number of slices for the EqualSteps and Quantil groupings.
Grouping(const Grouping &rhs)
Copy constructor.
int getPropertyType() const
It gets the property type whose values will be grouped.
void setStdDeviation(double stdDeviation)
It sets the standard deviation for the Standard Deviation grouping.
GroupingType m_type
The grouping type.
void setSummary(const std::string &summary)
It gets the grouping summary. It is used only in case 1 to n.
std::string m_summary
The summary used in case 1 to n.
void setVisibility(bool visible)
It sets the grouping visibility.
size_t m_precision
The precision of the values.
void setPrecision(size_t precision)
It sets the precision to be used for the property values.
const size_t getPrecision() const
It gets the precision used for the property values.
void setType(GroupingType type)
It sets the grouping type.
GroupingType
The grouping type associated to the layer.
Proxy configuration file for TerraView (see terraview_config.h).
Enumerations of XML module.