27 #include "../common/STLUtils.h" 28 #include "../datatype/Enums.h" 33 : m_propertyName(propertyName),
35 m_precision(precision),
void setPrecision(size_t precision)
It sets the precision to be used for the property values.
const double getStdDeviation() const
It gets the standard deviation used in the Standard Deviation grouping.
std::string m_propertyName
The property name whose values will be used to make the grouping.
int getPropertyType() const
It gets the property type whose values will be grouped.
const size_t getPrecision() const
It gets the precision used for the property values.
std::string getPropertyName() const
It gets the property name whose values will be grouped.
void setStdDeviation(double stdDeviation)
It sets the standard deviation for the Standard Deviation grouping.
size_t m_precision
The precision of the values.
This class contains the parameters needed for grouping the values of a Property.
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.
void setPropertyType(const int &type)
It sets the property type whose values will be grouped.
std::string m_summary
The summary used in case 1 to n.
void setVisibility(bool visible)
It sets the grouping visibility.
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.
bool isVisible() const
It gets the grouping visibility.
void setSummary(const std::string &summary)
It gets the grouping summary. It is used only in case 1 to n.
GroupingType
The grouping type associated to the layer.
Grouping(const std::string &propertyName, GroupingType type, size_t precision=6)
It constructs a new Grouping instance.
std::string getSummary() const
It gets the grouping summary. It is used only in case 1 to n.
const GroupingType getType() const
It gets the grouping type.
size_t m_numSlices
The number of slices used in the Equal Steps and Quantil groupings.
This class contains the parameters needed for grouping the values of a Property.
const size_t getNumSlices() const
It gets the number of slices used in the Equal Steps and Quantil groupings.
void setType(GroupingType type)
It sets the grouping type.
GroupingType m_type
The grouping type.