Ostream Class ReferenceInheritance diagram for Ostream:
[legend]Collaboration diagram for Ostream:
[legend]List of all members.
Detailed Description
Definition at line 60 of file Ostream.H.
Constructor & Destructor Documentation
Set stream status.
Definition at line 85 of file Ostream.H.
| virtual ~Ostream |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| virtual Ostream& write |
( |
const |
char |
) |
[pure virtual] |
| virtual Ostream& write |
( |
const char * |
|
) |
[pure virtual] |
| virtual Ostream& write |
( |
const |
label |
) |
[pure virtual] |
| virtual Ostream& write |
( |
const |
floatScalar |
) |
[pure virtual] |
| virtual Ostream& write |
( |
const |
doubleScalar |
) |
[pure virtual] |
| virtual Ostream& write |
( |
const char * |
, |
|
|
std::streamsize |
| |
|
) |
| | [pure virtual] |
| virtual void indent |
( |
|
) |
[pure virtual] |
| unsigned short indentLevel |
( |
|
) |
const [inline] |
| unsigned short& indentLevel |
( |
|
) |
[inline] |
| void incrIndent |
( |
|
) |
[inline] |
Incrememt the indent level.
Definition at line 149 of file Ostream.H.
Decrememt the indent level.
Write the keyword to the Ostream followed by.
appropriate indentation
| virtual void flush |
( |
|
) |
[pure virtual] |
| virtual void endl |
( |
|
) |
[pure virtual] |
| virtual int width |
( |
|
) |
const [pure virtual] |
| virtual int width |
( |
const int |
w |
) |
[pure virtual] |
Set width of output field (and return old width).
Implemented in OPstream, and OSstream.
| virtual int precision |
( |
|
) |
const [pure virtual] |
Get precision of output field.
Implemented in OPstream, and OSstream.
Referenced by Foam::setw().
Here is the caller graph for this function:
| virtual int precision |
( |
const int |
p |
) |
[pure virtual] |
Set precision of output field (and return old precision).
Implemented in OPstream, and OSstream.
| Ostream& operator() |
( |
|
) |
const [inline] |
Return a non-const reference to const Ostream.
Needed for write functions where the stream argument is temporary: e.g. thing thisThing(OFstream("thingFileName")());
Definition at line 192 of file Ostream.H.
Member Data Documentation
const unsigned short indentSize_ = 4 [static, protected] |
Number of spaces per indent level.
Definition at line 70 of file Ostream.H.
Indentation of the entry from the start of the keyword.
Definition at line 76 of file Ostream.H.
The documentation for this class was generated from the following file:
- src/OpenFOAM/db/IOstreams/IOstreams/Ostream.H
Copyright © 2000-2007 OpenCFD Ltd
|