how about doing this before the class declaration?<br><br><div>typedef lemon::ListDigraph NetworkGraph;</div>
<div><br></div><br><br><div class="gmail_quote">On Wed, Mar 16, 2011 at 7:16 PM, Kiran Yedavalli <span dir="ltr"><<a href="mailto:kyedavalli@gmail.com">kyedavalli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi All,<div><br></div><div>I am trying out lemon for the first time. I have the following declared:</div><div><br></div><div>in another namespace</div><div><br></div><div>class xyz{</div><div>public:</div><div>typedef lemon::ListDigraph NetworkGraph;</div>
<div><br></div><div>private:</div><div>NetworkGraph network_graph;</div><div>lemon::ListDigraph::ArcMap<int> weight_map(network_graph);</div><div><br></div><div>I am getting the following error when I compile this file along with others:</div>
<div><br></div><div>error: 'network_graph' is not a type</div><div><br></div><div>I believe this is a correct usage of ArcMap. I looked at demo files and the usage matches with what I have written. I am not able to explain this error.</div>
<div><br></div><div>Any help will be really useful to me.</div><div><br></div><div>Thanks</div><div>Kiran</div><font color="#888888"><div><br></div><div><br></div><div><br></div><div><br></div>
</font><br>_______________________________________________<br>
Lemon-user mailing list<br>
<a href="mailto:Lemon-user@lemon.cs.elte.hu">Lemon-user@lemon.cs.elte.hu</a><br>
<a href="http://lemon.cs.elte.hu/mailman/listinfo/lemon-user" target="_blank">http://lemon.cs.elte.hu/mailman/listinfo/lemon-user</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Arun <br>