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