<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Dalbert,<div><br></div><div>I'm guessing your question is about <a href="https://github.com/cawka/ndnSIM-nom-rapid-car2car">https://github.com/cawka/ndnSIM-nom-rapid-car2car</a> scenario.</div><div><br></div><div>As you copied here, ItemQueue is just a typedef of the STL's list container, so the standard iterator-based loop will give you access to all entries, which you can print:</div><div><br></div><div>for (ItemQueue::iterator it = m_queue.begin(); it != m_queue.end(); it++)</div><div>{</div><div>    std::cout << *(it->m_name) << std::endl;</div><div>}</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Dec 1, 2013, at 6:00 AM, Dalbert M <<a href="mailto:dalbertmm@yahoo.com.br">dalbertmm@yahoo.com.br</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;">Hiho,<br><br>How should be the best way to print de entries of :<br><br>ItemQueue m_queue;  ???<br><br><br>Knowing that the definition of ItemQueue is :<br><br>typedef std::list<Item> ItemQueue;<br><br><br>Best Regards<br><br>Dalbert</div></div>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>