FEDEM Solver  R8.0
Source code of the dynamics solver
FFrSuperObjectGroup.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 FFR_SUPER_OBJECT_GROUP_H
9 #define FFR_SUPER_OBJECT_GROUP_H
10 
12 
13 
15 {
16 public:
17  FFrSuperObjectGroup(const std::string& name, std::set<std::string>& dict);
18  virtual ~FFrSuperObjectGroup();
19 
21  virtual const std::string& getDescription() const;
23  virtual const std::string& getType() const { return *typeIt; }
24 
25  virtual bool isSOG() const { return true; }
26 
27 private:
28  std::set<std::string>::const_iterator typeIt;
29 
30 #if FFR_DEBUG > 2
31  static long int count;
32 #endif
33 };
34 
35 #endif
Definition: FFrFieldEntryBase.H:17
Definition: FFrSuperObjectGroup.H:15
virtual ~FFrSuperObjectGroup()
Definition: FFrSuperObjectGroup.C:26
virtual const std::string & getDescription() const
Returns the type name with additonal '(s)' formatting.
Definition: FFrSuperObjectGroup.C:35
std::set< std::string >::const_iterator typeIt
Definition: FFrSuperObjectGroup.H:28
virtual const std::string & getType() const
Returns the type name without any modifications.
Definition: FFrSuperObjectGroup.H:23
virtual bool isSOG() const
Definition: FFrSuperObjectGroup.H:25
FFrSuperObjectGroup(const std::string &name, std::set< std::string > &dict)
Definition: FFrSuperObjectGroup.C:15