Pretty printer for test cases. More...
Collaboration diagram for ns3::int64x64::test::Printer:Public Member Functions | |
| Printer (const int64_t high, const uint64_t low) | |
| Construct from high and low words of Q64.64 representation. More... | |
| Printer (const int64x64_t value) | |
Construct from an int64x64_t Q64.64 value. More... | |
Private Attributes | |
| bool | m_haveInt |
| Do we have a full int64x64_t value? More... | |
| int64_t | m_high |
| The high (integer) word. More... | |
| uint64_t | m_low |
| The low (fractional) word. More... | |
| int64x64_t | m_value |
| The int64x64_t value. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Printer &p) |
| Output streamer, the main reason for this class. More... | |
Pretty printer for test cases.
Definition at line 60 of file int64x64-test-suite.cc.
|
inline |
Construct from high and low words of Q64.64 representation.
| [in] | high | The integer portion. |
| [in] | low | The fractional portion. |
Definition at line 69 of file int64x64-test-suite.cc.
|
inline |
Construct from an int64x64_t Q64.64 value.
| [in] | value | The value. |
Definition at line 81 of file int64x64-test-suite.cc.
|
friend |
Output streamer, the main reason for this class.
| [in] | os | The stream. |
| [in] | p | The value to print. |
Definition at line 104 of file int64x64-test-suite.cc.
|
private |
Do we have a full int64x64_t value?
Definition at line 98 of file int64x64-test-suite.cc.
Referenced by ns3::int64x64::test::operator<<().
|
private |
The high (integer) word.
Definition at line 100 of file int64x64-test-suite.cc.
Referenced by ns3::int64x64::test::operator<<().
|
private |
The low (fractional) word.
Definition at line 101 of file int64x64-test-suite.cc.
Referenced by ns3::int64x64::test::operator<<().
|
private |
The int64x64_t value.
Definition at line 99 of file int64x64-test-suite.cc.
Referenced by ns3::int64x64::test::operator<<().