src/model/RefrigerationDefrostCycleParameters.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_REFRIGERATIONDEFROSTCYCLEPARAMETERS_HPP | ||
| 7 | #define MODEL_REFRIGERATIONDEFROSTCYCLEPARAMETERS_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | |||
| 17 | class RefrigerationDefrostCycleParameters_Impl; | ||
| 18 | |||
| 19 | } // namespace detail | ||
| 20 | |||
| 21 | /** RefrigerationDefrostCycleParameters is a ModelObject that wraps the OpenStudio IDD object 'OS:Refrigeration:DefrostCycleParameters'. */ | ||
| 22 | class MODEL_API RefrigerationDefrostCycleParameters : public ModelObject | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | explicit RefrigerationDefrostCycleParameters(const Model& model); | ||
| 29 | |||
| 30 | 250 | virtual ~RefrigerationDefrostCycleParameters() override = default; | |
| 31 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 32 | 22 | RefrigerationDefrostCycleParameters(const RefrigerationDefrostCycleParameters& other) = default; | |
| 33 | 146 | RefrigerationDefrostCycleParameters(RefrigerationDefrostCycleParameters&& other) = default; | |
| 34 | ✗ | RefrigerationDefrostCycleParameters& operator=(const RefrigerationDefrostCycleParameters&) = default; | |
| 35 | ✗ | RefrigerationDefrostCycleParameters& operator=(RefrigerationDefrostCycleParameters&&) = default; | |
| 36 | |||
| 37 | //@} | ||
| 38 | |||
| 39 | static IddObjectType iddObjectType(); | ||
| 40 | |||
| 41 | /** @name Getters */ | ||
| 42 | //@{ | ||
| 43 | |||
| 44 | //@} | ||
| 45 | /** @name Setters */ | ||
| 46 | //@{ | ||
| 47 | |||
| 48 | //@} | ||
| 49 | /** @name Other */ | ||
| 50 | //@{ | ||
| 51 | |||
| 52 | //@} | ||
| 53 | protected: | ||
| 54 | /// @cond | ||
| 55 | using ImplType = detail::RefrigerationDefrostCycleParameters_Impl; | ||
| 56 | |||
| 57 | explicit RefrigerationDefrostCycleParameters(std::shared_ptr<detail::RefrigerationDefrostCycleParameters_Impl> impl); | ||
| 58 | |||
| 59 | friend class detail::RefrigerationDefrostCycleParameters_Impl; | ||
| 60 | friend class Model; | ||
| 61 | friend class IdfObject; | ||
| 62 | friend class openstudio::detail::IdfObject_Impl; | ||
| 63 | /// @endcond | ||
| 64 | private: | ||
| 65 | REGISTER_LOGGER("openstudio.model.RefrigerationDefrostCycleParameters"); | ||
| 66 | }; | ||
| 67 | |||
| 68 | /** \relates RefrigerationDefrostCycleParameters*/ | ||
| 69 | using OptionalRefrigerationDefrostCycleParameters = boost::optional<RefrigerationDefrostCycleParameters>; | ||
| 70 | |||
| 71 | /** \relates RefrigerationDefrostCycleParameters*/ | ||
| 72 | using RefrigerationDefrostCycleParametersVector = std::vector<RefrigerationDefrostCycleParameters>; | ||
| 73 | |||
| 74 | } // namespace model | ||
| 75 | } // namespace openstudio | ||
| 76 | |||
| 77 | #endif // MODEL_REFRIGERATIONDEFROSTCYCLEPARAMETERS_HPP | ||
| 78 |