38 static const int alphaOffset = toupper(
'A') - 10;
40 static const int zeroOffset = int(
'0');
56 <<
"Illegal hex digit: '" <<
c <<
"'"
64 result += int(
c) - zeroOffset;
68 result += toupper(
c) - alphaOffset;
Read a hex integer from an input stream.
ISstream & get(char &)
Low-level get character function.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
const dimensionedScalar c
Speed of light in a vacuum.
errorManipArg< error, int > exit(error &err, const int errNo=1)
T ReadHex(ISstream &)
Read a hex label from an input stream.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)