OpenFOAM logo
Open Source CFD Toolkit

IStringStream Class Reference

Inheritance diagram for IStringStream:

Inheritance graph
[legend]
Collaboration diagram for IStringStream:

Collaboration graph
[legend]
List of all members.

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.
Istreamoperator() () 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.


Member Function Documentation

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.

void print Ostream  )  const [virtual]
 

Print description of IOstream to Ostream.

Reimplemented from ISstream.

string str  )  const [inline]
 

Definition at line 116 of file IStringStream.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org