diff -r 283a7fe3a00e -r 88226d9fe821 src/hugo/smart_graph.h --- a/src/hugo/smart_graph.h Wed Sep 08 11:58:06 2004 +0000 +++ b/src/hugo/smart_graph.h Wed Sep 08 12:06:45 2004 +0000 @@ -12,8 +12,9 @@ #include -#include -#include +#include +#include + #include #include @@ -72,8 +73,10 @@ class OutEdgeIt; class InEdgeIt; + /// Creating map registries. CREATE_MAP_REGISTRIES; - CREATE_MAPS(DefaultMapFactory); + /// Creating node and edge maps. + CREATE_MAPS(DefaultMap); public: @@ -314,12 +317,14 @@ public: typedef SymSmartGraph Graph; - KEEP_NODE_MAP(SmartGraph); - KEEP_EDGE_MAP(SmartGraph); + /// Importing maps from the base class ListGraph. + KEEP_MAPS(SmartGraph, SymSmartGraph); + /// Creating symmetric map registry. CREATE_SYM_EDGE_MAP_REGISTRY; - CREATE_SYM_EDGE_MAP_FACTORY(DefaultMapFactory); - IMPORT_SYM_EDGE_MAP(SymEdgeMapFactory); + /// Creating symmetric edge map. + CREATE_SYM_EDGE_MAP(DefaultMap); + SymSmartGraph() : SmartGraph() { } SymSmartGraph(const SmartGraph &_g) : SmartGraph(_g) { }