lemon/bits/vector_map.h
changeset 1768 1e2e0238e7c8
parent 1719 674182524bd9
child 1810 474d093466a5
equal deleted inserted replaced
4:a16fc96d5b4a 5:b75721918c40
    69 
    69 
    70     /// The key type of the map.
    70     /// The key type of the map.
    71     typedef _Item Key;
    71     typedef _Item Key;
    72     /// The value type of the map.
    72     /// The value type of the map.
    73     typedef _Value Value;
    73     typedef _Value Value;
    74     /// The const reference type of the map.
       
    75     typedef typename Container::const_reference ConstReference;
       
    76     /// The reference type of the map.
       
    77     typedef typename Container::reference Reference;
       
    78 
       
    79     typedef const Value ConstValue;
       
    80     typedef Value* Pointer;
       
    81     typedef const Value* ConstPointer;
       
    82 
    74 
    83     typedef AlterationNotifier<_Item> Registry;
    75     typedef AlterationNotifier<_Item> Registry;
    84 
    76 
    85     /// The map type.
    77     /// The map type.
    86     typedef VectorMap Map;
    78     typedef VectorMap Map;
    97     /// The const reference type of the map;
    89     /// The const reference type of the map;
    98     typedef typename Container::const_reference ConstReference;
    90     typedef typename Container::const_reference ConstReference;
    99     /// The pointer type of the map;
    91     /// The pointer type of the map;
   100     typedef typename Container::const_pointer ConstPointer;
    92     typedef typename Container::const_pointer ConstPointer;
   101 
    93 
   102     typedef True FullTypeTag;
       
   103 
    94 
   104     /// \brief Constructor to attach the new map into the registry.
    95     /// \brief Constructor to attach the new map into the registry.
   105     ///
    96     ///
   106     /// It constructs a map and attachs it into the registry.
    97     /// It constructs a map and attachs it into the registry.
   107     /// It adds all the items of the graph to the map.
    98     /// It adds all the items of the graph to the map.