Helper class for generating code - automatically inserts brackets, indents etc.
More...
#include <codeStream.h>
Helper class for generating code - automatically inserts brackets, indents etc.
Based heavily on: https://stackoverflow.com/questions/15053753/writing-a-manipulator-for-a-custom-stream-class
◆ CodeStream() [1/2]
CodeStream::CodeStream |
( |
| ) |
|
|
inline |
◆ CodeStream() [2/2]
CodeStream::CodeStream |
( |
std::ostream & |
stream | ) |
|
|
inline |
◆ setSink()
void CodeStream::setSink |
( |
std::ostream & |
stream | ) |
|
|
inline |
◆ operator<< [1/2]
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const OB & |
ob |
|
) |
| |
|
friend |
◆ operator<< [2/2]
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const CB & |
cb |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: