Go to the documentation of this file.
20 #ifndef __masterOstream_hpp__
21 #define __masterOstream_hpp__
135 #endif // __masterOstream_hpp__
bool write(const token &tok)
Write token to stream or otherwise handle it.
Token class based on OpenFOAM stream, with some modifications/simplifications to be tailored to our n...
bool isThisMaster_
Print prefix?
iOstream & writeQuoted(const word &str, const bool quoted=true) override
Write std::string surrounded by quotes.
Output stream for MPI parallel run, when we need to know which the processor number in the output lin...
auto count(const Vector< T, Allocator > &vec, const T &val)
void indent() override
Add indentation characters.
void setMasterSlave(bool master)
Set if this processor is slave or master.
unsigned long long int uint64
masterOstream(std::ostream &os, const word &streamName)
From components.
bool write(const token &tok) override
Write token to stream or otherwise handle it.
Standard output stream for BINARY and ASCII formats.
Interface class for any output stream.
void operator=(const masterOstream &)=delete
No copy assignment.