50 stdStream().read(buf, count);
59 auto& iss = stdStream();
62 value.resize(80,
'\0');
63 iss.read(&value[0], 80);
68 value.erase(iss.gcount());
72 auto endp = value.find(
'\0');
74 if (endp != std::string::npos)
80 endp = value.find_last_not_of(
" \t\f\v\n\r");
82 if (endp != std::string::npos)
84 value.erase(endp + 1);
90 while (value.empty() && !eof())
108 reinterpret_cast<char*
>(&ivalue),
114 stdStream() >> ivalue;
130 reinterpret_cast<char*
>(&fvalue),
138 stdStream() >> value;
Input from file stream, using an ISstream.
streamFormat
Data format (ascii | binary)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool read()
Re-read model coefficients if they have changed.
Ensight output with specialized read() for strings, integers and floats. Correctly handles binary rea...
Istream & readBinaryHeader()
Read "C Binary" for binary files (eg, geometry/measured)
virtual Istream & readKeyword(string &key)
Read element keyword.
A class for handling file names.
bool read(const char *buf, int32_t &val)
Same as readInt32.
word format(conversionProperties.get< word >("format"))