Bug 303

Summary: DataCalculator::GetKey triggers a PyBindGen bug
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: generalAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: tjkopena
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   

Description Gustavo J. A. M. Carneiro 2008-08-31 17:29:58 UTC
DataCalculator::GetKey triggers a PyBindGen bug because it uses 'const std::string' as return type.  Fixing that PyBindGen bug is more complicated than it seems and I decided to do some heavy refactoring which will take some time.

Since "const std::string" makes no sense at all anyway, do you mind changing to std::string?  This so that I can rescan API so that Python bindings to cover the stats module.


PS: the bugzilla comoponent list should have a "general" component, for when there is no matching component yet, as in this case.
Comment 1 Tom Henderson 2008-08-31 17:34:54 UTC
(In reply to comment #0)

> PS: the bugzilla comoponent list should have a "general" component, for when
> there is no matching component yet, as in this case.
> 

added

Comment 2 Gustavo J. A. M. Carneiro 2008-09-02 06:15:10 UTC
Nevermind, I fixed PyBindGen.
Comment 3 Mathieu Lacage 2008-09-02 11:57:10 UTC
no, it's a bug. It makes no sense to have return value types be const
Comment 4 Mathieu Lacage 2008-09-02 13:05:39 UTC
changeset 55dedf98ad49