Go to the documentation of this file.
126 const token&
peekBack() const noexcept;
134 void putBack(const token& tok);
178 virtual
void rewind() = 0;
189 bool readEnd(const
char* funcName);
244 reinterpret_cast<label*
>(
data),
245 byteCount/
sizeof(label)
253 reinterpret_cast<scalar*
>(
data),
254 byteCount/
sizeof(scalar)
259 is.readRaw(
data, byteCount);
@ UNCOMPRESSED
compression = false
double doubleScalar
Floating-point double precision scalar type.
Istream(IOstreamOption streamOpt=IOstreamOption())
A class for handling words, derived from Foam::string.
constexpr IOstreamOption(streamFormat fmt=streamFormat::ASCII, compressionType comp=compressionType::UNCOMPRESSED) noexcept
Istream(const Istream &)=default
char readBeginList(const char *funcName)
float floatScalar
Floating-point single precision scalar type.
IOstream &(* IOstreamManip)(IOstream &)
An IOstream is an abstract base class for all input/output systems; be they streams,...
static const versionNumber currentVersion
char readEndList(const char *funcName)
Istream & operator>>(Istream &, directionInfo &)
A token holds an item read from Istream.
bool readEnd(const char *funcName)
virtual Istream & readRaw(char *, std::streamsize)=0
A template class to specify if a data type is composed solely of Foam::label elements.
bool readBegin(const char *funcName)
virtual bool endRawRead()=0
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual ~Istream()=default
const token & peekBack() const noexcept
The IOstreamOption is a simple container for options an IOstream can normally have.
A template class to specify if a data type is composed solely of Foam::scalar elements.
virtual bool beginRawRead()=0
bool hasPutback() const noexcept
void putBack(const token &tok)
label readRawLabel(Istream &is)
Istream &(* IstreamManip)(Istream &)
Database for solution data, solver performance and other reduced data.
virtual Istream & read(token &)=0
void readContiguous(Istream &is, char *data, std::streamsize byteCount)