# HG changeset patch # User marci # Date 1083254667 0 # Node ID 2cef25dcde3f9c8e10f86d5f21e9196759078c8e # Parent 052af4060f3ebab3621c4add3b4f128ecc0a3f63 ledagraph diff -r 052af4060f3e -r 2cef25dcde3f src/work/marci/leda/leda_graph_wrapper.h --- a/src/work/marci/leda/leda_graph_wrapper.h Thu Apr 29 15:58:34 2004 +0000 +++ b/src/work/marci/leda/leda_graph_wrapper.h Thu Apr 29 16:04:27 2004 +0000 @@ -43,7 +43,10 @@ template class LedaGraphWrapper { + protected: Graph* _graph; + LedaGraphWrapper() : _graph(0) { } + setGraph(Graph& __graph) { _graph=&__graph; } public: //LedaGraphWrapper() { } @@ -305,6 +308,17 @@ }; + template + class LedaGraph : public LedaGraphWrapper { + typedef LedaGraphWrapper Parent; + protected: + Graph gr; + public: + LedaGraph() { + Parent::setGraph(gr); + } + }; + // @} } //namespace hugo