FEDEM Model Database  R8.0
Source code of the FEDEM model database
FFlReaderBase.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 FFL_READER_BASE_H
9 #define FFL_READER_BASE_H
10 
11 #include <cstddef>
12 
13 class FFaProfiler;
14 
15 #ifdef FF_NAMESPACE
16 namespace FF_NAMESPACE {
17 #endif
18 
19 class FFlLinkHandler;
20 
21 
23 {
24 public:
25  FFlReaderBase(FFlLinkHandler* p) : myLink(p), myProfiler(NULL) {}
26  virtual ~FFlReaderBase() {}
27 
28 protected:
29  static int searchKeyword(const char* fileName, const char* keyWord,
30  int maxLines = 100);
31  static int searchKeyword(const char* fileName, const char** keyWord,
32  int maxLines = 100);
33 
35  FFaProfiler* myProfiler;
36 };
37 
38 #ifdef FF_NAMESPACE
39 } // namespace
40 #endif
41 #endif
Container class for finite element models.
Definition: FFlLinkHandler.H:95
Definition: FFlReaderBase.H:23
FFaProfiler * myProfiler
Definition: FFlReaderBase.H:35
FFlLinkHandler * myLink
Definition: FFlReaderBase.H:34
virtual ~FFlReaderBase()
Definition: FFlReaderBase.H:26
FFlReaderBase(FFlLinkHandler *p)
Definition: FFlReaderBase.H:25