# HG changeset patch # User Peter Kovacs # Date 2008-01-04 23:17:09 # Node ID f8ddf1b1541a934785ed0180ec3ee3fb799e11dc # Parent e337bdf46777bc84e1e3ddaef0714c509ae3ae90 Doc improvements in concepts/maps.h. diff --git a/lemon/concepts/maps.h b/lemon/concepts/maps.h --- a/lemon/concepts/maps.h +++ b/lemon/concepts/maps.h @@ -41,9 +41,9 @@ class ReadMap { public: - /// Map's key type. + /// The key type of the map. typedef K Key; - /// Map's value type. (The type of objects associated with the keys). + /// The value type of the map. (The type of objects associated with the keys). typedef T Value; /// Returns the value associated with a key. @@ -81,9 +81,9 @@ class WriteMap { public: - /// Map's key type. + /// The key type of the map. typedef K Key; - /// Map's value type. (The type of objects associated with the keys). + /// The value type of the map. (The type of objects associated with the keys). typedef T Value; /// Sets the value associated with a key. @@ -119,12 +119,12 @@ /// template class ReadWriteMap : public ReadMap, - public WriteMap + public WriteMap { public: - /// Map's key type. + /// The key type of the map. typedef K Key; - /// Map's value type. (The type of objects associated with the keys). + /// The value type of the map. (The type of objects associated with the keys). typedef T Value; /// Returns the value associated with a key. @@ -152,13 +152,13 @@ public: /// Tag for reference maps. typedef True ReferenceMapTag; - /// Map's key type. + /// The key type of the map. typedef K Key; - /// Map's value type. (The type of objects associated with the keys). + /// The value type of the map. (The type of objects associated with the keys). typedef T Value; - /// Map's reference type. + /// The reference type of the map. typedef R Reference; - /// Map's const reference type. + /// The const reference type of the map. typedef CR ConstReference; protected: