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. | |
| Printer (const int64x64_t value) | |
Construct from an int64x64_t Q64.64 value. | |
Private Attributes | |
| bool | m_haveInt |
| Do we have a full int64x64_t value? | |
| int64_t | m_high |
| The high (integer) word. | |
| uint64_t | m_low |
| The low (fractional) word. | |
| int64x64_t | m_value |
| The int64x64_t value. | |
Friends | |
| 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.
|
inline |
Construct from high and low words of Q64.64 representation.
| [in] | high | The integer portion. |
| [in] | low | The fractional portion. |
Definition at line 64 of file int64x64-test-suite.cc.
References m_haveInt, m_high, m_low, and m_value.
Referenced by operator<<.
Here is the caller graph for this function:
|
inline |
Construct from an int64x64_t Q64.64 value.
| [in] | value | The value. |
Definition at line 77 of file int64x64-test-suite.cc.
|
friend |
|
private |
Do we have a full int64x64_t value?
Definition at line 95 of file int64x64-test-suite.cc.
Referenced by Printer(), Printer(), and operator<<.
|
private |
The high (integer) word.
Definition at line 97 of file int64x64-test-suite.cc.
Referenced by Printer(), Printer(), and operator<<.
|
private |
The low (fractional) word.
Definition at line 98 of file int64x64-test-suite.cc.
Referenced by Printer(), Printer(), and operator<<.
|
private |
The int64x64_t value.
Definition at line 96 of file int64x64-test-suite.cc.
Referenced by Printer(), Printer(), and operator<<.