mapstorage.h
branchgui
changeset 42 f1b70894b953
parent 30 f70bbee5350a
child 53 e73d7540bd24
equal deleted inserted replaced
5:6f5499a2c4d5 6:ec4750ee8423
    79   std::map< std::string,Graph::NodeMap<double> * >::iterator beginOfNodeMaps(){return nodemap_storage.begin();};
    79   std::map< std::string,Graph::NodeMap<double> * >::iterator beginOfNodeMaps(){return nodemap_storage.begin();};
    80 
    80 
    81   ///To be able to iterate through each maps this function returns an iterator pointing to the first edgemap in the storage.
    81   ///To be able to iterate through each maps this function returns an iterator pointing to the first edgemap in the storage.
    82   std::map< std::string,Graph::EdgeMap<double> * >::iterator beginOfEdgeMaps(){return edgemap_storage.begin();};
    82   std::map< std::string,Graph::EdgeMap<double> * >::iterator beginOfEdgeMaps(){return edgemap_storage.begin();};
    83 
    83 
       
    84   ///To be able to iterate through each maps this function returns an iterator pointing to the last nodemap in the storage.
       
    85   std::map< std::string,Graph::NodeMap<double> * >::iterator endOfNodeMaps(){return nodemap_storage.end();};
       
    86 
       
    87   ///To be able to iterate through each maps this function returns an iterator pointing to the last edgemap in the storage.
       
    88   std::map< std::string,Graph::EdgeMap<double> * >::iterator endOfEdgeMaps(){return edgemap_storage.end();};
       
    89 
    84   ///This function sets a default base value for the newly created node
    90   ///This function sets a default base value for the newly created node
    85   void initMapsForNode(NodeIt);
    91   void initMapsForNode(NodeIt);
    86 
    92 
    87   ///This function sets a default base value for the newly created node
    93   ///This function sets a default base value for the newly created node
    88   void initMapsForEdge(Graph::Edge);
    94   void initMapsForEdge(Graph::Edge);