COIN-OR::LEMON - Graph Library

Changeset 172:fc1e478697d3 in glemon-0.x for gui_writer.cc


Ignore:
Timestamp:
10/25/06 15:21:24 (15 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3017
Message:

Currently visualized map can be saved and loaded from file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui_writer.cc

    r150 r172  
    2020  }
    2121  x("arrow_pos", m);
     22
     23  std::map<int, std::string> nm;
     24  for(int i=0;i<NODE_PROPERTY_NUM;i++)
     25    {
     26      nm[i]=mapstorage->active_nodemaps[i];
     27    }
     28  x("active_nodemaps", nm);
     29
     30  std::map<int, std::string> em;
     31  for(int i=0;i<EDGE_PROPERTY_NUM;i++)
     32    {
     33      em[i]=mapstorage->active_edgemaps[i];
     34    }
     35  x("active_edgemaps", em);
    2236}
    2337
Note: See TracChangeset for help on using the changeset viewer.