Merge
authorAlpar Juttner <alpar@cs.elte.hu>
Fri, 04 Jan 2008 23:51:37 +0100
changeset 37582c594ecd01
parent 36 d6bc33fa6590
parent 35 f8ddf1b1541a
child 38 a0cd9917c5a2
child 43 17e76967c49f
Merge
     1.1 --- a/lemon/concepts/maps.h	Fri Jan 04 23:50:16 2008 +0100
     1.2 +++ b/lemon/concepts/maps.h	Fri Jan 04 23:51:37 2008 +0100
     1.3 @@ -41,9 +41,9 @@
     1.4      class ReadMap
     1.5      {
     1.6      public:
     1.7 -      /// Map's key type.
     1.8 +      /// The key type of the map.
     1.9        typedef K Key;    
    1.10 -      /// Map's value type. (The type of objects associated with the keys).
    1.11 +      /// The value type of the map. (The type of objects associated with the keys).
    1.12        typedef T Value;
    1.13  
    1.14        /// Returns the value associated with a key.
    1.15 @@ -81,9 +81,9 @@
    1.16      class WriteMap
    1.17      {
    1.18      public:
    1.19 -      /// Map's key type.
    1.20 +      /// The key type of the map.
    1.21        typedef K Key;    
    1.22 -      /// Map's value type. (The type of objects associated with the keys).
    1.23 +      /// The value type of the map. (The type of objects associated with the keys).
    1.24        typedef T Value;
    1.25  
    1.26        /// Sets the value associated with a key.
    1.27 @@ -119,12 +119,12 @@
    1.28      ///
    1.29      template<typename K, typename T>
    1.30      class ReadWriteMap : public ReadMap<K,T>,
    1.31 -			    public WriteMap<K,T>
    1.32 +			 public WriteMap<K,T>
    1.33      {
    1.34      public:
    1.35 -      /// Map's key type.
    1.36 +      /// The key type of the map.
    1.37        typedef K Key;    
    1.38 -      /// Map's value type. (The type of objects associated with the keys).
    1.39 +      /// The value type of the map. (The type of objects associated with the keys).
    1.40        typedef T Value;
    1.41  
    1.42        /// Returns the value associated with a key.
    1.43 @@ -152,13 +152,13 @@
    1.44      public:
    1.45        /// Tag for reference maps.
    1.46        typedef True ReferenceMapTag;
    1.47 -      /// Map's key type.
    1.48 +      /// The key type of the map.
    1.49        typedef K Key;    
    1.50 -      /// Map's value type. (The type of objects associated with the keys).
    1.51 +      /// The value type of the map. (The type of objects associated with the keys).
    1.52        typedef T Value;
    1.53 -      /// Map's reference type.
    1.54 +      /// The reference type of the map.
    1.55        typedef R Reference;
    1.56 -      /// Map's const reference type.
    1.57 +      /// The const reference type of the map.
    1.58        typedef CR ConstReference;
    1.59  
    1.60      protected: