src/model/CurveExponentialSkewNormal_Impl.hpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #ifndef MODEL_CURVEEXPONENTIALSKEWNORMAL_IMPL_HPP | ||
| 7 | #define MODEL_CURVEEXPONENTIALSKEWNORMAL_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "Curve_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | |||
| 17 | /** CurveExponentialSkewNormal_Impl is a Curve_Impl that is the implementation class for CurveExponentialSkewNormal.*/ | ||
| 18 | class MODEL_API CurveExponentialSkewNormal_Impl : public Curve_Impl | ||
| 19 | { | ||
| 20 | |||
| 21 | public: | ||
| 22 | /** @name Constructors and Destructors */ | ||
| 23 | //@{ | ||
| 24 | |||
| 25 | CurveExponentialSkewNormal_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | CurveExponentialSkewNormal_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | CurveExponentialSkewNormal_Impl(const CurveExponentialSkewNormal_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | 49 | virtual ~CurveExponentialSkewNormal_Impl() override = default; | |
| 32 | |||
| 33 | //@} | ||
| 34 | /** @name Virtual Methods */ | ||
| 35 | //@{ | ||
| 36 | |||
| 37 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 38 | |||
| 39 | virtual IddObjectType iddObjectType() const override; | ||
| 40 | |||
| 41 | virtual int numVariables() const override; | ||
| 42 | |||
| 43 | virtual double evaluate(const std::vector<double>& independentVariables) const override; | ||
| 44 | |||
| 45 | //@} | ||
| 46 | /** @name Getters */ | ||
| 47 | //@{ | ||
| 48 | |||
| 49 | double coefficient1C1() const; | ||
| 50 | |||
| 51 | double coefficient2C2() const; | ||
| 52 | |||
| 53 | double coefficient3C3() const; | ||
| 54 | |||
| 55 | double coefficient4C4() const; | ||
| 56 | |||
| 57 | double minimumValueofx() const; | ||
| 58 | |||
| 59 | double maximumValueofx() const; | ||
| 60 | |||
| 61 | boost::optional<double> minimumCurveOutput() const; | ||
| 62 | |||
| 63 | boost::optional<double> maximumCurveOutput() const; | ||
| 64 | |||
| 65 | std::string inputUnitTypeforx() const; | ||
| 66 | |||
| 67 | bool isInputUnitTypeforxDefaulted() const; | ||
| 68 | |||
| 69 | std::string outputUnitType() const; | ||
| 70 | |||
| 71 | bool isOutputUnitTypeDefaulted() const; | ||
| 72 | |||
| 73 | //@} | ||
| 74 | /** @name Setters */ | ||
| 75 | //@{ | ||
| 76 | |||
| 77 | bool setCoefficient1C1(double coefficient1C1); | ||
| 78 | |||
| 79 | bool setCoefficient2C2(double coefficient2C2); | ||
| 80 | |||
| 81 | bool setCoefficient3C3(double coefficient3C3); | ||
| 82 | |||
| 83 | bool setCoefficient4C4(double coefficient4C4); | ||
| 84 | |||
| 85 | bool setMinimumValueofx(double minimumValueofx); | ||
| 86 | |||
| 87 | bool setMaximumValueofx(double maximumValueofx); | ||
| 88 | |||
| 89 | bool setMinimumCurveOutput(boost::optional<double> minimumCurveOutput); | ||
| 90 | |||
| 91 | void resetMinimumCurveOutput(); | ||
| 92 | |||
| 93 | bool setMaximumCurveOutput(boost::optional<double> maximumCurveOutput); | ||
| 94 | |||
| 95 | void resetMaximumCurveOutput(); | ||
| 96 | |||
| 97 | bool setInputUnitTypeforx(const std::string& inputUnitTypeforx); | ||
| 98 | |||
| 99 | void resetInputUnitTypeforx(); | ||
| 100 | |||
| 101 | bool setOutputUnitType(const std::string& outputUnitType); | ||
| 102 | |||
| 103 | void resetOutputUnitType(); | ||
| 104 | |||
| 105 | //@} | ||
| 106 | /** @name Other */ | ||
| 107 | //@{ | ||
| 108 | |||
| 109 | //@} | ||
| 110 | protected: | ||
| 111 | private: | ||
| 112 | − | REGISTER_LOGGER("openstudio.model.CurveExponentialSkewNormal"); | |
| 113 | }; | ||
| 114 | |||
| 115 | } // namespace detail | ||
| 116 | |||
| 117 | } // namespace model | ||
| 118 | } // namespace openstudio | ||
| 119 | |||
| 120 | #endif // MODEL_CURVEEXPONENTIALSKEWNORMAL_IMPL_HPP | ||
| 121 |