43 #ifndef Foam_dummyISstream_H 44 #define Foam_dummyISstream_H 77 virtual ios_base::fmtflags
flags()
const override 79 return ios_base::fmtflags(0);
83 virtual ios_base::fmtflags
flags(
const ios_base::fmtflags)
override 85 return ios_base::fmtflags(0);
141 virtual Istream&
read(
char*, std::streamsize)
override virtual ~dummyISstream()=default
Destructor.
Input/output from string buffers.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds an item read from Istream.
virtual Istream & read(token &) override
Return next token from stream.
virtual void rewind() override
Rewind the stream so that it may be read again.
virtual ios_base::fmtflags flags() const override
Return flags of stream.
A class for handling words, derived from Foam::string.
dummyISstream()=default
Default construct.
virtual bool beginRawRead() override
Start of low-level raw binary read.
Input from string buffer, using a ISstream. Always UNCOMPRESSED.
virtual bool endRawRead() override
End of low-level raw binary read.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Dummy input stream, which can be used as a placeholder for interfaces taking an Istream or ISstream...
virtual Istream & readRaw(char *, std::streamsize) override
Low-level raw binary read.
virtual Istream & read(char &) override
Read a character.