Changeset 1719:674182524bd9 in lemon-0.x for lemon/bits/vector_map.h
- Timestamp:
- 10/14/05 12:48:34 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2246
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/vector_map.h
r1703 r1719 56 56 > 57 57 class VectorMap : public AlterationNotifier<_Item>::ObserverBase { 58 private: 59 60 /// The container type of the map. 61 typedef std::vector<_Value> Container; 62 58 63 public: 59 64 60 typedef True AdaptibleTag;61 62 65 /// The graph type of the map. 63 66 typedef _Graph Graph; 67 /// The reference map tag. 68 typedef True ReferenceMapTag; 69 64 70 /// The key type of the map. 65 71 typedef _Item Key; 66 /// The id map type of the map.67 typedef AlterationNotifier<_Item> Registry;68 72 /// The value type of the map. 69 73 typedef _Value Value; 74 /// The const reference type of the map. 75 typedef typename Container::const_reference ConstReference; 76 /// The reference type of the map. 77 typedef typename Container::reference Reference; 78 79 typedef const Value ConstValue; 80 typedef Value* Pointer; 81 typedef const Value* ConstPointer; 82 83 typedef AlterationNotifier<_Item> Registry; 70 84 71 85 /// The map type. … … 73 87 /// The base class of the map. 74 88 typedef typename Registry::ObserverBase Parent; 75 76 private:77 78 /// The container type of the map.79 typedef std::vector<Value> Container;80 81 public:82 89 83 90 /// The reference type of the map;
Note: See TracChangeset
for help on using the changeset viewer.