Go to the documentation of this file.
51 setState(is_.rdstate());
63 if (
good() &&
c ==
'\n')
80 std::getline(is_, str, delim);
81 setState(is_.rdstate());
104 setState(is_.rdstate());
int peek()
Raw, low-level peek function.
ISstream(std::istream &is, const string &name, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Construct as wrapper around std::istream.
ISstream & getLine(std::string &str, char delim='\n')
Raw, low-level getline into a string function.
Generic input stream using standard (STL) streams.
ISstream & get(char &c)
Raw, low-level get character function.
word format(conversionProperties.get< word >("format"))
void setState(ios_base::iostate state)
Set stream state.
Representation of a major/minor version number.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label lineNumber_
The file line.
word name(const complex &c)
Return string representation of complex.
ISstream & putback(const char c)
Raw, low-level putback character function.
streamFormat
Data format (ascii | binary)
const std::string version
OpenFOAM version (name or stringified number) as a std::string.
const dimensionedScalar c
Speed of light in a vacuum.
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
bool good() const
Return true if next operation might succeed.