Bug 122 - Object::QueryInterface has two arguments which are redundant
: Object::QueryInterface has two arguments which are redundant
Status: RESOLVED FIXED
: ns-3
simulation core
: pre-release
: All All
: P3 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-12-29 05:29 EDT by
Modified: 2008-07-01 13:32 EDT (History)


Attachments
patch for bug 122 (41.18 KB, patch)
2007-12-29 05:31 EDT, Mathieu Lacage
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-12-29 05:29:52 EDT
The attached patchset adds a new Object::QueryInterface method which takes only
a single argument, a template type argument and uses this simple method
everywhere possible in the current codebase.
------- Comment #1 From 2007-12-29 05:31:00 EDT -------
Created an attachment (id=100) [details]
patch for bug 122
------- Comment #2 From 2007-12-29 05:31:56 EDT -------
There are still a few very specific cases where the old two-argument
QueryInterface method was still needed so, I left them in.
------- Comment #3 From 2007-12-29 16:35:55 EDT -------
As long as the QI version accepting the iid string is retained, for the sake of
python bindings, sounds good to me.
------- Comment #4 From 2008-02-02 18:56:48 EDT -------
ns-3-object changed QueryInterface to GetObject