Go to the documentation of this file.
39 auto cstrIter = fileExtensionConstructorTablePtr_->cfind(fileType);
41 if (!cstrIter.found())
44 <<
"Unknown edge format " << fileType
46 <<
"Valid types:" <<
nl
47 <<
flatOutput(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.
static autoPtr< edgeMesh > New(const fileName &name, const word &fileType)
Read construct from filename with given format.
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.
FlatOutput< Container > flatOutput(const Container &obj, label len=0)
Global flatOutput function.