[Lemon-commits] [lemon_svn] deba: r2380 - hugo/trunk/lemon
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:52:13 CET 2006
Author: deba
Date: Wed Nov 23 17:08:02 2005
New Revision: 2380
Modified:
hugo/trunk/lemon/graph_utils.h
Log:
Document improvments
Modified: hugo/trunk/lemon/graph_utils.h
==============================================================================
--- hugo/trunk/lemon/graph_utils.h (original)
+++ hugo/trunk/lemon/graph_utils.h Wed Nov 23 17:08:02 2005
@@ -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 <typename Target, typename Source,
- typename ItemIt>
+ template <typename Target, typename Source, typename ItemIt>
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 <typename _Graph, typename _Item, typename _Value>
+#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<int>::Parent
+ typename _Graph, typename _Item, typename _Map
+ = typename ItemSetTraits<_Graph, _Item>::template Map<int>::Parent
>
+#else
+ template <typename _Graph, typename _Item>
+#endif
class DescriptorMap : protected _Map {
typedef _Item Item;
More information about the Lemon-commits
mailing list