src/hugo/array_map.h
changeset 830 89dfa3bece81
parent 822 88226d9fe821
child 844 9bf990cb066d
     1.1 --- a/src/hugo/array_map.h	Thu Sep 09 09:40:45 2004 +0000
     1.2 +++ b/src/hugo/array_map.h	Sun Sep 12 19:32:21 2004 +0000
     1.3 @@ -251,6 +251,30 @@
     1.4        return ConstIterator(*this, INVALID);
     1.5      }
     1.6  
     1.7 +    /// The KeySet of the Map.
     1.8 +    typedef MapConstKeySet<ArrayMap> ConstKeySet;
     1.9 +
    1.10 +    /// KeySet getter function.
    1.11 +    ConstKeySet keySet() const {
    1.12 +      return ConstKeySet(*this); 
    1.13 +    }
    1.14 +
    1.15 +    /// The ConstValueSet of the Map.
    1.16 +    typedef MapConstValueSet<ArrayMap> ConstValueSet;
    1.17 +
    1.18 +    /// ConstValueSet getter function.
    1.19 +    ConstValueSet valueSet() const {
    1.20 +      return ConstValueSet(*this);
    1.21 +    }
    1.22 +
    1.23 +    /// The ValueSet of the Map.
    1.24 +    typedef MapValueSet<ArrayMap> ValueSet;
    1.25 +
    1.26 +    /// ValueSet getter function.
    1.27 +    ValueSet valueSet() {
    1.28 +      return ValueSet(*this);
    1.29 +    }
    1.30 +
    1.31    private:
    1.32        
    1.33      void allocate_memory() {