File conditionalstream.h
FileList > code_source > templat > include > TempLat > util > conditionaloutput > conditionalstream.h
Go to the source code of this file
#include <sstream>
Namespaces
| Type | Name |
|---|---|
| namespace | TempLat |
Classes
| Type | Name |
|---|---|
| class | ConditionalStream Because of MPI, we often only want to stream if we are root, etc. To simplify the notation, and simply always be able to write output << ..., we create a wrapper that accepts input with operator<<, and does the 'if'-ing inside that operator. |
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/conditionaloutput/conditionalstream.h