Changeset 473:2cef25dcde3f in lemon-0.x for src/work/marci
- Timestamp:
- 04/29/04 18:04:27 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@630
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/leda/leda_graph_wrapper.h
r461 r473 44 44 class LedaGraphWrapper 45 45 { 46 protected: 46 47 Graph* _graph; 48 LedaGraphWrapper() : _graph(0) { } 49 setGraph(Graph& __graph) { _graph=&__graph; } 47 50 public: 48 51 … … 306 309 }; 307 310 311 template<typename Graph> 312 class LedaGraph : public LedaGraphWrapper<Graph> { 313 typedef LedaGraphWrapper<Graph> Parent; 314 protected: 315 Graph gr; 316 public: 317 LedaGraph() { 318 Parent::setGraph(gr); 319 } 320 }; 321 308 322 // @} 309 323
Note: See TracChangeset
for help on using the changeset viewer.