35 #ifndef IStringStream_H 36 #define IStringStream_H 69 *(new
std::istringstream(buffer)),
70 "IStringStream.sourceFile",
87 *(new
std::istringstream(buffer)),
88 "IStringStream.sourceFile",
98 delete &
dynamic_cast<std::istringstream&
>(
stdStream());
109 return dynamic_cast<const std::istringstream&
> streamFormat format() const
Return current stream format.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Istream & operator()() const
Return a non-const reference to const Istream.
string str() const
Return the string.
streamFormat
Enumeration for the format of data in the stream.
versionNumber version() const
Return the stream version.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual istream & stdStream()
Access to underlying std::istream.
IStringStream(const string &buffer, streamFormat format=ASCII, versionNumber version=currentVersion)
Construct from string.
~IStringStream()
Destructor.
void print(Ostream &) const
Print description to Ostream.
static const versionNumber currentVersion
Current version number.
Input from memory buffer stream.