# HG changeset patch # User deba # Date 1132762082 0 # Node ID ffd6d50fb155a494ecbac00e89586a53ae712895 # Parent 183b4cbf973305708d48f225e09dbf9b956d01c0 Document improvments diff -r 183b4cbf9733 -r ffd6d50fb155 lemon/graph_utils.h --- a/lemon/graph_utils.h Wed Nov 23 15:42:36 2005 +0000 +++ b/lemon/graph_utils.h Wed Nov 23 16:08:02 2005 +0000 @@ -443,8 +443,7 @@ /// /// Copy the \c source map to the \c target map. It uses the given iterator /// to iterate on the data structure. - template + template void copyMap(Target& target, const Source& source, ItemIt it) { for (; it != INVALID; ++it) { target[it] = source[it]; @@ -888,14 +887,17 @@ /// and if a key is set to a new value then store it /// in the inverse map. /// \param _Graph The graph type. - /// \param _Map The map to extend with invertable functionality. + /// \param _Item The item type of the graph. + /// \param _Value The value type of the map. +#ifndef DOXYGEN + /// \param _Map A ReadWriteMap mapping from the item type to integer. template < - typename _Graph, - typename _Item, - typename _Value, - typename _Map + typename _Graph, typename _Item, typename _Value, typename _Map = typename ItemSetTraits<_Graph, _Item>::template Map<_Value>::Parent > +#else + template +#endif class InvertableMap : protected _Map { public: @@ -1035,13 +1037,15 @@ /// \param _Graph The graph class the \c DescriptorMap belongs to. /// \param _Item The Item is the Key of the Map. It may be Node, Edge or /// UndirEdge. +#ifndef DOXYGEN /// \param _Map A ReadWriteMap mapping from the item type to integer. template < - typename _Graph, - typename _Item, - typename _Map - = typename ItemSetTraits<_Graph, _Item>::template Map::Parent + typename _Graph, typename _Item, typename _Map + = typename ItemSetTraits<_Graph, _Item>::template Map::Parent > +#else + template +#endif class DescriptorMap : protected _Map { typedef _Item Item;