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