Go to the documentation of this file.
38 auto cstrIter = fileExtensionConstructorTablePtr_->cfind(ext);
40 if (!cstrIter.found())
43 <<
"Unknown file extension " << ext
45 <<
"Valid extensions :" <<
nl
46 << fileExtensionConstructorTablePtr_->sortedToc()
word lessExt() const
Return word without extension (part before last .)
A class for handling words, derived from Foam::string.
A class for handling file names.
word ext() const
Return file name extension (part after last .)
word name(const complex &c)
Return string representation of complex.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static autoPtr< edgeMesh > New(const fileName &name, const word &ext)
Select constructed from filename (explicit extension)