OpenFOAM logo
Open Source CFD Toolkit

Istream.H File Reference


Detailed Description

View Istream.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 Istream is an abstract base class for all input 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.

Definition in file Istream.H.

Go to the source code of this file.

Namespaces

namespace  Foam

Classes

class  Istream

Typedefs

typedef Istream &(* IstreamManip )(Istream &)

Functions

Istream & operator>> (Istream &is, IstreamManip f)
 operator>> handling for manipulators without arguments
Istream & operator>> (Istream &is, IOstreamManip f)
 operator>> handling for manipulators without arguments


Typedef Documentation

typedef Istream&(* IstreamManip)(Istream &)
 

Definition at line 158 of file Istream.H.


Function Documentation

Istream& operator>> Istream &  is,
IOstreamManip  f
[inline]
 

operator>> handling for manipulators without arguments

Definition at line 167 of file Istream.H.

Istream& operator>> Istream &  is,
IstreamManip  f
[inline]
 

operator>> handling for manipulators without arguments

Definition at line 161 of file Istream.H.

For further information go to www.openfoam.org