Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
errorType
Enumeration for possible parsing error.
@ NONE
No error encountered.
@ GENERAL
General parsing error.
@ TRAILING
Trailing content detected.
const Foam::Enum< errorType > errorNames
Strings corresponding to the errorType.
errorType checkConversion(const char *buf, char *endptr)
Sanity check after strtof, strtod, etc.