27 #include "../common/STLUtils.h" 
   28 #include "../datatype/Enums.h" 
   34   : m_propertyName(propertyName),
 
   36     m_precision(precision),
 
   44   : m_propertyName(rhs.m_propertyName),
 
   46     m_precision(rhs.m_precision),
 
   48     m_summary(rhs.m_summary)
 
   53   std::vector<te::map::GroupingItem*> items;
 
   54   for(std::size_t i = 0; i < rhs.
m_items.size(); ++i)
 
   57     items.push_back(item);
 
   70   return m_propertyName;
 
   76   m_propertyName = name;
 
   81   return m_propertyType;
 
   86   m_propertyType = type;
 
  107   m_precision = precision;
 
  117   m_numSlices = numSlices;
 
  122   return m_stdDeviation;
 
  127   m_stdDeviation = stdDeviation;
 
  139   m_numSlices = m_items.size();
 
  149   m_isVisible = visible;
 
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. 
 
int getPropertyType() const 
It gets the property type whose values will be grouped. 
 
void setGroupingItems(std::vector< te::map::GroupingItem * > &items)
It sets the vector of grouping items. 
 
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. 
 
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. 
 
A GroupingItem contains information about a grouping item associated to a layer. 
 
void setPropertyType(const int &type)
It sets the property type whose values will be grouped. 
 
void setVisibility(bool visible)
It sets the grouping visibility. 
 
int m_propertyType
The property type whose values will be used to make the grouping. 
 
double m_stdDeviation
The standard deviation used in the Standard Deviation grouping. 
 
bool isVisible() const 
It gets the grouping visibility. 
 
std::vector< te::map::GroupingItem * > m_items
The vector of grouping items. 
 
void setSummary(const std::string &summary)
It gets the grouping summary. It is used only in case 1 to n. 
 
const std::vector< te::map::GroupingItem * > & getGroupingItems() const 
It gets the vector of grouping items. 
 
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. 
 
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...