OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

IStringStream Class Reference

Inheritance diagram for IStringStream:

Inheritance graph
[legend]
Collaboration diagram for IStringStream:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 59 of file IStringStream.H.


Public Member Functions

 IStringStream (const string &buffer, streamFormat format=ASCII, versionNumber version=currentVersion)
 Construct from string.
 IStringStream (const char *buffer, streamFormat format=ASCII, versionNumber version=currentVersion)
 Construct from char*.
 ~IStringStream ()
string str () const
void print (Ostream &) const
 Print description of IOstream to Ostream.
Istream & operator() () const
 Return a non-const reference to const Istream.

Constructor & Destructor Documentation

IStringStream ( const string &  buffer,
streamFormat  format = ASCII,
versionNumber  version = currentVersion 
) [inline]

Construct from string.

Definition at line 70 of file IStringStream.H.

IStringStream ( const char *  buffer,
streamFormat  format = ASCII,
versionNumber  version = currentVersion 
) [inline]

Construct from char*.

Definition at line 88 of file IStringStream.H.

~IStringStream (  )  [inline]

Definition at line 106 of file IStringStream.H.

References IStringStream::str(), and ISstream::stream().

Here is the call graph for this function:


Member Function Documentation

string str (  )  const [inline]

Definition at line 116 of file IStringStream.H.

Referenced by IStringStream::~IStringStream().

Here is the caller graph for this function:

void print ( Ostream &   )  const [virtual]

Print description of IOstream to Ostream.

Reimplemented from ISstream.

Istream& operator() (  )  const [inline]

Return a non-const reference to const Istream.

Needed for read-constructors where the stream argument is temporary: e.g. thing thisThing(IFstream("thingFileName")());

Reimplemented from Istream.

Definition at line 135 of file IStringStream.H.


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd