26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_SCATTERUTILS_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_SCATTERUTILS_H
30 #include "../Config.h"
31 #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>
73 typedef boost::multi_index::multi_index_container<
75 boost::multi_index::indexed_by<
78 boost::multi_index::ordered_non_unique<
79 boost::multi_index::identity<PointToObjectId> >,
82 boost::multi_index::ordered_unique<
83 boost::multi_index::const_mem_fun<PointToObjectId, std::string, &PointToObjectId::getObjIdAsString> >
91 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_SCATTERUTILS_H
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.