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 67 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 76 of file int64x64-test-suite.cc.
|
inline |
Construct from an int64x64_t Q64.64 value.
| [in] | value | The value. |
Definition at line 89 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 113 of file int64x64-test-suite.cc.
|
private |
Do we have a full int64x64_t value?
Definition at line 107 of file int64x64-test-suite.cc.
|
private |
The high (integer) word.
Definition at line 109 of file int64x64-test-suite.cc.
|
private |
The low (fractional) word.
Definition at line 110 of file int64x64-test-suite.cc.
|
private |
The int64x64_t value.
Definition at line 108 of file int64x64-test-suite.cc.