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