Go to the documentation of this file.
36 fileExtensionConstructorTable::iterator cstrIter =
37 fileExtensionConstructorTablePtr_->find(ext);
39 if (cstrIter == fileExtensionConstructorTablePtr_->end())
42 <<
"Unknown file extension " << ext
44 <<
"Valid extensions are :" <<
nl
45 << fileExtensionConstructorTablePtr_->sortedToc()
58 ext =
name.lessExt().ext();
A class for handling words, derived from string.
static autoPtr< edgeMesh > New(const fileName &, const word &ext)
Select constructed from filename (explicit extension)
A class for handling file names.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
word name(const complex &)
Return a string representation of a complex.