[Ns-bugs] [Bug 215] Node names patch

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Sun Oct 19 13:59:48 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=215





------- Comment #7 from tomh at tomh.org  2008-10-19 16:59 -------
Mathieu suggested the following to me a little while ago:

class NameContainer
{
public:
  void Set (Ptr<Object> obj, std::string name);
  template <typename T>
  Ptr<T> Get (std::string name);
};

This allows any Object to have a unique name in the system, and doesn't cause
all nodes to carry a std::string.  Thoughts?

by the way, I also would like to resolve this for ns-3.3.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Ns-bugs mailing list