26#ifndef __TERRALIB_QT_WIDGETS_INTERNAL_HISTOGRAMUTILS_H
27#define __TERRALIB_QT_WIDGETS_INTERNAL_HISTOGRAMUTILS_H
31#include "../../../datatype/SimpleData.h"
32#include "../../../dataaccess/dataset/ObjectId.h"
40#include <boost/multi_index_container.hpp>
41#include <boost/multi_index/ordered_index.hpp>
42#include <boost/multi_index/identity.hpp>
43#include <boost/multi_index/member.hpp>
44#include <boost/multi_index/mem_fun.hpp>
71 typedef std::map<te::dt::AbstractData*, unsigned int, CompareHistogramInterval>
HistogramValues;
94 typedef boost::multi_index::multi_index_container<
96 boost::multi_index::indexed_by<
99 boost::multi_index::ordered_non_unique<
100 boost::multi_index::identity<IntervalToObjectId> >,
103 boost::multi_index::ordered_unique<
104 boost::multi_index::const_mem_fun<IntervalToObjectId, std::string, &IntervalToObjectId::getObjIdAsString> >
This class represents an unique id for a data set element.
std::string getValueAsString() const
It gets the properties values used to uniquely identify a data set element as string.
A base class for values that can be retrieved from the data access module.
virtual int getTypeCode() const =0
It returns the data type code associated to the data value.
A template for atomic data types (integers, floats, strings and others).