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 220 ios_base::fmtflags
flags(
const ios_base::fmtflags)
222 return ios_base::fmtflags(0);
A class for handling verbatimStrings, derived from string.
commsTypes commsType() const
Get the communications type of the stream.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
commsTypes
Types of communications.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
static int & msgType()
Message tag of standard messages.
versionNumber version() const
Return the stream version.
static label worldComm
Default communicator (all processors)
Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
int precision() const
Get precision 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.
streamFormat format() const
Return current stream format.
ios_base::fmtflags flags() const
Return flags of output stream.
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 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.
long double longDoubleScalar
Lang double precision floating point scalar type.
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,.
int width() const
Get width of output field.
void print(Ostream &) const
Print description of IOstream to Ostream.
Inter-processor communications stream.
void indent()
Add indentation characters.