src/model/WindowPropertyFrameAndDivider_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_WINDOWPROPERTYFRAMEANDDIVIDER_IMPL_HPP | ||
| 7 | #define MODEL_WINDOWPROPERTYFRAMEANDDIVIDER_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ResourceObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | |||
| 17 | /** WindowPropertyFrameAndDivider_Impl is a ResourceObject_Impl that is the implementation class for WindowPropertyFrameAndDivider.*/ | ||
| 18 | class MODEL_API WindowPropertyFrameAndDivider_Impl : public ResourceObject_Impl | ||
| 19 | { | ||
| 20 | public: | ||
| 21 | /** @name Constructors and Destructors */ | ||
| 22 | //@{ | ||
| 23 | |||
| 24 | WindowPropertyFrameAndDivider_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 25 | |||
| 26 | WindowPropertyFrameAndDivider_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | WindowPropertyFrameAndDivider_Impl(const WindowPropertyFrameAndDivider_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | 40 | virtual ~WindowPropertyFrameAndDivider_Impl() override = default; | |
| 31 | |||
| 32 | //@} | ||
| 33 | /** @name Virtual Methods */ | ||
| 34 | //@{ | ||
| 35 | |||
| 36 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 37 | |||
| 38 | virtual IddObjectType iddObjectType() const override; | ||
| 39 | |||
| 40 | //@} | ||
| 41 | /** @name Getters */ | ||
| 42 | //@{ | ||
| 43 | |||
| 44 | double frameWidth() const; | ||
| 45 | |||
| 46 | bool isFrameWidthDefaulted() const; | ||
| 47 | |||
| 48 | double frameOutsideProjection() const; | ||
| 49 | |||
| 50 | bool isFrameOutsideProjectionDefaulted() const; | ||
| 51 | |||
| 52 | double frameInsideProjection() const; | ||
| 53 | |||
| 54 | bool isFrameInsideProjectionDefaulted() const; | ||
| 55 | |||
| 56 | double frameConductance() const; | ||
| 57 | |||
| 58 | bool isFrameConductanceDefaulted() const; | ||
| 59 | |||
| 60 | double ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance() const; | ||
| 61 | |||
| 62 | bool isRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductanceDefaulted() const; | ||
| 63 | |||
| 64 | double frameSolarAbsorptance() const; | ||
| 65 | |||
| 66 | bool isFrameSolarAbsorptanceDefaulted() const; | ||
| 67 | |||
| 68 | double frameVisibleAbsorptance() const; | ||
| 69 | |||
| 70 | bool isFrameVisibleAbsorptanceDefaulted() const; | ||
| 71 | |||
| 72 | double frameThermalHemisphericalEmissivity() const; | ||
| 73 | |||
| 74 | bool isFrameThermalHemisphericalEmissivityDefaulted() const; | ||
| 75 | |||
| 76 | std::string dividerType() const; | ||
| 77 | |||
| 78 | bool isDividerTypeDefaulted() const; | ||
| 79 | |||
| 80 | double dividerWidth() const; | ||
| 81 | |||
| 82 | bool isDividerWidthDefaulted() const; | ||
| 83 | |||
| 84 | int numberOfHorizontalDividers() const; | ||
| 85 | |||
| 86 | bool isNumberOfHorizontalDividersDefaulted() const; | ||
| 87 | |||
| 88 | int numberOfVerticalDividers() const; | ||
| 89 | |||
| 90 | bool isNumberOfVerticalDividersDefaulted() const; | ||
| 91 | |||
| 92 | double dividerOutsideProjection() const; | ||
| 93 | |||
| 94 | bool isDividerOutsideProjectionDefaulted() const; | ||
| 95 | |||
| 96 | double dividerInsideProjection() const; | ||
| 97 | |||
| 98 | bool isDividerInsideProjectionDefaulted() const; | ||
| 99 | |||
| 100 | double dividerConductance() const; | ||
| 101 | |||
| 102 | bool isDividerConductanceDefaulted() const; | ||
| 103 | |||
| 104 | double ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance() const; | ||
| 105 | |||
| 106 | bool isRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductanceDefaulted() const; | ||
| 107 | |||
| 108 | double dividerSolarAbsorptance() const; | ||
| 109 | |||
| 110 | bool isDividerSolarAbsorptanceDefaulted() const; | ||
| 111 | |||
| 112 | double dividerVisibleAbsorptance() const; | ||
| 113 | |||
| 114 | bool isDividerVisibleAbsorptanceDefaulted() const; | ||
| 115 | |||
| 116 | double dividerThermalHemisphericalEmissivity() const; | ||
| 117 | |||
| 118 | bool isDividerThermalHemisphericalEmissivityDefaulted() const; | ||
| 119 | |||
| 120 | double outsideRevealDepth() const; | ||
| 121 | |||
| 122 | bool isOutsideRevealDepthDefaulted() const; | ||
| 123 | |||
| 124 | double outsideRevealSolarAbsorptance() const; | ||
| 125 | |||
| 126 | bool isOutsideRevealSolarAbsorptanceDefaulted() const; | ||
| 127 | |||
| 128 | double insideSillDepth() const; | ||
| 129 | |||
| 130 | bool isInsideSillDepthDefaulted() const; | ||
| 131 | |||
| 132 | double insideSillSolarAbsorptance() const; | ||
| 133 | |||
| 134 | bool isInsideSillSolarAbsorptanceDefaulted() const; | ||
| 135 | |||
| 136 | double insideRevealDepth() const; | ||
| 137 | |||
| 138 | bool isInsideRevealDepthDefaulted() const; | ||
| 139 | |||
| 140 | double insideRevealSolarAbsorptance() const; | ||
| 141 | |||
| 142 | bool isInsideRevealSolarAbsorptanceDefaulted() const; | ||
| 143 | |||
| 144 | std::string nfrcProductTypeforAssemblyCalculations() const; | ||
| 145 | |||
| 146 | bool isNFRCProductTypeforAssemblyCalculationsDefaulted() const; | ||
| 147 | |||
| 148 | //@} | ||
| 149 | /** @name Setters */ | ||
| 150 | //@{ | ||
| 151 | |||
| 152 | bool setFrameWidth(double frameWidth); | ||
| 153 | |||
| 154 | void resetFrameWidth(); | ||
| 155 | |||
| 156 | bool setFrameOutsideProjection(double frameOutsideProjection); | ||
| 157 | |||
| 158 | void resetFrameOutsideProjection(); | ||
| 159 | |||
| 160 | bool setFrameInsideProjection(double frameInsideProjection); | ||
| 161 | |||
| 162 | void resetFrameInsideProjection(); | ||
| 163 | |||
| 164 | bool setFrameConductance(boost::optional<double> frameConductance); | ||
| 165 | |||
| 166 | void resetFrameConductance(); | ||
| 167 | |||
| 168 | bool setRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductance(double ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance); | ||
| 169 | |||
| 170 | void resetRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductance(); | ||
| 171 | |||
| 172 | bool setFrameSolarAbsorptance(double frameSolarAbsorptance); | ||
| 173 | |||
| 174 | void resetFrameSolarAbsorptance(); | ||
| 175 | |||
| 176 | bool setFrameVisibleAbsorptance(double frameVisibleAbsorptance); | ||
| 177 | |||
| 178 | void resetFrameVisibleAbsorptance(); | ||
| 179 | |||
| 180 | bool setFrameThermalHemisphericalEmissivity(double frameThermalHemisphericalEmissivity); | ||
| 181 | |||
| 182 | void resetFrameThermalHemisphericalEmissivity(); | ||
| 183 | |||
| 184 | bool setDividerType(const std::string& dividerType); | ||
| 185 | |||
| 186 | void resetDividerType(); | ||
| 187 | |||
| 188 | bool setDividerWidth(double dividerWidth); | ||
| 189 | |||
| 190 | void resetDividerWidth(); | ||
| 191 | |||
| 192 | bool setNumberOfHorizontalDividers(int numberOfHorizontalDividers); | ||
| 193 | |||
| 194 | void resetNumberOfHorizontalDividers(); | ||
| 195 | |||
| 196 | bool setNumberOfVerticalDividers(int numberOfVerticalDividers); | ||
| 197 | |||
| 198 | void resetNumberOfVerticalDividers(); | ||
| 199 | |||
| 200 | bool setDividerOutsideProjection(double dividerOutsideProjection); | ||
| 201 | |||
| 202 | void resetDividerOutsideProjection(); | ||
| 203 | |||
| 204 | bool setDividerInsideProjection(double dividerInsideProjection); | ||
| 205 | |||
| 206 | void resetDividerInsideProjection(); | ||
| 207 | |||
| 208 | bool setDividerConductance(double dividerConductance); | ||
| 209 | |||
| 210 | void resetDividerConductance(); | ||
| 211 | |||
| 212 | bool setRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductance(double ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance); | ||
| 213 | |||
| 214 | void resetRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductance(); | ||
| 215 | |||
| 216 | bool setDividerSolarAbsorptance(double dividerSolarAbsorptance); | ||
| 217 | |||
| 218 | void resetDividerSolarAbsorptance(); | ||
| 219 | |||
| 220 | bool setDividerVisibleAbsorptance(double dividerVisibleAbsorptance); | ||
| 221 | |||
| 222 | void resetDividerVisibleAbsorptance(); | ||
| 223 | |||
| 224 | bool setDividerThermalHemisphericalEmissivity(double dividerThermalHemisphericalEmissivity); | ||
| 225 | |||
| 226 | void resetDividerThermalHemisphericalEmissivity(); | ||
| 227 | |||
| 228 | bool setOutsideRevealDepth(double outsideRevealDepth); | ||
| 229 | |||
| 230 | void resetOutsideRevealDepth(); | ||
| 231 | |||
| 232 | bool setOutsideRevealSolarAbsorptance(double outsideRevealSolarAbsorptance); | ||
| 233 | |||
| 234 | void resetOutsideRevealSolarAbsorptance(); | ||
| 235 | |||
| 236 | bool setInsideSillDepth(double insideSillDepth); | ||
| 237 | |||
| 238 | void resetInsideSillDepth(); | ||
| 239 | |||
| 240 | bool setInsideSillSolarAbsorptance(double insideSillSolarAbsorptance); | ||
| 241 | |||
| 242 | void resetInsideSillSolarAbsorptance(); | ||
| 243 | |||
| 244 | bool setInsideRevealDepth(double insideRevealDepth); | ||
| 245 | |||
| 246 | void resetInsideRevealDepth(); | ||
| 247 | |||
| 248 | bool setInsideRevealSolarAbsorptance(double insideRevealSolarAbsorptance); | ||
| 249 | |||
| 250 | void resetInsideRevealSolarAbsorptance(); | ||
| 251 | |||
| 252 | bool setNFRCProductTypeforAssemblyCalculations(const std::string& nfrcProductTypeforAssemblyCalculations); | ||
| 253 | |||
| 254 | void resetNFRCProductTypeforAssemblyCalculations(); | ||
| 255 | |||
| 256 | //@} | ||
| 257 | /** @name Other */ | ||
| 258 | //@{ | ||
| 259 | |||
| 260 | //@} | ||
| 261 | protected: | ||
| 262 | private: | ||
| 263 | REGISTER_LOGGER("openstudio.model.WindowPropertyFrameAndDivider"); | ||
| 264 | }; | ||
| 265 | |||
| 266 | } // namespace detail | ||
| 267 | |||
| 268 | } // namespace model | ||
| 269 | } // namespace openstudio | ||
| 270 | |||
| 271 | #endif // MODEL_WINDOWPROPERTYFRAMEANDDIVIDER_IMPL_HPP | ||
| 272 |