Go to the documentation of this file.
40 static const int alphaOffset = toupper(
'A') - 10;
42 static const int zeroOffset = int(
'0');
58 <<
"Illegal hex digit: '" <<
c <<
"'"
66 result += int(
c) - zeroOffset;
70 result += toupper(
c) - alphaOffset;
bool isspace(char c) noexcept
Test for whitespace (C-locale)
Generic input stream using a standard (STL) stream.
Read a hex integer from an input stream.
T ReadHex(ISstream &is)
Read a hex label from an input stream.
ISstream & get(char &c)
Raw, low-level get character function.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const dimensionedScalar c
Speed of light in a vacuum.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.