Bug 9 - make TimeUnit<1>.GetSeconds() work, and similar for scalars
make TimeUnit<1>.GetSeconds() work, and similar for scalars
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
pre-release
PC Linux
: P1 blocker
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-06 09:07 UTC by Gustavo J. A. M. Carneiro
Modified: 2008-07-01 13:32 UTC (History)
0 users

See Also:


Attachments
proposed patch (6.73 KB, patch)
2007-03-06 09:07 UTC, Gustavo J. A. M. Carneiro
Details | Diff
patch v2, fix docs (7.91 KB, patch)
2007-03-06 11:00 UTC, Gustavo J. A. M. Carneiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo J. A. M. Carneiro 2007-03-06 09:07:11 UTC
The problem is described here: http://mailman.isi.edu/pipermail/ns-developers/2007-February/002848.html
Comment 1 Gustavo J. A. M. Carneiro 2007-03-06 09:07:44 UTC
Created attachment 4 [details]
proposed patch
Comment 2 Mathieu Lacage 2007-03-06 09:28:19 UTC
Have you made sure that the doxygen output is still ok ? 

If so, please, send an email to ns-dev asking for comments. If you don't get any feedback, I will apply this patch in a week.
Comment 3 Gustavo J. A. M. Carneiro 2007-03-06 09:52:15 UTC
(In reply to comment #2)
> Have you made sure that the doxygen output is still ok ?

Actually no.  I am checking now and noticing that doxygen is not showing the extra methods (e.g. GetSeconds ()) of TimeUnit<1>, and I don't really know how to make it show those methods :(
Comment 4 Gustavo J. A. M. Carneiro 2007-03-06 11:00:37 UTC
Created attachment 5 [details]
patch v2, fix docs

I couldn't find a way to coerce doxygen to document the extra methods.  As a workaround, I just described the added methods in the overview sections of the type.