A GroupingItem contains information about a grouping item associated to a layer. More...
#include <GroupingItem.h>
Public Member Functions | |
| std::size_t | getCount () const |
| It gets the number of objects whose values are between the lower and upper limits. More... | |
| const std::string & | getLowerLimit () const |
| It gets the lower limit value of the legend item. More... | |
| const std::vector < te::se::Symbolizer * > & | getSymbolizers () const |
| It gets the symbolizer of the legend item. More... | |
| std::string | getTitle () |
| It gets the title of the legend item. More... | |
| const std::string & | getUpperLimit () const |
| It gets the upper limit value of the legend item. More... | |
| const std::string & | getValue () const |
| It gets the value of the legend item. More... | |
| GroupingItem (const std::string &from="", const std::string &to="") | |
| It initializes a new GroupingItem. More... | |
| GroupingItem (const GroupingItem &rhs) | |
| Copy constructor. More... | |
| GroupingItem & | operator= (const GroupingItem &rhs) |
| void | setCount (std::size_t count) |
| It It sets the number of objects whose values are between the lower and upper limits. More... | |
| void | setLowerLimit (const std::string &from) |
| It sets the lower limit value of the legend item. More... | |
| void | setSymbolizers (const std::vector< te::se::Symbolizer * > &symbolizers) |
| It sets the symbolizers of the legend item. More... | |
| void | setTitle (const std::string &title) |
| It sets the title of the legend item. More... | |
| void | setUpperLimit (const std::string &to) |
| It sets the upper limit value of the legend item. More... | |
| void | setValue (const std::string &value) |
| It sets value of the legend item. More... | |
| ~GroupingItem () | |
| Destructor. More... | |
Private Attributes | |
| std::size_t | m_count |
| The number of objects whose values are between the lower and upper limits. More... | |
| std::string | m_from |
| The value of the lower limit of the legend item. More... | |
| std::vector< te::se::Symbolizer * > | m_symbolizers |
| The color of the legend item. More... | |
| std::string | m_title |
| A text that can be used to identify this legend item. More... | |
| std::string | m_to |
| The value of the upper limit of the legend item. More... | |
| std::string | m_value |
| The value of the legend item. More... | |
A GroupingItem contains information about a grouping item associated to a layer.
Definition at line 48 of file GroupingItem.h.
| te::map::GroupingItem::GroupingItem | ( | const std::string & | from = "", |
| const std::string & | to = "" |
||
| ) |
It initializes a new GroupingItem.
| from | The value of the lower limit of the legend item. |
| to | The value of the upper limit of the legend item. |
| te::map::GroupingItem::~GroupingItem | ( | ) |
Destructor.
| te::map::GroupingItem::GroupingItem | ( | const GroupingItem & | rhs | ) |
Copy constructor.
| std::size_t te::map::GroupingItem::getCount | ( | ) | const |
It gets the number of objects whose values are between the lower and upper limits.
The number of objects whose values are between the lower and upper limits.
| const std::string& te::map::GroupingItem::getLowerLimit | ( | ) | const |
It gets the lower limit value of the legend item.
The lower limit value of the legend item.
Referenced by te::map::SetNumberOfElementsByLegendItem().
| const std::vector<te::se::Symbolizer*>& te::map::GroupingItem::getSymbolizers | ( | ) | const |
It gets the symbolizer of the legend item.
The symbolizer of the legend item.
| std::string te::map::GroupingItem::getTitle | ( | ) |
It gets the title of the legend item.
| const std::string& te::map::GroupingItem::getUpperLimit | ( | ) | const |
It gets the upper limit value of the legend item.
The upper limit value of the legend item.
Referenced by te::map::SetNumberOfElementsByLegendItem().
| const std::string& te::map::GroupingItem::getValue | ( | ) | const |
It gets the value of the legend item.
The value of the legend item.
| GroupingItem& te::map::GroupingItem::operator= | ( | const GroupingItem & | rhs | ) |
Assignment operator.
| void te::map::GroupingItem::setCount | ( | std::size_t | count | ) |
It It sets the number of objects whose values are between the lower and upper limits.
| count | The number of objects whose values are between the lower and upper limits |
Referenced by te::map::SetNumberOfElementsByLegendItem().
| void te::map::GroupingItem::setLowerLimit | ( | const std::string & | from | ) |
It sets the lower limit value of the legend item.
| from | The lower limit value. |
Referenced by te::map::GroupingByEqualSteps(), te::map::GroupingByQuantil(), and te::map::GroupingByStdDeviation().
| void te::map::GroupingItem::setSymbolizers | ( | const std::vector< te::se::Symbolizer * > & | symbolizers | ) |
It sets the symbolizers of the legend item.
| symbolizers | The symbolizers of the legend item.. |
| void te::map::GroupingItem::setTitle | ( | const std::string & | title | ) |
It sets the title of the legend item.
| title | The title of the legend item.. |
Referenced by te::map::GroupingByStdDeviation().
| void te::map::GroupingItem::setUpperLimit | ( | const std::string & | to | ) |
It sets the upper limit value of the legend item.
| to | The upper limit value. |
Referenced by te::map::GroupingByEqualSteps(), te::map::GroupingByQuantil(), and te::map::GroupingByStdDeviation().
| void te::map::GroupingItem::setValue | ( | const std::string & | value | ) |
It sets value of the legend item.
| value | The value of the legend item. |
|
private |
The number of objects whose values are between the lower and upper limits.
Definition at line 158 of file GroupingItem.h.
|
private |
The value of the lower limit of the legend item.
Definition at line 155 of file GroupingItem.h.
|
private |
The color of the legend item.
Definition at line 160 of file GroupingItem.h.
|
private |
A text that can be used to identify this legend item.
Definition at line 159 of file GroupingItem.h.
|
private |
The value of the upper limit of the legend item.
Definition at line 156 of file GroupingItem.h.
|
private |
The value of the legend item.
Definition at line 157 of file GroupingItem.h.