Go to the documentation of this file.
20 #ifndef __processorOstream_hpp__
21 #define __processorOstream_hpp__
152 #endif // __processorOstream_hpp__
void activatePrefix()
Activate prefix for this stream.
Token class based on OpenFOAM stream, with some modifications/simplifications to be tailored to our n...
bool write(const token &tok)
Write token to stream or otherwise handle it.
processorOstream & setColor(const char *colorCode)
Output stream for MPI parallel run, when we need to know which the processor number in the output lin...
void operator=(const processorOstream &)=delete
No copy assignment.
void checkForPrefix()
Output the prefix if required.
processorOstream(std::ostream &os, const word &streamName)
From components.
auto count(const Vector< T, Allocator > &vec, const T &val)
void indent() override
Add indentation characters.
iOstream & writeQuoted(const word &str, const bool quoted=true) override
Write std::string surrounded by quotes.
word setPrefixNum(int procNum)
Set processor number to be used in the prefix.
bool printPrefix_
Print prefix?
unsigned long long int uint64
word int322Word(const int32 &v)
Convert int32 to word.
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.