src/model/SurfacePropertyConvectionCoefficientsMultipleSurface_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_SURFACEPROPERTYCONVECTIONCOEFFICIENTSMULTIPLESURFACE_IMPL_HPP | ||
| 7 | #define MODEL_SURFACEPROPERTYCONVECTIONCOEFFICIENTSMULTIPLESURFACE_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Schedule; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | /** SurfacePropertyConvectionCoefficientsMultipleSurface_Impl is a ModelObject_Impl that is the implementation class for SurfacePropertyConvectionCoefficientsMultipleSurface.*/ | ||
| 20 | class MODEL_API SurfacePropertyConvectionCoefficientsMultipleSurface_Impl : public ModelObject_Impl | ||
| 21 | { | ||
| 22 | public: | ||
| 23 | /** @name Constructors and Destructors */ | ||
| 24 | //@{ | ||
| 25 | |||
| 26 | SurfacePropertyConvectionCoefficientsMultipleSurface_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | SurfacePropertyConvectionCoefficientsMultipleSurface_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | ||
| 29 | bool keepHandle); | ||
| 30 | |||
| 31 | SurfacePropertyConvectionCoefficientsMultipleSurface_Impl(const SurfacePropertyConvectionCoefficientsMultipleSurface_Impl& other, | ||
| 32 | Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 1 | virtual ~SurfacePropertyConvectionCoefficientsMultipleSurface_Impl() override = default; | |
| 35 | |||
| 36 | //@} | ||
| 37 | /** @name Virtual Methods */ | ||
| 38 | //@{ | ||
| 39 | |||
| 40 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 41 | |||
| 42 | virtual IddObjectType iddObjectType() const override; | ||
| 43 | |||
| 44 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 45 | |||
| 46 | //@} | ||
| 47 | /** @name Getters */ | ||
| 48 | //@{ | ||
| 49 | |||
| 50 | boost::optional<std::string> surfaceType() const; | ||
| 51 | |||
| 52 | boost::optional<std::string> convectionCoefficient1Location() const; | ||
| 53 | |||
| 54 | boost::optional<std::string> convectionCoefficient1Type() const; | ||
| 55 | |||
| 56 | boost::optional<double> convectionCoefficient1() const; | ||
| 57 | |||
| 58 | boost::optional<Schedule> convectionCoefficient1Schedule() const; | ||
| 59 | |||
| 60 | //boost::optional<UserConvectionModels> convectionCoefficient1UserCurve() const; | ||
| 61 | |||
| 62 | boost::optional<std::string> convectionCoefficient2Location() const; | ||
| 63 | |||
| 64 | boost::optional<std::string> convectionCoefficient2Type() const; | ||
| 65 | |||
| 66 | boost::optional<double> convectionCoefficient2() const; | ||
| 67 | |||
| 68 | boost::optional<Schedule> convectionCoefficient2Schedule() const; | ||
| 69 | |||
| 70 | //boost::optional<UserConvectionModels> convectionCoefficient2UserCurve() const; | ||
| 71 | |||
| 72 | //@} | ||
| 73 | /** @name Setters */ | ||
| 74 | //@{ | ||
| 75 | |||
| 76 | bool setSurfaceType(const std::string& surfaceType); | ||
| 77 | |||
| 78 | void resetSurfaceType(); | ||
| 79 | |||
| 80 | bool setConvectionCoefficient1Location(const std::string& convectionCoefficient1Location); | ||
| 81 | |||
| 82 | void resetConvectionCoefficient1Location(); | ||
| 83 | |||
| 84 | bool setConvectionCoefficient1Type(const std::string& convectionCoefficient1Type); | ||
| 85 | |||
| 86 | void resetConvectionCoefficient1Type(); | ||
| 87 | |||
| 88 | bool setConvectionCoefficient1(double convectionCoefficient1); | ||
| 89 | |||
| 90 | void resetConvectionCoefficient1(); | ||
| 91 | |||
| 92 | bool setConvectionCoefficient1Schedule(Schedule& schedule); | ||
| 93 | |||
| 94 | void resetConvectionCoefficient1Schedule(); | ||
| 95 | |||
| 96 | //bool setConvectionCoefficient1UserCurve(const boost::optional<UserConvectionModels>& userConvectionModels); | ||
| 97 | |||
| 98 | //void resetConvectionCoefficient1UserCurve(); | ||
| 99 | |||
| 100 | bool setConvectionCoefficient2Location(const std::string& convectionCoefficient2Location); | ||
| 101 | |||
| 102 | void resetConvectionCoefficient2Location(); | ||
| 103 | |||
| 104 | bool setConvectionCoefficient2Type(const std::string& convectionCoefficient2Type); | ||
| 105 | |||
| 106 | void resetConvectionCoefficient2Type(); | ||
| 107 | |||
| 108 | bool setConvectionCoefficient2(double convectionCoefficient2); | ||
| 109 | |||
| 110 | void resetConvectionCoefficient2(); | ||
| 111 | |||
| 112 | bool setConvectionCoefficient2Schedule(Schedule& schedule); | ||
| 113 | |||
| 114 | void resetConvectionCoefficient2Schedule(); | ||
| 115 | |||
| 116 | //bool setConvectionCoefficient2UserCurve(const boost::optional<UserConvectionModels>& userConvectionModels); | ||
| 117 | |||
| 118 | //void resetConvectionCoefficient2UserCurve(); | ||
| 119 | |||
| 120 | //@} | ||
| 121 | /** @name Other */ | ||
| 122 | //@{ | ||
| 123 | |||
| 124 | //@} | ||
| 125 | protected: | ||
| 126 | private: | ||
| 127 | REGISTER_LOGGER("openstudio.model.SurfacePropertyConvectionCoefficientsMultipleSurface"); | ||
| 128 | }; | ||
| 129 | |||
| 130 | } // namespace detail | ||
| 131 | |||
| 132 | } // namespace model | ||
| 133 | } // namespace openstudio | ||
| 134 | |||
| 135 | #endif // MODEL_SURFACEPROPERTYCONVECTIONCOEFFICIENTSMULTIPLESURFACE_IMPL_HPP | ||
| 136 |