[ndnSIM] pit::Entry has no member named 'getName'?

Muhammad Hosain Abdollahi Sabet mhasabet at gmail.com
Sun Aug 14 13:58:23 PDT 2016


Sorry. My bad. You're right.

Thanks,

On 15 Aug 2016 1:25 am, "Alex Afanasyev" <aa at cs.ucla.edu> wrote:

>
> > On Aug 14, 2016, at 6:33 AM, Muhammad Hosain Abdollahi Sabet <
> mhasabet at gmail.com> wrote:
> >
> > Hi,
> > In Forwarder::onContentStoreMiss I want to track pit entry and it's
> Link(if exists) but having called it on NFD_LOG_DEBUG with
> pitEntry.getName() or pitEntry.getInterest.getName(),
> pitEntry.getInterest.getLink() compiler says:
> >
> > class std::shared_ptr<nfd::pit::Entry> has no member named 'getName'
> > Similar to what compiler says about getInterest. Well
>
> std::shared_ptr<nfd::pit::Entry> doesn't have getName, as by .getName()
> you're trying to get a method of the shared pointer.  Try using
> ->getInterest and ->getName() instead.
>
> ---
> Alex
>
> > What is it I've missed?
> >
> > Thanks,
> > Sabet
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160815/7f5f382c/attachment.html>


More information about the ndnSIM mailing list