File indexing completed on 2025-08-06 08:17:10
0001
0002
0003
0004
0005 #ifndef PDBCAL_BASE_PDBPARAMETER_H
0006 #define PDBCAL_BASE_PDBPARAMETER_H
0007
0008 #include "PdbCalChan.h"
0009
0010 #include <limits>
0011 #include <string>
0012
0013 class PdbParameter : public PdbCalChan
0014 {
0015 public:
0016 PdbParameter(const double, const std::string &name);
0017 ~PdbParameter() override = default;
0018
0019 double getParameter() const { return thePar; }
0020 const std::string &getName() const { return theName; }
0021
0022 void setParameter(const double val) { thePar = val; }
0023 void setName(const std::string &name) { theName = name; }
0024
0025 void print() const override;
0026
0027 protected:
0028 PdbParameter() = default;
0029
0030 private:
0031 double thePar{std::numeric_limits<double>::quiet_NaN()};
0032 std::string theName;
0033
0034 ClassDefOverride(PdbParameter, 1);
0035 };
0036
0037 #endif