39 typename fileExtensionConstructorTable::iterator cstrIter =
40 fileExtensionConstructorTablePtr_->find(ext);
42 if (cstrIter == fileExtensionConstructorTablePtr_->end())
46 if (supported.
found(ext))
59 supported += readTypes();
62 <<
"Unknown file extension " << ext <<
nl <<
nl 63 <<
"Valid types are:" <<
nl 82 return New(name, ext);
A surface geometry mesh, in which the surface zone information is conveyed by the 'zoneId' associated...
A HashTable with keys but without contents.
A class for handling file names.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word ext() const
Return file name extension (part after last .)
bool found(const Key &) const
Return true if hashedEntry is found in table.
A class for handling words, derived from string.
word name(const complex &)
Return a string representation of a complex.
fileName lessExt() const
Return file name without extension (part before last .)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< UnsortedMeshedSurface > New(const fileName &, const word &ext)
Select constructed from filename (explicit extension)
#define InfoInFunction
Report an information message using Foam::Info.