Bug 122

Summary: Object::QueryInterface has two arguments which are redundant
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: gjcarneiro
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   
Attachments: patch for bug 122

Description Mathieu Lacage 2007-12-29 05:29:52 UTC
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 Mathieu Lacage 2007-12-29 05:31:00 UTC
Created attachment 100 [details]
patch for bug 122
Comment 2 Mathieu Lacage 2007-12-29 05:31:56 UTC
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 Gustavo J. A. M. Carneiro 2007-12-29 16:35:55 UTC
As long as the QI version accepting the iid string is retained, for the sake of python bindings, sounds good to me.
Comment 4 Tom Henderson 2008-02-02 18:56:48 UTC
ns-3-object changed QueryInterface to GetObject