A Time with attached unit, to facilitate output in that unit. More...
#include <nstime.h>
Collaboration diagram for ns3::TimeWithUnit:Public Member Functions | |
| TimeWithUnit (const Time time, const Time::Unit unit) | |
| Attach a unit to a Time. More... | |
Private Attributes | |
| Time | m_time |
| The time. More... | |
| Time::Unit | m_unit |
| The unit to use in output. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const TimeWithUnit &time) |
| Output streamer. More... | |
A Time with attached unit, to facilitate output in that unit.
|
inline |
|
friend |
|
private |
|
private |
The unit to use in output.
Definition at line 1061 of file nstime.h.
Referenced by ns3::operator<<().