56 dictionaryConstructorTable::iterator cstrIter =
57 dictionaryConstructorTablePtr_->find(bodyType);
59 if (cstrIter == dictionaryConstructorTablePtr_->end())
62 <<
"Unknown joint type " 63 << bodyType <<
nl <<
nl 64 <<
"Valid joint types are : " <<
endl 65 << dictionaryConstructorTablePtr_->sortedToc()
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 any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual ~joint()
Destructor.
A class for handling words, derived from string.
defineTypeNameAndDebug(cuboid, 0)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
defineRunTimeSelectionTable(rigidBody, dictionary)
virtual void write(Ostream &) const
Write.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
static autoPtr< joint > New(joint *jointPtr)
Simple selector to return an autoPtr<joint> of the given joint*.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.