<div><div><div dir="auto">Hi Adi</div></div><div dir="auto"><br></div><div dir="auto">CS iterator name refers to Data name, not Interest name.</div><div dir="auto"><br></div><div dir="auto">One of the NDN design principles is Data Immutability. <div><a href="https://named-data.net/project/ndn-design-principles/" target="_blank">https://named-data.net/project/ndn-design-principles/</a></div></div><div dir="auto">Content Store or any other parts of the forwarder cannot change Data name or any other part of the Data.</div><div dir="auto"><br></div><div dir="auto">To change Data name, you have to do so at the producer.</div><div dir="auto">Make sire the Data still satisfies the Interest.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 29, 2019 at 04:47 <<a href="mailto:mdparamartha95@students.itb.ac.id" target="_blank">mdparamartha95@students.itb.ac.id</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>Hello everyone,<br></div><div><br></div><div>I'm would like to ask about how to change the interest name or prefix name of iterator in cs.cpp NFD.<br></div><div><br></div><div>I'm would like to change the content name in<em> it->getName()</em> when emitSignal executed..<br></div><div><br></div><div>I'm only want to change the content name, without changing any other metadata of the content.<br></div><div><br></div><div>I'm trying using setName() function from data.cpp, but it wont working. </div><div><br></div><div>Could someone help me or give some advice about how to change content name in m_table(iterator) in NFD cs.cpp  ?<br><br>Thank You<br></div><div><br></div><div>Best Regards,<br></div><div>Adi Paramartha<br></div></div></div>_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div>
</div>