FEDEM Model Database  R8.0
Source code of the FEDEM model database
FmRigidJoint.H
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2023 SAP SE
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 // This file is part of FEDEM - https://openfedem.org
7 
8 #ifndef FM_RIGID_JOINT_H
9 #define FM_RIGID_JOINT_H
10 
11 #include "vpmDB/FmSMJointBase.H"
12 
13 
15 {
17 
18 public:
19  FmRigidJoint();
20 
21  static bool readAndConnect(std::istream& is, std::ostream& os = std::cout);
22  virtual std::ostream& writeFMF(std::ostream& os = std::cout);
23  virtual bool clone(FmBase* obj, int depth);
24  virtual const char* getUITypeName() const { return "Rigid joint"; }
25 
26 protected:
27  virtual ~FmRigidJoint() {}
28 
29  virtual bool cloneLocal(FmBase* obj, int depth);
30 };
31 
32 #endif
Base parent class for the model data structure entries.
Definition: FmBase.H:37
Definition: FmRigidJoint.H:15
virtual const char * getUITypeName() const
Returns the type name of this object for use in the GUI.
Definition: FmRigidJoint.H:24
virtual bool cloneLocal(FmBase *obj, int depth)
Clones the data fields of *obj into *this.
Definition: FmRigidJoint.C:73
virtual std::ostream & writeFMF(std::ostream &os=std::cout)
Writes out this object in the model database file format.
Definition: FmRigidJoint.C:41
static bool readAndConnect(std::istream &is, std::ostream &os=std::cout)
Definition: FmRigidJoint.C:50
FmRigidJoint()
Definition: FmRigidJoint.C:25
virtual ~FmRigidJoint()
Definition: FmRigidJoint.H:27
Definition: FmSMJointBase.H:17
virtual bool clone(FmBase *, int)
Copies the fields of another object into *this.
Definition: FmBase.H:109