Pretty printer for test cases.
More...
|
| Printer (const int64_t high, const uint64_t low) |
| Construct from high and low words of Q64.64 representation.
|
|
| Printer (const int64x64_t value) |
| Construct from an int64x64_t Q64.64 value.
|
|
|
std::ostream & | operator<< (std::ostream &os, const Printer &p) |
| Output streamer, the main reason for this class.
|
|
Pretty printer for test cases.
Definition at line 55 of file int64x64-test-suite.cc.
◆ Printer() [1/2]
ns3::int64x64::test::Printer::Printer |
( |
const int64_t | high, |
|
|
const uint64_t | low ) |
|
inline |
Construct from high and low words of Q64.64 representation.
- Parameters
-
[in] | high | The integer portion. |
[in] | low | The fractional portion. |
Definition at line 64 of file int64x64-test-suite.cc.
◆ Printer() [2/2]
ns3::int64x64::test::Printer::Printer |
( |
const int64x64_t | value | ) |
|
|
inline |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Printer & | p ) |
|
friend |
Output streamer, the main reason for this class.
- Parameters
-
[in] | os | The stream. |
[in] | p | The value to print. |
- Returns
- The stream.
Definition at line 101 of file int64x64-test-suite.cc.
◆ m_haveInt
bool ns3::int64x64::test::Printer::m_haveInt |
|
private |
◆ m_high
int64_t ns3::int64x64::test::Printer::m_high |
|
private |
◆ m_low
uint64_t ns3::int64x64::test::Printer::m_low |
|
private |
◆ m_value
The documentation for this class was generated from the following file: