Changeset 1606:dc4ea2010dee in lemon-0.x for gui/mapstorage.h
- Timestamp:
- 07/29/05 14:01:37 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2111
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/mapstorage.h
r1525 r1606 4 4 #define MAPSTORAGE_H 5 5 6 #include <all_include.h> 6 #include "all_include.h" 7 #include "xymap.h" 7 8 8 9 ///Class MapStorage is responsible for storing … … 19 20 public: 20 21 21 Graph &g; 22 Graph graph; 23 XYMap<Graph::NodeMap<double> > coords; 24 25 bool modified; 26 std::string file_name; 22 27 23 28 ///Stores double type NodeMaps … … 40 45 /// 41 46 ///\param graph is the graph for which the maps are stored in this object. 42 MapStorage(Graph &); 47 MapStorage(); 48 49 ~MapStorage(); 43 50 44 51 ///Adds given map to storage. A name and the map itself has to be provided. … … 93 100 ///This function sets a default base value for the newly created node 94 101 void initMapsForEdge(Graph::Edge); 102 103 void readFromFile(const std::string &); 104 void writeToFile(const std::string &); 105 106 void clear(); 95 107 }; 96 108
Note: See TracChangeset
for help on using the changeset viewer.