OpenFOAM logo
Open Source CFD Toolkit

IOstream.H File Reference


Detailed Description

View IOstream.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
An IOstream is an abstract base class for all input/output
systems; be they streams, files, token lists etc.
The basic operations are construct, close, read token,
read primitive and read binary block.  In addition version control
and line number counting is incorporated.  Usually one would use
the read primitive member functions,  but if one were reading a
stream on unknown data sequence one can read token by token, and
then analyse.

Source files

Definition in file IOstream.H.

Go to the source code of this file.

Namespaces

namespace  Foam

Classes

class  IOstream
class  IOstream::versionNumber
 Version number type. More...

Defines

#define ios_base   ios

Typedefs

typedef IOstream &(* IOstreamManip )(IOstream &)

Functions

IOstream & operator<< (IOstream &io, IOstreamManip f)
 operator<< handling for manipulators without arguments
IOstream & dec (IOstream &io)
IOstream & hex (IOstream &io)
IOstream & oct (IOstream &io)
IOstream & fixed (IOstream &io)
IOstream & scientific (IOstream &io)


Define Documentation

#define ios_base   ios
 

Definition at line 64 of file IOstream.H.


Typedef Documentation

typedef IOstream&(* IOstreamManip)(IOstream &)
 

Definition at line 551 of file IOstream.H.


Function Documentation

IOstream& dec IOstream &  io  )  [inline]
 

Definition at line 560 of file IOstream.H.

References IOstream::setf().

Here is the call graph for this function:

IOstream& fixed IOstream &  io  )  [inline]
 

Definition at line 578 of file IOstream.H.

IOstream& hex IOstream &  io  )  [inline]
 

Definition at line 566 of file IOstream.H.

References IOstream::setf().

Here is the call graph for this function:

IOstream& oct IOstream &  io  )  [inline]
 

Definition at line 572 of file IOstream.H.

IOstream& operator<< IOstream &  io,
IOstreamManip  f
[inline]
 

operator<< handling for manipulators without arguments

Definition at line 554 of file IOstream.H.

References IOstream::setf().

Here is the call graph for this function:

IOstream& scientific IOstream &  io  )  [inline]
 

Definition at line 584 of file IOstream.H.

For further information go to www.openfoam.org