equal
deleted
inserted
replaced
30 SorterType sorter_type; |
30 SorterType sorter_type; |
31 bool sort_ascending; |
31 bool sort_ascending; |
32 bool initialized; |
32 bool initialized; |
33 |
33 |
34 public: |
34 public: |
35 typedef std::set<int32> AIItemList; ///< The list of items inside the bucket |
35 typedef std::set<int32> AIItemList; //!< The list of items inside the bucket |
36 typedef std::map<int32, AIItemList> AIAbstractListBucket; ///< The bucket list per value |
36 typedef std::map<int32, AIItemList> AIAbstractListBucket; //!< The bucket list per value |
37 typedef std::map<int32, int32> AIAbstractListMap; ///< List per item |
37 typedef std::map<int32, int32> AIAbstractListMap; //!< List per item |
38 |
38 |
39 AIAbstractListMap items; ///< The items in the list |
39 AIAbstractListMap items; //!< The items in the list |
40 AIAbstractListBucket buckets; ///< The items in the list, sorted by value |
40 AIAbstractListBucket buckets; //!< The items in the list, sorted by value |
41 |
41 |
42 protected: |
42 protected: |
43 /** |
43 /** |
44 * Add a single item to the list. |
44 * Add a single item to the list. |
45 * @param item the item to add. Should be unique, otherwise it is ignored. |
45 * @param item the item to add. Should be unique, otherwise it is ignored. |