[Ns-bugs] [Bug 62] New: naming of methods in DefaultValue
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Sun Aug 5 21:48:09 PDT 2007
http://www.nsnam.org/bugzilla/show_bug.cgi?id=62
Summary: naming of methods in DefaultValue
Product: ns-3
Version: pre-release
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: simulation core
AssignedTo: ns-bugs at isi.edu
ReportedBy: tomh at tomh.org
This is a carryover from the global routing discussion.
>
> >> - along the same lines, Bind() is kind of an oddball in the present
> >> system. We do NodeList::Begin (), Simulator::Run (),
> >> CommandLine::Parse (); but simply Bind (). This isn't consistent.
> >>
> >> (note: the choice of "bind()" was due to ns-2's methods of the same name)
> >>
> >> Perhaps it would be better to do something like,
> >>
> >> Configurator::Set ("DoStaticRouting", "true");
> >>
> >> if (Configurator::IsEqual ("DoStaticRouting", "true"))
> >> {
> >> }
>
>Maybe it would make sense to try to stick the ns-2 naming scheme and use
>DefaultValue::Bind and DefaultValue::IsBound ?
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list