FEDEM Model Database  R8.0
Source code of the FEDEM model database
FmIsPlottedBase.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_IS_PLOTTED_BASE_H
9 #define FM_IS_PLOTTED_BASE_H
10 
11 #include "vpmDB/FmIsRenderedBase.H"
12 
13 class FmCurveSet;
14 
15 
17 {
19 
20 protected:
22  virtual ~FmIsPlottedBase() {}
23 
24  virtual bool cloneLocal(FmBase* obj, int depth);
25  virtual bool eraseOptions();
26 
27  virtual bool getSaveVar(unsigned int& nVar, IntVec& toggles) const;
28 
29 public:
30  bool hasCurveSets() const;
31  void getCurveSets(std::vector<FmCurveSet*>& curves) const;
32 
33  void writeSaveVar(FILE* fp, unsigned int nVar) const;
34 
36 };
37 
38 #endif
std::vector< int > IntVec
Convenience type alias.
Definition: FFaField.H:25
Base parent class for the model data structure entries.
Definition: FmBase.H:37
Definition: FmCurveSet.H:35
Definition: FmIsPlottedBase.H:17
FmIsPlottedBase()
Definition: FmIsPlottedBase.C:18
void writeSaveVar(FILE *fp, unsigned int nVar) const
Definition: FmIsPlottedBase.C:91
virtual bool getSaveVar(unsigned int &nVar, IntVec &toggles) const
Definition: FmIsPlottedBase.C:80
FFaField< BoolVec > mySaveVar
Toggles for result output.
Definition: FmIsPlottedBase.H:35
virtual bool cloneLocal(FmBase *obj, int depth)
Clones the data fields of *obj into *this.
Definition: FmIsPlottedBase.C:48
bool hasCurveSets() const
Definition: FmIsPlottedBase.C:26
virtual ~FmIsPlottedBase()
Definition: FmIsPlottedBase.H:22
void getCurveSets(std::vector< FmCurveSet * > &curves) const
Definition: FmIsPlottedBase.C:33
virtual bool eraseOptions()
Hook for class-specific tasks before deleting *this in erase().
Definition: FmIsPlottedBase.C:54
Definition: FmIsRenderedBase.H:23