Insert ,
when streaming function arguments.
More...
#include "log.h"
Public Member Functions | |
ParameterLogger (std::ostream &os) | |
Constructor. More... | |
template<typename T > | |
ParameterLogger & | operator<< (T param) |
Write a function parameter on the output stream, separating parameters after the first by , strings. More... | |
Private Attributes | |
bool | m_first |
First argument flag, doesn't get , . More... | |
std::ostream & | m_os |
Underlying output stream. More... | |
ns3::ParameterLogger::ParameterLogger | ( | std::ostream & | os | ) |
|
inline |
Write a function parameter on the output stream, separating parameters after the first by ,
strings.
[in] | param | The function parameter. |
|
private |
First argument flag, doesn't get ,
.
Definition at line 418 of file log.h.
Referenced by operator<<().
|
private |