[ndnSIM] How to get the full prefix in policy?
Alex Afanasyev
alexander.afanasyev at ucla.edu
Thu Jun 11 10:59:50 PDT 2015
> On Jun 10, 2015, at 12:50 PM, 최원준 <wonjunchoi001 at gmail.com> wrote:
>
> Hello.
>
> How can I get the full prefix name in insert method in lru-policy.hpp?
> insert(typename parent_trie::iterator item)
>
> *item returns just behind of full prefix that is some kind of %FE%07 if /prefix1/%FE%07.
>
Try
item->payload()->GetData()->getName()
--
Alex
>
> Best regards.
>
> Wonjun, Choi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150611/d3296b52/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150611/d3296b52/attachment.bin>
More information about the ndnSIM
mailing list