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