src/hugo/map_defines.h
changeset 889 47bb9b8f5705
parent 844 9bf990cb066d
child 891 74589d20dbc3
equal deleted inserted replaced
3:2b687a76b6a6 4:f64184a7da64
   203      MapImpl::operator=(copy); \
   203      MapImpl::operator=(copy); \
   204      return *this; \
   204      return *this; \
   205    } \
   205    } \
   206 };
   206 };
   207 
   207 
       
   208 #define KEEP_EDGE_MAP(From, To) \
       
   209 IMPORT_EDGE_MAP(From, graph, To, graph)
       
   210 
       
   211 
       
   212 #define KEEP_NODE_MAP(From, To) \
       
   213 IMPORT_NODE_MAP(From, graph, To, graph)
   208 
   214 
   209 /** This is a macro to keep the node and edge maps for a graph class.
   215 /** This is a macro to keep the node and edge maps for a graph class.
   210  */
   216  */
   211 #define KEEP_MAPS(From, To) \
   217 #define KEEP_MAPS(From, To) \
   212 IMPORT_EDGE_MAP(From, graph, To, graph) \
   218 KEEP_EDGE_MAP(From, To) \
   213 IMPORT_NODE_MAP(From, graph, To, graph)
   219 KEEP_NODE_MAP(From, To)
       
   220 
   214   
   221   
   215 /// @}
   222 /// @}
   216   
   223   
   217 #endif
   224 #endif