Collection of static functions and data related to parsing and an isolated namespace for lexers, parsers, scanners. More...
Classes | |
| class | genericRagelLemonDriver |
| Generic interface code for Ragel/Lemon combination Subclasses should implement one or more process() methods. More... | |
Enumerations | |
| enum class | errorType { NONE = 0 , GENERAL = 1 , RANGE = 2 , TRAILING = 3 } |
| Enumeration for possible parsing error. More... | |
Functions | |
| errorType | checkConversion (const char *buf, char *endptr) |
| Sanity check after strtof, strtod, etc. | |
Variables | |
| const Foam::Enum< errorType > | errorNames |
| Strings corresponding to the errorType. | |
Collection of static functions and data related to parsing and an isolated namespace for lexers, parsers, scanners.
|
strong |
|
inline |
Sanity check after strtof, strtod, etc.
Should set errno = 0 prior to the conversion.
Definition at line 21 of file parsingI.H.
References GENERAL, Foam::isspace(), NONE, RANGE, and TRAILING.
Referenced by Foam::readInt(), Foam::readInt(), Foam::readInt32(), Foam::readInt32(), Foam::readInt64(), Foam::readInt64(), Foam::readUint32(), Foam::readUint32(), Foam::readUint64(), and Foam::readUint64().


|
extern |
Strings corresponding to the errorType.
Referenced by Foam::readInt(), Foam::readInt32(), Foam::readInt64(), NASCore::readNasScalar(), Foam::readUint32(), and Foam::readUint64().