ChimeraTK-ApplicationCore
04.01.00
|
A helper class to replace the output stream temporarily. More...
#include <VariableNetworkNodeDumpingVisitor.h>
Public Member Functions | |
PushableStream (std::ostream &stream) | |
virtual | ~PushableStream ()=default |
void | pushStream (std::ostream &stream) |
std::ostream & | stream () |
void | popStream () |
A helper class to replace the output stream temporarily.
This is a helper class that is used in the Graphviz dumper to be able to dump the nodes to a stringstream instead of directly to the file.
Ideally, the pushStream()/popStream() functions should be called in pairs but popStream() will do nothing if the stack is empty.
Definition at line 29 of file VariableNetworkNodeDumpingVisitor.h.
|
inlineexplicit |
Definition at line 31 of file VariableNetworkNodeDumpingVisitor.h.
|
virtualdefault |
|
inline |
Definition at line 38 of file VariableNetworkNodeDumpingVisitor.h.
|
inline |
Definition at line 34 of file VariableNetworkNodeDumpingVisitor.h.
|
inline |
Definition at line 36 of file VariableNetworkNodeDumpingVisitor.h.