39 #ifndef OME_XML_MODEL_PRIMITIVES_ORDEREDMULTIMAP_H 40 #define OME_XML_MODEL_PRIMITIVES_ORDEREDMULTIMAP_H 45 #include <boost/multi_index_container.hpp> 46 #include <boost/multi_index/identity.hpp> 47 #include <boost/multi_index/member.hpp> 48 #include <boost/multi_index/indexed_by.hpp> 49 #include <boost/multi_index/ordered_index.hpp> 50 #include <boost/multi_index/hashed_index.hpp> 51 #include <boost/multi_index/random_access_index.hpp> 74 typedef boost::multi_index_container<
78 boost::multi_index::indexed_by<
80 boost::multi_index::random_access<
81 boost::multi_index::tag<order_index>
84 boost::multi_index::hashed_non_unique<
85 boost::multi_index::tag<key_index>,
86 boost::multi_index::member<ordered_map_value, std::string, &ordered_map_value::first>
96 #endif // OME_XML_MODEL_PRIMITIVES_ORDEREDMULTIMAP_H Type tag for ordered map insertion order index.
Definition: OrderedMultimap.h:66
Type tag for ordered map key index.
Definition: OrderedMultimap.h:69
Open Microscopy Environment C++ implementation.
boost::multi_index_container< ordered_map_value, boost::multi_index::indexed_by< boost::multi_index::random_access< boost::multi_index::tag< order_index > >, boost::multi_index::hashed_non_unique< boost::multi_index::tag< key_index >, boost::multi_index::member< ordered_map_value, std::string, &ordered_map_value::first > > > > OrderedMultimap
Map preserving insertion order.
Definition: OrderedMultimap.h:89
std::pair< std::string, std::string > ordered_map_value
Value type for ordered map (string key, string value).
Definition: OrderedMultimap.h:63