1.1 --- a/lemon/bits/iterable_graph_extender.h Tue Jun 07 16:11:23 2005 +0000
1.2 +++ b/lemon/bits/iterable_graph_extender.h Tue Jun 07 16:12:14 2005 +0000
1.3 @@ -3,6 +3,7 @@
1.4 #define LEMON_ITERABLE_GRAPH_EXTENDER_H
1.5
1.6 #include <lemon/invalid.h>
1.7 +#include <lemon/utility.h>
1.8
1.9 namespace lemon {
1.10
1.11 @@ -10,6 +11,13 @@
1.12 class IterableGraphExtender : public _Base {
1.13 public:
1.14
1.15 + /// Indicates that the graph is undirected.
1.16 +
1.17 + ///\todo Better name?
1.18 + ///
1.19 + ///\bug Should it be here?
1.20 + typedef False UndirTag;
1.21 +
1.22 typedef _Base Parent;
1.23 typedef IterableGraphExtender<_Base> Graph;
1.24
1.25 @@ -170,6 +178,15 @@
1.26 class IterableUndirGraphExtender : public IterableGraphExtender<_Base> {
1.27 public:
1.28
1.29 + /// Indicates that the graph is undirected.
1.30 +
1.31 + ///\todo Better name?
1.32 + ///
1.33 + ///\bug Should it be here?
1.34 + ///\bug Should be tested in the concept checker whether it is defined
1.35 + ///correctly.
1.36 + typedef True UndirTag;
1.37 +
1.38 typedef IterableGraphExtender<_Base> Parent;
1.39 typedef IterableUndirGraphExtender<_Base> Graph;
1.40 typedef typename Parent::Node Node;