Changeset 1832:d0c28d9c9141 in lemon-0.x
- Timestamp:
- 11/24/05 16:48:53 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2383
- Location:
- lemon/bits
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/alteration_notifier.h
r1820 r1832 128 128 int registry_index; 129 129 130 public:131 132 130 /// \brief The member function to notificate the observer about an 133 131 /// item is added to the container. -
lemon/bits/vector_map.h
r1810 r1832 185 185 } 186 186 187 /// \brief Adds more new keys to the map. 188 /// 189 /// It adds more new keys to the map. It called by the observer registry 190 /// and it overrides the add() member function of the observer base. 191 virtual void add(const std::vector<Key>& keys) { 192 for (int i = 0; i < (int)keys.size(); ++i) { 193 add(keys[i]); 194 } 195 } 196 187 197 /// \brief Erase a key from the map. 188 198 /// … … 191 201 virtual void erase(const Key&) {} 192 202 203 /// \brief Erase more keys from the map. 204 /// 205 /// Erase more keys from the map. It called by the observer registry 206 /// and it overrides the erase() member function of the observer base. 207 virtual void erase(const std::vector<Key>&) {} 208 193 209 /// \brief Buildes the map. 194 210 ///
Note: See TracChangeset
for help on using the changeset viewer.