FEDEM Model Database  R8.0
Source code of the FEDEM model database
FmQuery.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_QUERY_H
9 #define FM_QUERY_H
10 
12 #include <map>
13 
14 class FmModelMemberBase;
15 
16 
22 class FmQuery
23 {
24 public:
25  // Map between Type id and bool to say whether object of type is wanted or not
26  std::map<int,bool> typesToFind;
27 
28  FFaDynCB2<bool&,FmModelMemberBase*> verifyCB;
29 
30  void clear()
31  {
32  typesToFind.clear();
33  verifyCB.erase();
34  }
35 };
36 
37 #endif
Macros for definition of dynamic callback objects.
Base class for all model data objects.
Definition: FmModelMemberBase.H:34
A Class to manage and store a Query.
Definition: FmQuery.H:23
void clear()
Definition: FmQuery.H:30
std::map< int, bool > typesToFind
Definition: FmQuery.H:26
FFaDynCB2< bool &, FmModelMemberBase * > verifyCB
Definition: FmQuery.H:28