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,
133 const label communicator = 0
156 const bool quoted=
true
226 ios_base::fmtflags
flags(
const ios_base::fmtflags)
228 return ios_base::fmtflags(0);
static const versionNumber currentVersion
Current version number.
streamFormat format() const
Return current stream format.
streamFormat
Enumeration for the format of data in the stream.
versionNumber version() const
Return the stream version.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Output inter-processor communications stream operating on external buffer.
ios_base::fmtflags flags() const
Return flags of output stream.
void endl()
Add newline and flush stream.
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.
void indent()
Add indentation characters.
Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
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 precision() const
Get precision of output field.
void print(Ostream &) const
Print description of IOstream to Ostream.
int width() const
Get width of output field.
void flush()
Flush stream.
Inter-processor communications stream.
commsTypes
Types of communications.
static label worldComm
Default communicator (all processors)
commsTypes commsType() const
Get the communications type of the stream.
static int & msgType()
Message tag of standard messages.
A class for handling verbatimStrings, derived from string.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
double doubleScalar
Double precision floating point scalar type.
float floatScalar
Float precision floating point scalar type.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
long double longDoubleScalar
Lang double precision floating point scalar type.