Changeset 1719:674182524bd9 in lemon-0.x for lemon/bits/static_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/static_map.h
r1703 r1719 63 63 }; 64 64 65 typedef True AdaptibleTag;65 private: 66 66 67 typedef std::vector<_Value> Container; 68 69 public: 70 67 71 /// The graph type of the map. 68 72 typedef _Graph Graph; 73 /// The reference map tag. 74 typedef True ReferenceMapTag; 75 69 76 /// The key type of the map. 70 77 typedef _Item Key; 71 /// The id map type of the map.72 typedef AlterationNotifier<_Item> Registry;73 78 /// The value type of the map. 74 79 typedef _Value Value; 80 /// The const reference type of the map. 81 typedef typename Container::const_reference ConstReference; 82 /// The reference type of the map. 83 typedef typename Container::reference Reference; 84 85 typedef const Value ConstValue; 86 typedef Value* Pointer; 87 typedef const Value* ConstPointer; 88 89 typedef AlterationNotifier<_Item> Registry; 75 90 76 91 /// The map type. … … 78 93 /// The base class of the map. 79 94 typedef typename Registry::ObserverBase Parent; 80 81 private:82 83 typedef std::vector<Value> Container;84 85 public:86 95 87 96 /// \brief Constructor to attach the new map into the registry. … … 141 150 142 151 public: 143 144 typedef typename Container::reference Reference;145 typedef typename Container::pointer Pointer;146 typedef const Value ConstValue;147 typedef typename Container::const_reference ConstReference;148 typedef typename Container::const_pointer ConstPointer;149 152 150 153 /// \brief The subcript operator.
Note: See TracChangeset
for help on using the changeset viewer.