60 static const int bufInitialCapacity = 1024;
64 static const int bufErrorLength = 80;
90 Istream& readDelimited(
string&,
const char begin,
const char end);
93 void readWordToken(
token&);
135 virtual ios_base::fmtflags
flags()
const;
198 virtual ios_base::fmtflags
flags(
const ios_base::fmtflags flags);
A class for handling verbatimStrings, derived from string.
Istream & readList(string &)
Read a '(...)' delimited set of characters into a string.
A class for handling file names.
virtual const fileName & name() const
Return the name of the stream.
ISstream(istream &is, const string &name, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Construct as wrapper around istream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void print(Ostream &) const
Print description of IOstream to Ostream.
A token holds items read from Istream.
void operator=(const ISstream &)=delete
Disallow default bitwise assignment.
versionNumber version() const
Return the stream version.
virtual Istream & read(token &)
Return next token from stream.
virtual ios_base::fmtflags flags() const
Return flags of output stream.
virtual Istream & rewind()
Rewind and return the stream so that it may be read again.
A class for handling words, derived from string.
int peek()
Low-level peek function.
float floatScalar
Float precision floating point scalar type.
streamFormat
Enumeration for the format of data in the stream.
double doubleScalar
Double precision floating point scalar type.
streamFormat format() const
Return current stream format.
Istream & readBlock(string &)
Read a '{...}' delimited set of characters into a string.
compressionType
Enumeration for the format of data in the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual istream & stdStream()
Access to underlying std::istream.
long double longDoubleScalar
Lang double precision floating point scalar type.
ISstream & putback(const char &)
Low-level putback character function.
compressionType compression() const
Return the stream compression.
ISstream & getLine(string &, const bool continuation=true)
Read line into a string.
static const versionNumber currentVersion
Current version number.
virtual ~ISstream()
Destructor.