FEDEM Model Database  R8.0
Source code of the FEDEM model database
FmStructAssembly.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_STRUCT_ASSEMBLY_H
9 #define FM_STRUCT_ASSEMBLY_H
10 
11 #include "vpmDB/FmAssemblyBase.H"
12 
13 
15 {
17 
18 public:
20  virtual ~FmStructAssembly() {}
21 
22  static bool readAndConnect(std::istream& is, std::ostream& os = std::cout);
23  virtual std::ostream& writeFMF(std::ostream& os = std::cout);
24  virtual const char* getUITypeName() const { return "Structure Assembly"; }
25  virtual bool isListable(bool resultView) const { return !resultView; }
26 };
27 
28 #endif
Definition: FmAssemblyBase.H:17
Definition: FmStructAssembly.H:15
FmStructAssembly()
Definition: FmStructAssembly.H:19
virtual const char * getUITypeName() const
Returns the type name of this object for use in the GUI.
Definition: FmStructAssembly.H:24
static bool readAndConnect(std::istream &is, std::ostream &os=std::cout)
Definition: FmStructAssembly.C:32
virtual ~FmStructAssembly()
Definition: FmStructAssembly.H:20
virtual bool isListable(bool resultView) const
Returns true if this object should be visible in the tree views.
Definition: FmStructAssembly.H:25
virtual std::ostream & writeFMF(std::ostream &os=std::cout)
Writes out this object in the model database file format.
Definition: FmStructAssembly.C:17