[ndnSIM] getting PIT size?

Narges Mehran narges.mehran at gmail.com
Thu Sep 1 21:27:54 PDT 2016

Hello everyone,

I want to get the PIT size at the moment, although I know that it isn't
needed to allocate PIT size in NFD. When I run the following code, I get
this error, any help?

Ptr<ns3::ndn::nfd::Pit> pit = (*node)->GetObject<ns3::ndn::nfd::Pit>();
cout <<  pit->size() << "\t";

 ./ns3/ptr.h:710:7:  error: ‘class nfd::Pit’ has no member named ‘Ref’
 m_ptr->Ref ();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160902/a4e9eb9f/attachment.html>

More information about the ndnSIM mailing list