35 #ifndef IStringStream_H 36 #define IStringStream_H 69 *(new
std::istringstream(buffer)),
70 "IStringStream.sourceFile",
88 *(new
std::istringstream(buffer)),
106 *(new
std::istringstream(buffer)),
107 "IStringStream.sourceFile",
117 delete &
dynamic_cast<std::istringstream&
>(
stdStream());
128 return dynamic_cast<const std::istringstream&
> Istream & operator()() const
Return a non-const reference to const Istream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
versionNumber version() const
Return the stream version.
string str() const
Return the string.
streamFormat
Enumeration for the format of data in the stream.
streamFormat format() const
Return current stream format.
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.
static const versionNumber currentVersion
Current version number.
Input from memory buffer stream.
void print(Ostream &) const
Print description to Ostream.