![]() |
|
Public Member Functions | |
OPstream (const int toProcNo, const label bufSize=0, const bool bufferedTransfer=true, streamFormat format=BINARY, versionNumber version=currentVersion) | |
Construct given process index to send to and optional buffer size,. | |
~OPstream () | |
ios_base::fmtflags | flags () const |
Return flags of output stream. | |
Ostream & | write (const token &) |
Write next token to stream. | |
Ostream & | write (const char) |
Write character. | |
Ostream & | write (const char *) |
Write character string. | |
Ostream & | write (const word &) |
Write word. | |
Ostream & | write (const string &) |
Write string. | |
Ostream & | write (const label) |
Write label. | |
Ostream & | write (const floatScalar) |
Write floatScalar. | |
Ostream & | write (const doubleScalar) |
Write doubleScalar. | |
Ostream & | write (const char *, std::streamsize) |
Write binary block. | |
void | indent () |
Add indentation characters. | |
void | flush () |
Flush stream. | |
void | endl () |
Add ' ' and flush stream. | |
int | width () const |
Get width of output field. | |
int | width (const int) |
Set width of output field (and return old width). | |
int | precision () const |
Get precision of output field. | |
int | precision (const int) |
Set precision of output field (and return old precision). | |
bool | bufferedTransfer () const |
Get the data transfer option of the stream. | |
bool | bufferedTransfer (const bool bfrdTransfer) |
Set the buffering option of the stream. | |
ios_base::fmtflags | flags (const ios_base::fmtflags) |
Set flags of stream. | |
void | print (Ostream &) const |
Print description of IOstream to Ostream. | |
Static Public Member Functions | |
bool | write (const int toProcNo, const char *buf, const std::streamsize bufSize, const bool bufferedTransfer=true) |
Write given buffer to given processor. |
|
Construct given process index to send to and optional buffer size,. write format and IO version |
|
|
|
Set the buffering option of the stream.
Definition at line 202 of file OPstream.H. |
|
Get the data transfer option of the stream.
Definition at line 196 of file OPstream.H. |
|
Add '
Implements Ostream. Definition at line 168 of file OPstream.H. |
|
Set flags of stream.
Definition at line 213 of file OPstream.H. |
|
Return flags of output stream.
Implements IOstream. Definition at line 112 of file OPstream.H. |
|
Flush stream.
Implements Ostream. Definition at line 164 of file OPstream.H. |
|
Add indentation characters.
Implements Ostream. Definition at line 157 of file OPstream.H. |
|
Set precision of output field (and return old precision).
Definition at line 190 of file OPstream.H. |
|
Get precision of output field.
Implements Ostream. Definition at line 184 of file OPstream.H. |
|
Print description of IOstream to Ostream.
Reimplemented from IOstream. |
|
Set width of output field (and return old width).
Definition at line 178 of file OPstream.H. |
|
Get width of output field.
Implements Ostream. Definition at line 172 of file OPstream.H. |
|
Write binary block.
Implements Ostream. |
|
Write doubleScalar.
Implements Ostream. |
|
Write floatScalar.
Implements Ostream. |
|
Write label.
Implements Ostream. |
|
Write string.
Implements Ostream. |
|
Write word.
Implements Ostream. |
|
Write character string.
Implements Ostream. |
|
Write character.
Implements Ostream. |
|
Write next token to stream.
Implements Ostream. |
|
Write given buffer to given processor.
|