Bug 9

Summary: make TimeUnit<1>.GetSeconds() work, and similar for scalars
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: pre-release   
Hardware: PC   
OS: Linux   
Attachments: proposed patch
patch v2, fix docs

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.