src/model/SkyTemperature.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_SKYTEMPERATURE_HPP | ||
| 7 | #define MODEL_SKYTEMPERATURE_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | class SkyTemperature_Impl; | ||
| 17 | } // namespace detail | ||
| 18 | |||
| 19 | class MODEL_API SkyTemperature : public ModelObject | ||
| 20 | { | ||
| 21 | public: | ||
| 22 | // constructor | ||
| 23 | explicit SkyTemperature(const Model& model); | ||
| 24 | |||
| 25 | 63 | virtual ~SkyTemperature() override = default; | |
| 26 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 27 | 5 | SkyTemperature(const SkyTemperature& other) = default; | |
| 28 | 22 | SkyTemperature(SkyTemperature&& other) = default; | |
| 29 | ✗ | SkyTemperature& operator=(const SkyTemperature&) = default; | |
| 30 | ✗ | SkyTemperature& operator=(SkyTemperature&&) = default; | |
| 31 | |||
| 32 | static IddObjectType iddObjectType(); | ||
| 33 | |||
| 34 | protected: | ||
| 35 | using ImplType = detail::SkyTemperature_Impl; | ||
| 36 | |||
| 37 | friend class Model; | ||
| 38 | friend class openstudio::IdfObject; | ||
| 39 | |||
| 40 | // constructor | ||
| 41 | explicit SkyTemperature(std::shared_ptr<detail::SkyTemperature_Impl> impl); | ||
| 42 | |||
| 43 | private: | ||
| 44 | REGISTER_LOGGER("openstudio.model.SkyTemperature"); | ||
| 45 | }; | ||
| 46 | |||
| 47 | /** \relates SkyTemperature */ | ||
| 48 | using OptionalSkyTemperature = boost::optional<SkyTemperature>; | ||
| 49 | |||
| 50 | /** \relates SkyTemperature */ | ||
| 51 | using SkyTemperatureVector = std::vector<SkyTemperature>; | ||
| 52 | |||
| 53 | } // namespace model | ||
| 54 | } // namespace openstudio | ||
| 55 | |||
| 56 | #endif // MODEL_SKYTEMPERATURE_HPP | ||
| 57 |