OPstream Class ReferenceInheritance diagram for OPstream:
[legend]Collaboration diagram for OPstream:
[legend]List of all members.
Detailed Description
Definition at line 60 of file OPstream.H.
|
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 |
| static bool | write (const int toProcNo, const char *buf, const std::streamsize bufSize, const bool bufferedTransfer=true) |
| | Write given buffer to given processor.
|
Constructor & Destructor Documentation
Construct given process index to send to and optional buffer size,.
write format and IO version
Member Function Documentation
| ios_base::fmtflags flags |
( |
|
) |
const [inline, virtual] |
| static bool write |
( |
const int |
toProcNo, |
|
|
const char * |
buf, |
|
|
const std::streamsize |
bufSize, |
|
|
const bool |
bufferedTransfer = true | |
|
) |
| | [static] |
Write given buffer to given processor.
Write next token to stream.
Implements Ostream.
| Ostream& write |
( |
const |
char |
) |
[virtual] |
Write character.
Implements Ostream.
| Ostream& write |
( |
const char * |
|
) |
[virtual] |
Write character string.
Implements Ostream.
| Ostream& write |
( |
const |
label |
) |
[virtual] |
| Ostream& write |
( |
const |
floatScalar |
) |
[virtual] |
Write floatScalar.
Implements Ostream.
| Ostream& write |
( |
const |
doubleScalar |
) |
[virtual] |
Write doubleScalar.
Implements Ostream.
| Ostream& write |
( |
const char * |
, |
|
|
std::streamsize |
| |
|
) |
| | [virtual] |
Write binary block.
Implements Ostream.
| void indent |
( |
|
) |
[inline, virtual] |
| void flush |
( |
|
) |
[inline, virtual] |
| void endl |
( |
|
) |
[inline, virtual] |
| int width |
( |
|
) |
const [inline, virtual] |
| int width |
( |
const |
int |
) |
[inline, virtual] |
Set width of output field (and return old width).
Implements Ostream.
Definition at line 178 of file OPstream.H.
| int precision |
( |
|
) |
const [inline, virtual] |
| int precision |
( |
const |
int |
) |
[inline, virtual] |
Set precision of output field (and return old precision).
Implements Ostream.
Definition at line 190 of file OPstream.H.
| bool bufferedTransfer |
( |
|
) |
const [inline] |
Get the data transfer option of the stream.
Definition at line 196 of file OPstream.H.
| bool bufferedTransfer |
( |
const bool |
bfrdTransfer |
) |
[inline] |
Set the buffering option of the stream.
Definition at line 202 of file OPstream.H.
| ios_base::fmtflags flags |
( |
const ios_base::fmtflags |
|
) |
[inline] |
| void print |
( |
Ostream & |
|
) |
const [virtual] |
The documentation for this class was generated from the following files:
Copyright © 2000-2007 OpenCFD Ltd
|