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 | 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. More... | |
Variables | |
const Foam::Enum< errorType > | errorNames |
Strings corresponding to the errorType. More... | |
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 22 of file parsingI.H.
References Foam::isspace().
Referenced by Foam::readInt(), Foam::readInt32(), Foam::readInt64(), Foam::readUint32(), Foam::readUint64(), and Foam::ScalarRead().
const Foam::Enum< Foam::parsing::errorType > errorNames |
Strings corresponding to the errorType.
Referenced by Foam::readInt(), Foam::readInt32(), Foam::readInt64(), NASCore::readNasScalar(), Foam::readUint32(), Foam::readUint64(), and Foam::ScalarRead().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.