Go to the documentation of this file.
72 void readWordToken(
token& t);
77 Istream& readVerbatim(std::string& str);
81 Istream& readVariable(std::string& str);
84 void operator=(
const ISstream&) =
delete;
125 virtual ios_base::fmtflags
flags()
const;
187 virtual ios_base::fmtflags
flags(
const ios_base::fmtflags
flags);
199 virtual const std::istream&
stdStream()
const
int peek()
Raw, low-level peek function.
virtual void print(Ostream &os) const
Print description of IOstream to Ostream.
label ListType::const_reference val
double doubleScalar
Floating-point double precision scalar type.
ISstream(std::istream &is, const string &name, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Construct as wrapper around std::istream.
A class for handling words, derived from Foam::string.
ISstream & getLine(std::string &str, char delim='\n')
Raw, low-level getline into a string function.
A class for handling file names.
float floatScalar
Floating-point single precision scalar type.
streamFormat format() const noexcept
Get the current stream format.
static const versionNumber currentVersion
The current version number.
Generic input stream using standard (STL) streams.
A token holds an item read from Istream.
virtual void rewind()
Rewind the stream so that it may be read again.
virtual Istream & readRaw(char *data, std::streamsize count)
Low-level raw binary read.
ISstream & get(char &c)
Raw, low-level get character function.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool endRawRead()
End of low-level raw binary read.
Representation of a major/minor version number.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual const fileName & name() const
Return the name of the stream.
versionNumber version() const noexcept
Get the stream version.
ISstream & putback(const char c)
Raw, low-level putback character function.
streamFormat
Data format (ascii | binary)
virtual const std::istream & stdStream() const
Const access to underlying std::istream.
virtual std::istream & stdStream()
Access to underlying std::istream.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
virtual ios_base::fmtflags flags() const
Return flags of output stream.
virtual Istream & read(token &t)
Return next token from stream.
const dimensionedScalar c
Speed of light in a vacuum.
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
virtual ~ISstream()=default
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool beginRawRead()
Start of low-level raw binary read.
compressionType compression() const noexcept
Get the stream compression.
Database for solution data, solver performance and other reduced data.