Go to the documentation of this file.
47 auto cstrIter = fileExtensionConstructorTablePtr_->cfind(fileType);
49 if (!cstrIter.found())
52 <<
"Unknown edge format " << fileType
53 <<
" for file " <<
name <<
nl
54 <<
"Valid types:" <<
nl
55 <<
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.
const Foam::Enum< fileTag > fileExtension
File extension (without ".") for some vtk XML file content types.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
word ext() const
Return file name extension (part after last .)
word name(const complex &c)
Return string representation of complex.
static autoPtr< extendedEdgeMesh > New(const fileName &name, const word &fileType)
Select constructed from filename with given file format.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
FlatOutput< Container > flatOutput(const Container &obj, label len=0)
Global flatOutput function.