<style> P {margin-top:0px;margin-bottom:0px;} </style>
<P><IMG SRC=http://mail.swu.ac.kr:80/nara/servlet/webmail.WebMailReConfServ/4534341></P>
Dear Manager,
I have a very simple question.
I'd like to use a Print() method defined in nun-pit-impl.h.
My slightly modified code in ndn-simple-with-pit-count-stats.cc is as follows.
void
PeriodicStatsPrinter (Ptr<Node> node, Time next)
{
Ptr<ndn::Pit> pit = node->GetObject<ndn::Pit> ();
std::cout << Simulator::Now ().ToDouble (Time::S) << "\t"
<< node->GetId () << "\t"
<< Names::FindName (node) << "\t"
<< pit->GetSize () << "\n"
<< pit->Print(std::cout) << "\n"; // <<<=== Here!!
}
When I added the pit->Print() statement, it produces a long error.
What will be the proper argument in the Print() method?
Thanks in advance
Kang<BR><BR><BR><A href="http://www.swu.ac.kr" target=_blank><IMG alt=¼¿ï¿©ÀÚ´ëÇб³ hspace=0
src="http://www.swu.ac.kr/news/mail/bn01-2012.jpg" align=baseline border=0> </A>