59 auto* ctorPtr = dictionaryConstructorTable(bodyType);
68 *dictionaryConstructorTablePtr_
86 os.writeEntry(
"type",
type());
Abstract base-class for all rigid-body joints.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual void write(Ostream &) const
Write.
virtual ~joint()
Destructor.
A class for handling words, derived from Foam::string.
defineTypeNameAndDebug(cuboid, 0)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
defineRunTimeSelectionTable(rigidBody, dictionary)
static autoPtr< joint > New(joint *jointPtr)
Simple selector to return an autoPtr<joint> of the given joint*.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...