70 const bool sendAtDestruct_;
77 inline void writeToBuffer(
const T&);
80 inline void writeToBuffer(
const char&);
83 inline void writeToBuffer(
const void*
data,
size_t count,
size_t align);
99 const bool sendAtDestruct =
true,
117 ios_base::fmtflags
flags()
const 119 return ios_base::fmtflags(0);
131 const std::streamsize bufSize,
156 const bool quoted=
true 217 ios_base::fmtflags
flags(
const ios_base::fmtflags)
219 return ios_base::fmtflags(0);
streamFormat format() const
Return current stream format.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
int precision() const
Get precision of output field.
void print(Ostream &) const
Print description of IOstream to Ostream.
commsTypes
Types of communications.
A token holds items read from Istream.
ios_base::fmtflags flags() const
Return flags of output stream.
static int & msgType()
Message tag of standard messages.
static label worldComm
Default communicator (all processors)
Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
int width() const
Get width of output field.
void endl()
Add newline and flush stream.
A class for handling words, derived from string.
float floatScalar
Float precision floating point scalar type.
streamFormat
Enumeration for the format of data in the stream.
double doubleScalar
Double precision floating point scalar type.
versionNumber version() const
Return the stream version.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Output inter-processor communications stream operating on external buffer.
void flush()
Flush stream.
Database for solution data, solver performance and other reduced data.
static bool write(const commsTypes commsType, const int toProcNo, const char *buf, const std::streamsize bufSize, const int tag=UPstream::msgType(), const label communicator=0)
Write given buffer to given processor.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Helper class for allocating/freeing communicators.
commsTypes commsType() const
Get the communications type of the stream.
static const versionNumber currentVersion
Current version number.
UOPstream(const commsTypes commsType, const int toProcNo, DynamicList< char > &sendBuf, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm, const bool sendAtDestruct=true, streamFormat format=BINARY, versionNumber version=currentVersion)
Construct given process index to send to and optional buffer size,.
Inter-processor communications stream.
void indent()
Add indentation characters.