src/model/AirflowNetworkDetailedOpening_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_AIRFLOWNETWORKDETAILEDOPENING_IMPL_HPP | ||
| 7 | #define MODEL_AIRFLOWNETWORKDETAILEDOPENING_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | |||
| 11 | #include "AirflowNetworkComponent_Impl.hpp" | ||
| 12 | |||
| 13 | namespace openstudio { | ||
| 14 | namespace model { | ||
| 15 | |||
| 16 | class DetailedOpeningFactorData; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** AirflowNetworkDetailedOpening_Impl is a ModelObject_Impl that is the implementation class for AirflowNetworkDetailedOpening.*/ | ||
| 21 | class MODEL_API AirflowNetworkDetailedOpening_Impl : public AirflowNetworkComponent_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | AirflowNetworkDetailedOpening_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | AirflowNetworkDetailedOpening_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | AirflowNetworkDetailedOpening_Impl(const AirflowNetworkDetailedOpening_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 5 | virtual ~AirflowNetworkDetailedOpening_Impl() override = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | /** @name Virtual Methods */ | ||
| 37 | //@{ | ||
| 38 | |||
| 39 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 40 | |||
| 41 | virtual IddObjectType iddObjectType() const override; | ||
| 42 | |||
| 43 | //@} | ||
| 44 | /** @name Getters */ | ||
| 45 | //@{ | ||
| 46 | |||
| 47 | double airMassFlowCoefficientWhenOpeningisClosed() const; | ||
| 48 | |||
| 49 | double airMassFlowExponentWhenOpeningisClosed() const; | ||
| 50 | |||
| 51 | bool isAirMassFlowExponentWhenOpeningisClosedDefaulted() const; | ||
| 52 | |||
| 53 | std::string typeofRectangularLargeVerticalOpening() const; | ||
| 54 | |||
| 55 | bool isTypeofRectangularLargeVerticalOpeningDefaulted() const; | ||
| 56 | |||
| 57 | double extraCrackLengthorHeightofPivotingAxis() const; | ||
| 58 | |||
| 59 | bool isExtraCrackLengthorHeightofPivotingAxisDefaulted() const; | ||
| 60 | |||
| 61 | std::vector<DetailedOpeningFactorData> openingFactors() const; | ||
| 62 | |||
| 63 | //@} | ||
| 64 | /** @name Setters */ | ||
| 65 | //@{ | ||
| 66 | |||
| 67 | bool setAirMassFlowCoefficientWhenOpeningisClosed(double airMassFlowCoefficientWhenOpeningisClosed); | ||
| 68 | |||
| 69 | bool setAirMassFlowExponentWhenOpeningisClosed(double airMassFlowExponentWhenOpeningisClosed); | ||
| 70 | |||
| 71 | void resetAirMassFlowExponentWhenOpeningisClosed(); | ||
| 72 | |||
| 73 | bool setTypeofRectangularLargeVerticalOpening(const std::string& typeofRectangularLargeVerticalOpening); | ||
| 74 | |||
| 75 | void resetTypeofRectangularLargeVerticalOpening(); | ||
| 76 | |||
| 77 | bool setExtraCrackLengthorHeightofPivotingAxis(double extraCrackLengthorHeightofPivotingAxis); | ||
| 78 | |||
| 79 | void resetExtraCrackLengthorHeightofPivotingAxis(); | ||
| 80 | |||
| 81 | bool setOpeningFactors(const std::vector<DetailedOpeningFactorData>& factors); | ||
| 82 | |||
| 83 | //@} | ||
| 84 | protected: | ||
| 85 | private: | ||
| 86 | − | REGISTER_LOGGER("openstudio.model.AirflowNetworkDetailedOpening"); | |
| 87 | }; | ||
| 88 | |||
| 89 | } // namespace detail | ||
| 90 | |||
| 91 | } // namespace model | ||
| 92 | } // namespace openstudio | ||
| 93 | |||
| 94 | #endif // MODEL_AIRFLOWNETWORKDETAILEDOPENING_IMPL_HPP | ||
| 95 |