Bug 419 - *Helper::SetAttribute* methods sometimes painful to use
*Helper::SetAttribute* methods sometimes painful to use
Status: NEW
Product: ns-3
Classification: Unclassified
Component: helpers
pre-release
All All
: P4 normal
Assigned To: Craig Dowell
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-25 05:05 EST by Mathieu Lacage
Modified: 2010-02-21 16:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lacage 2008-11-25 05:05:19 EST
It would be nice if we could overload our SetAttribute methods to provide a version like this
SetAttribute (std::string name, std::string value)
{
  SetAttribute (name, StringValue (value));
}

This is purely syntactical sugar, I know.
Comment 1 Craig Dowell 2008-12-09 15:37:11 EST
This bug is on the ns-3.3 hot list and needs to be resolved one way or another.
Comment 2 Mathieu Lacage 2008-12-10 05:06:25 EST
this is a bug for the helper maintainer to decide what to do. reassigning.
Comment 3 Craig Dowell 2008-12-10 14:34:43 EST
Nice to have feature == defer