souffle
2.0.2-371-g6315b36
|
A auxiliary class to be returned by the join function aggregating the information required to print a list of elements as well as the implementation of the printing itself. More...
#include <StreamUtil.h>
Public Member Functions | |
joined_sequence (const Iter &a, const Iter &b, std::string sep, Printer p) | |
A constructor setting up all fields of this class. More... | |
Private Attributes | |
Iter | begin |
The begin of the range to be printed. More... | |
Iter | end |
The end of the range to be printed. More... | |
Printer | p |
A functor printing an element. More... | |
std::string | sep |
The seperator to be utilized between elements. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const joined_sequence &s) |
The actual print method. More... | |
A auxiliary class to be returned by the join function aggregating the information required to print a list of elements as well as the implementation of the printing itself.
Definition at line 79 of file StreamUtil.h.
|
inline |
A constructor setting up all fields of this class.
Definition at line 94 of file StreamUtil.h.
|
friend |
The actual print method.
Definition at line 98 of file StreamUtil.h.
|
private |
The begin of the range to be printed.
Definition at line 81 of file StreamUtil.h.
|
private |
The end of the range to be printed.
Definition at line 84 of file StreamUtil.h.
|
private |
A functor printing an element.
Definition at line 90 of file StreamUtil.h.
|
private |
The seperator to be utilized between elements.
Definition at line 87 of file StreamUtil.h.