src/model/WindowPropertyFrameAndDivider.cpp
| 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 | #include "WindowPropertyFrameAndDivider.hpp" | ||
| 7 | #include "WindowPropertyFrameAndDivider_Impl.hpp" | ||
| 8 | |||
| 9 | #include <utilities/idd/IddFactory.hxx> | ||
| 10 | #include <utilities/idd/OS_WindowProperty_FrameAndDivider_FieldEnums.hxx> | ||
| 11 | |||
| 12 | #include "../utilities/units/Unit.hpp" | ||
| 13 | |||
| 14 | #include "../utilities/core/Assert.hpp" | ||
| 15 | |||
| 16 | namespace openstudio { | ||
| 17 | namespace model { | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | 31 | WindowPropertyFrameAndDivider_Impl::WindowPropertyFrameAndDivider_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 22 | 31 | : ResourceObject_Impl(idfObject, model, keepHandle) { | |
| 23 |
4/6✓ Branch 1 taken 31 times.
✓ Branch 4 taken 31 times.
✓ Branch 7 taken 31 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 31 times.
✗ Branch 13 not taken.
|
31 | OS_ASSERT(idfObject.iddObject().type() == WindowPropertyFrameAndDivider::iddObjectType()); |
| 24 | 31 | } | |
| 25 | |||
| 26 | 7 | WindowPropertyFrameAndDivider_Impl::WindowPropertyFrameAndDivider_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | |
| 27 | 7 | bool keepHandle) | |
| 28 | 7 | : ResourceObject_Impl(other, model, keepHandle) { | |
| 29 |
4/6✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
✓ Branch 7 taken 7 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 7 times.
✗ Branch 13 not taken.
|
7 | OS_ASSERT(other.iddObject().type() == WindowPropertyFrameAndDivider::iddObjectType()); |
| 30 | 7 | } | |
| 31 | |||
| 32 | 2 | WindowPropertyFrameAndDivider_Impl::WindowPropertyFrameAndDivider_Impl(const WindowPropertyFrameAndDivider_Impl& other, Model_Impl* model, | |
| 33 | 2 | bool keepHandle) | |
| 34 | 2 | : ResourceObject_Impl(other, model, keepHandle) {} | |
| 35 | |||
| 36 | ✗ | const std::vector<std::string>& WindowPropertyFrameAndDivider_Impl::outputVariableNames() const { | |
| 37 | ✗ | static const std::vector<std::string> result; | |
| 38 | ✗ | return result; | |
| 39 | } | ||
| 40 | |||
| 41 | ✗ | IddObjectType WindowPropertyFrameAndDivider_Impl::iddObjectType() const { | |
| 42 | ✗ | return WindowPropertyFrameAndDivider::iddObjectType(); | |
| 43 | } | ||
| 44 | |||
| 45 | 19 | double WindowPropertyFrameAndDivider_Impl::frameWidth() const { | |
| 46 |
1/1✓ Branch 1 taken 19 times.
|
19 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::FrameWidth, true); |
| 47 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 19 times.
✗ Branch 4 not taken.
|
19 | OS_ASSERT(value); |
| 48 |
1/1✓ Branch 1 taken 19 times.
|
38 | return value.get(); |
| 49 | } | ||
| 50 | |||
| 51 | 3 | bool WindowPropertyFrameAndDivider_Impl::isFrameWidthDefaulted() const { | |
| 52 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::FrameWidth); | |
| 53 | } | ||
| 54 | |||
| 55 | 4 | double WindowPropertyFrameAndDivider_Impl::frameOutsideProjection() const { | |
| 56 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::FrameOutsideProjection, true); |
| 57 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 58 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 59 | } | ||
| 60 | |||
| 61 | 3 | bool WindowPropertyFrameAndDivider_Impl::isFrameOutsideProjectionDefaulted() const { | |
| 62 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::FrameOutsideProjection); | |
| 63 | } | ||
| 64 | |||
| 65 | 4 | double WindowPropertyFrameAndDivider_Impl::frameInsideProjection() const { | |
| 66 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::FrameInsideProjection, true); |
| 67 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 68 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 69 | } | ||
| 70 | |||
| 71 | 3 | bool WindowPropertyFrameAndDivider_Impl::isFrameInsideProjectionDefaulted() const { | |
| 72 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::FrameInsideProjection); | |
| 73 | } | ||
| 74 | |||
| 75 | 4 | double WindowPropertyFrameAndDivider_Impl::frameConductance() const { | |
| 76 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::FrameConductance, true); |
| 77 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 78 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 79 | } | ||
| 80 | |||
| 81 | 3 | bool WindowPropertyFrameAndDivider_Impl::isFrameConductanceDefaulted() const { | |
| 82 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::FrameConductance); | |
| 83 | } | ||
| 84 | |||
| 85 | 4 | double WindowPropertyFrameAndDivider_Impl::ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance() const { | |
| 86 | boost::optional<double> value = | ||
| 87 |
1/1✓ Branch 1 taken 4 times.
|
4 | getDouble(OS_WindowProperty_FrameAndDividerFields::RatioofFrameEdgeGlassConductancetoCenterOfGlassConductance, true); |
| 88 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 89 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 90 | } | ||
| 91 | |||
| 92 | 3 | bool WindowPropertyFrameAndDivider_Impl::isRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductanceDefaulted() const { | |
| 93 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::RatioofFrameEdgeGlassConductancetoCenterOfGlassConductance); | |
| 94 | } | ||
| 95 | |||
| 96 | 4 | double WindowPropertyFrameAndDivider_Impl::frameSolarAbsorptance() const { | |
| 97 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::FrameSolarAbsorptance, true); |
| 98 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 99 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 100 | } | ||
| 101 | |||
| 102 | 3 | bool WindowPropertyFrameAndDivider_Impl::isFrameSolarAbsorptanceDefaulted() const { | |
| 103 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::FrameSolarAbsorptance); | |
| 104 | } | ||
| 105 | |||
| 106 | 4 | double WindowPropertyFrameAndDivider_Impl::frameVisibleAbsorptance() const { | |
| 107 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::FrameVisibleAbsorptance, true); |
| 108 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 109 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 110 | } | ||
| 111 | |||
| 112 | 3 | bool WindowPropertyFrameAndDivider_Impl::isFrameVisibleAbsorptanceDefaulted() const { | |
| 113 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::FrameVisibleAbsorptance); | |
| 114 | } | ||
| 115 | |||
| 116 | 4 | double WindowPropertyFrameAndDivider_Impl::frameThermalHemisphericalEmissivity() const { | |
| 117 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::FrameThermalHemisphericalEmissivity, true); |
| 118 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 119 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 120 | } | ||
| 121 | |||
| 122 | 3 | bool WindowPropertyFrameAndDivider_Impl::isFrameThermalHemisphericalEmissivityDefaulted() const { | |
| 123 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::FrameThermalHemisphericalEmissivity); | |
| 124 | } | ||
| 125 | |||
| 126 | 5 | std::string WindowPropertyFrameAndDivider_Impl::dividerType() const { | |
| 127 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<std::string> value = getString(OS_WindowProperty_FrameAndDividerFields::DividerType, true); |
| 128 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 129 |
2/2✓ Branch 1 taken 5 times.
✓ Branch 4 taken 5 times.
|
10 | return value.get(); |
| 130 | 5 | } | |
| 131 | |||
| 132 | 3 | bool WindowPropertyFrameAndDivider_Impl::isDividerTypeDefaulted() const { | |
| 133 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::DividerType); | |
| 134 | } | ||
| 135 | |||
| 136 | 5 | double WindowPropertyFrameAndDivider_Impl::dividerWidth() const { | |
| 137 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::DividerWidth, true); |
| 138 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 139 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 140 | } | ||
| 141 | |||
| 142 | 3 | bool WindowPropertyFrameAndDivider_Impl::isDividerWidthDefaulted() const { | |
| 143 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::DividerWidth); | |
| 144 | } | ||
| 145 | |||
| 146 | 5 | int WindowPropertyFrameAndDivider_Impl::numberOfHorizontalDividers() const { | |
| 147 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<int> value = getInt(OS_WindowProperty_FrameAndDividerFields::NumberofHorizontalDividers, true); |
| 148 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 149 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 150 | } | ||
| 151 | |||
| 152 | 3 | bool WindowPropertyFrameAndDivider_Impl::isNumberOfHorizontalDividersDefaulted() const { | |
| 153 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::NumberofHorizontalDividers); | |
| 154 | } | ||
| 155 | |||
| 156 | 5 | int WindowPropertyFrameAndDivider_Impl::numberOfVerticalDividers() const { | |
| 157 |
1/1✓ Branch 1 taken 5 times.
|
5 | boost::optional<int> value = getInt(OS_WindowProperty_FrameAndDividerFields::NumberofVerticalDividers, true); |
| 158 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 5 times.
✗ Branch 4 not taken.
|
5 | OS_ASSERT(value); |
| 159 |
1/1✓ Branch 1 taken 5 times.
|
10 | return value.get(); |
| 160 | } | ||
| 161 | |||
| 162 | 3 | bool WindowPropertyFrameAndDivider_Impl::isNumberOfVerticalDividersDefaulted() const { | |
| 163 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::NumberofVerticalDividers); | |
| 164 | } | ||
| 165 | |||
| 166 | 4 | double WindowPropertyFrameAndDivider_Impl::dividerOutsideProjection() const { | |
| 167 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::DividerOutsideProjection, true); |
| 168 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 169 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 170 | } | ||
| 171 | |||
| 172 | 3 | bool WindowPropertyFrameAndDivider_Impl::isDividerOutsideProjectionDefaulted() const { | |
| 173 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::DividerOutsideProjection); | |
| 174 | } | ||
| 175 | |||
| 176 | 4 | double WindowPropertyFrameAndDivider_Impl::dividerInsideProjection() const { | |
| 177 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::DividerInsideProjection, true); |
| 178 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 179 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 180 | } | ||
| 181 | |||
| 182 | 3 | bool WindowPropertyFrameAndDivider_Impl::isDividerInsideProjectionDefaulted() const { | |
| 183 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::DividerInsideProjection); | |
| 184 | } | ||
| 185 | |||
| 186 | 4 | double WindowPropertyFrameAndDivider_Impl::dividerConductance() const { | |
| 187 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::DividerConductance, true); |
| 188 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 189 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 190 | } | ||
| 191 | |||
| 192 | 3 | bool WindowPropertyFrameAndDivider_Impl::isDividerConductanceDefaulted() const { | |
| 193 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::DividerConductance); | |
| 194 | } | ||
| 195 | |||
| 196 | 4 | double WindowPropertyFrameAndDivider_Impl::ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance() const { | |
| 197 | boost::optional<double> value = | ||
| 198 |
1/1✓ Branch 1 taken 4 times.
|
4 | getDouble(OS_WindowProperty_FrameAndDividerFields::RatioofDividerEdgeGlassConductancetoCenterOfGlassConductance, true); |
| 199 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 200 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 201 | } | ||
| 202 | |||
| 203 | 3 | bool WindowPropertyFrameAndDivider_Impl::isRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductanceDefaulted() const { | |
| 204 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::RatioofDividerEdgeGlassConductancetoCenterOfGlassConductance); | |
| 205 | } | ||
| 206 | |||
| 207 | 4 | double WindowPropertyFrameAndDivider_Impl::dividerSolarAbsorptance() const { | |
| 208 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::DividerSolarAbsorptance, true); |
| 209 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 210 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 211 | } | ||
| 212 | |||
| 213 | 3 | bool WindowPropertyFrameAndDivider_Impl::isDividerSolarAbsorptanceDefaulted() const { | |
| 214 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::DividerSolarAbsorptance); | |
| 215 | } | ||
| 216 | |||
| 217 | 4 | double WindowPropertyFrameAndDivider_Impl::dividerVisibleAbsorptance() const { | |
| 218 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::DividerVisibleAbsorptance, true); |
| 219 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 220 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 221 | } | ||
| 222 | |||
| 223 | 3 | bool WindowPropertyFrameAndDivider_Impl::isDividerVisibleAbsorptanceDefaulted() const { | |
| 224 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::DividerVisibleAbsorptance); | |
| 225 | } | ||
| 226 | |||
| 227 | 4 | double WindowPropertyFrameAndDivider_Impl::dividerThermalHemisphericalEmissivity() const { | |
| 228 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::DividerThermalHemisphericalEmissivity, true); |
| 229 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 230 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 231 | } | ||
| 232 | |||
| 233 | 3 | bool WindowPropertyFrameAndDivider_Impl::isDividerThermalHemisphericalEmissivityDefaulted() const { | |
| 234 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::DividerThermalHemisphericalEmissivity); | |
| 235 | } | ||
| 236 | |||
| 237 | 3 | double WindowPropertyFrameAndDivider_Impl::outsideRevealDepth() const { | |
| 238 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::OutsideRevealDepth, true); |
| 239 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 240 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 241 | } | ||
| 242 | |||
| 243 | 5 | bool WindowPropertyFrameAndDivider_Impl::isOutsideRevealDepthDefaulted() const { | |
| 244 | 5 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::OutsideRevealDepth); | |
| 245 | } | ||
| 246 | |||
| 247 | 4 | double WindowPropertyFrameAndDivider_Impl::outsideRevealSolarAbsorptance() const { | |
| 248 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::OutsideRevealSolarAbsorptance, true); |
| 249 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 250 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 251 | } | ||
| 252 | |||
| 253 | 3 | bool WindowPropertyFrameAndDivider_Impl::isOutsideRevealSolarAbsorptanceDefaulted() const { | |
| 254 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::OutsideRevealSolarAbsorptance); | |
| 255 | } | ||
| 256 | |||
| 257 | 4 | double WindowPropertyFrameAndDivider_Impl::insideSillDepth() const { | |
| 258 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::InsideSillDepth, true); |
| 259 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 260 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 261 | } | ||
| 262 | |||
| 263 | 3 | bool WindowPropertyFrameAndDivider_Impl::isInsideSillDepthDefaulted() const { | |
| 264 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::InsideSillDepth); | |
| 265 | } | ||
| 266 | |||
| 267 | 4 | double WindowPropertyFrameAndDivider_Impl::insideSillSolarAbsorptance() const { | |
| 268 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::InsideSillSolarAbsorptance, true); |
| 269 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 270 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 271 | } | ||
| 272 | |||
| 273 | 3 | bool WindowPropertyFrameAndDivider_Impl::isInsideSillSolarAbsorptanceDefaulted() const { | |
| 274 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::InsideSillSolarAbsorptance); | |
| 275 | } | ||
| 276 | |||
| 277 | 4 | double WindowPropertyFrameAndDivider_Impl::insideRevealDepth() const { | |
| 278 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::InsideRevealDepth, true); |
| 279 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 280 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 281 | } | ||
| 282 | |||
| 283 | 3 | bool WindowPropertyFrameAndDivider_Impl::isInsideRevealDepthDefaulted() const { | |
| 284 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::InsideRevealDepth); | |
| 285 | } | ||
| 286 | |||
| 287 | 4 | double WindowPropertyFrameAndDivider_Impl::insideRevealSolarAbsorptance() const { | |
| 288 |
1/1✓ Branch 1 taken 4 times.
|
4 | boost::optional<double> value = getDouble(OS_WindowProperty_FrameAndDividerFields::InsideRevealSolarAbsorptance, true); |
| 289 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 4 times.
✗ Branch 4 not taken.
|
4 | OS_ASSERT(value); |
| 290 |
1/1✓ Branch 1 taken 4 times.
|
8 | return value.get(); |
| 291 | } | ||
| 292 | |||
| 293 | 3 | bool WindowPropertyFrameAndDivider_Impl::isInsideRevealSolarAbsorptanceDefaulted() const { | |
| 294 | 3 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::InsideRevealSolarAbsorptance); | |
| 295 | } | ||
| 296 | |||
| 297 | 7 | std::string WindowPropertyFrameAndDivider_Impl::nfrcProductTypeforAssemblyCalculations() const { | |
| 298 |
1/1✓ Branch 1 taken 7 times.
|
7 | boost::optional<std::string> value = getString(OS_WindowProperty_FrameAndDividerFields::NFRCProductTypeforAssemblyCalculations, true); |
| 299 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 7 times.
✗ Branch 4 not taken.
|
7 | OS_ASSERT(value); |
| 300 |
2/2✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
|
14 | return value.get(); |
| 301 | 7 | } | |
| 302 | |||
| 303 | 5 | bool WindowPropertyFrameAndDivider_Impl::isNFRCProductTypeforAssemblyCalculationsDefaulted() const { | |
| 304 | 5 | return isEmpty(OS_WindowProperty_FrameAndDividerFields::NFRCProductTypeforAssemblyCalculations); | |
| 305 | } | ||
| 306 | |||
| 307 | 15 | bool WindowPropertyFrameAndDivider_Impl::setFrameWidth(double frameWidth) { | |
| 308 | 15 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::FrameWidth, frameWidth); | |
| 309 | 15 | return result; | |
| 310 | } | ||
| 311 | |||
| 312 | 1 | void WindowPropertyFrameAndDivider_Impl::resetFrameWidth() { | |
| 313 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::FrameWidth, ""); |
| 314 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 315 | 1 | } | |
| 316 | |||
| 317 | 9 | bool WindowPropertyFrameAndDivider_Impl::setFrameOutsideProjection(double frameOutsideProjection) { | |
| 318 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::FrameOutsideProjection, frameOutsideProjection); | |
| 319 | 9 | return result; | |
| 320 | } | ||
| 321 | |||
| 322 | 1 | void WindowPropertyFrameAndDivider_Impl::resetFrameOutsideProjection() { | |
| 323 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::FrameOutsideProjection, ""); |
| 324 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 325 | 1 | } | |
| 326 | |||
| 327 | 9 | bool WindowPropertyFrameAndDivider_Impl::setFrameInsideProjection(double frameInsideProjection) { | |
| 328 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::FrameInsideProjection, frameInsideProjection); | |
| 329 | 9 | return result; | |
| 330 | } | ||
| 331 | |||
| 332 | 1 | void WindowPropertyFrameAndDivider_Impl::resetFrameInsideProjection() { | |
| 333 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::FrameInsideProjection, ""); |
| 334 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 335 | 1 | } | |
| 336 | |||
| 337 | 3 | bool WindowPropertyFrameAndDivider_Impl::setFrameConductance(boost::optional<double> frameConductance) { | |
| 338 | 3 | bool result(false); | |
| 339 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (frameConductance) { |
| 340 | 3 | result = setDouble(OS_WindowProperty_FrameAndDividerFields::FrameConductance, frameConductance.get()); | |
| 341 | } else { | ||
| 342 | ✗ | resetFrameConductance(); | |
| 343 | ✗ | result = true; | |
| 344 | } | ||
| 345 | 3 | return result; | |
| 346 | } | ||
| 347 | |||
| 348 | 1 | void WindowPropertyFrameAndDivider_Impl::resetFrameConductance() { | |
| 349 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::FrameConductance, ""); |
| 350 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 351 | 1 | } | |
| 352 | |||
| 353 | 9 | bool WindowPropertyFrameAndDivider_Impl::setRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductance( | |
| 354 | double ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance) { | ||
| 355 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::RatioofFrameEdgeGlassConductancetoCenterOfGlassConductance, | |
| 356 | ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance); | ||
| 357 | 9 | return result; | |
| 358 | } | ||
| 359 | |||
| 360 | 1 | void WindowPropertyFrameAndDivider_Impl::resetRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductance() { | |
| 361 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::RatioofFrameEdgeGlassConductancetoCenterOfGlassConductance, ""); |
| 362 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 363 | 1 | } | |
| 364 | |||
| 365 | 9 | bool WindowPropertyFrameAndDivider_Impl::setFrameSolarAbsorptance(double frameSolarAbsorptance) { | |
| 366 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::FrameSolarAbsorptance, frameSolarAbsorptance); | |
| 367 | 9 | return result; | |
| 368 | } | ||
| 369 | |||
| 370 | 1 | void WindowPropertyFrameAndDivider_Impl::resetFrameSolarAbsorptance() { | |
| 371 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::FrameSolarAbsorptance, ""); |
| 372 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 373 | 1 | } | |
| 374 | |||
| 375 | 9 | bool WindowPropertyFrameAndDivider_Impl::setFrameVisibleAbsorptance(double frameVisibleAbsorptance) { | |
| 376 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::FrameVisibleAbsorptance, frameVisibleAbsorptance); | |
| 377 | 9 | return result; | |
| 378 | } | ||
| 379 | |||
| 380 | 1 | void WindowPropertyFrameAndDivider_Impl::resetFrameVisibleAbsorptance() { | |
| 381 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::FrameVisibleAbsorptance, ""); |
| 382 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 383 | 1 | } | |
| 384 | |||
| 385 | 9 | bool WindowPropertyFrameAndDivider_Impl::setFrameThermalHemisphericalEmissivity(double frameThermalHemisphericalEmissivity) { | |
| 386 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::FrameThermalHemisphericalEmissivity, frameThermalHemisphericalEmissivity); | |
| 387 | 9 | return result; | |
| 388 | } | ||
| 389 | |||
| 390 | 1 | void WindowPropertyFrameAndDivider_Impl::resetFrameThermalHemisphericalEmissivity() { | |
| 391 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::FrameThermalHemisphericalEmissivity, ""); |
| 392 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 393 | 1 | } | |
| 394 | |||
| 395 | 9 | bool WindowPropertyFrameAndDivider_Impl::setDividerType(const std::string& dividerType) { | |
| 396 | 9 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerType, dividerType); | |
| 397 | 9 | return result; | |
| 398 | } | ||
| 399 | |||
| 400 | 1 | void WindowPropertyFrameAndDivider_Impl::resetDividerType() { | |
| 401 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerType, ""); |
| 402 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 403 | 1 | } | |
| 404 | |||
| 405 | 10 | bool WindowPropertyFrameAndDivider_Impl::setDividerWidth(double dividerWidth) { | |
| 406 | 10 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::DividerWidth, dividerWidth); | |
| 407 | 10 | return result; | |
| 408 | } | ||
| 409 | |||
| 410 | 1 | void WindowPropertyFrameAndDivider_Impl::resetDividerWidth() { | |
| 411 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerWidth, ""); |
| 412 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 413 | 1 | } | |
| 414 | |||
| 415 | 10 | bool WindowPropertyFrameAndDivider_Impl::setNumberOfHorizontalDividers(int numberOfHorizontalDividers) { | |
| 416 | 10 | bool result = setInt(OS_WindowProperty_FrameAndDividerFields::NumberofHorizontalDividers, numberOfHorizontalDividers); | |
| 417 | 10 | return result; | |
| 418 | } | ||
| 419 | |||
| 420 | 1 | void WindowPropertyFrameAndDivider_Impl::resetNumberOfHorizontalDividers() { | |
| 421 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::NumberofHorizontalDividers, ""); |
| 422 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 423 | 1 | } | |
| 424 | |||
| 425 | 10 | bool WindowPropertyFrameAndDivider_Impl::setNumberOfVerticalDividers(int numberOfVerticalDividers) { | |
| 426 | 10 | bool result = setInt(OS_WindowProperty_FrameAndDividerFields::NumberofVerticalDividers, numberOfVerticalDividers); | |
| 427 | 10 | return result; | |
| 428 | } | ||
| 429 | |||
| 430 | 1 | void WindowPropertyFrameAndDivider_Impl::resetNumberOfVerticalDividers() { | |
| 431 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::NumberofVerticalDividers, ""); |
| 432 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 433 | 1 | } | |
| 434 | |||
| 435 | 9 | bool WindowPropertyFrameAndDivider_Impl::setDividerOutsideProjection(double dividerOutsideProjection) { | |
| 436 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::DividerOutsideProjection, dividerOutsideProjection); | |
| 437 | 9 | return result; | |
| 438 | } | ||
| 439 | |||
| 440 | 1 | void WindowPropertyFrameAndDivider_Impl::resetDividerOutsideProjection() { | |
| 441 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerOutsideProjection, ""); |
| 442 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 443 | 1 | } | |
| 444 | |||
| 445 | 9 | bool WindowPropertyFrameAndDivider_Impl::setDividerInsideProjection(double dividerInsideProjection) { | |
| 446 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::DividerInsideProjection, dividerInsideProjection); | |
| 447 | 9 | return result; | |
| 448 | } | ||
| 449 | |||
| 450 | 1 | void WindowPropertyFrameAndDivider_Impl::resetDividerInsideProjection() { | |
| 451 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerInsideProjection, ""); |
| 452 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 453 | 1 | } | |
| 454 | |||
| 455 | 9 | bool WindowPropertyFrameAndDivider_Impl::setDividerConductance(double dividerConductance) { | |
| 456 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::DividerConductance, dividerConductance); | |
| 457 | 9 | return result; | |
| 458 | } | ||
| 459 | |||
| 460 | 1 | void WindowPropertyFrameAndDivider_Impl::resetDividerConductance() { | |
| 461 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerConductance, ""); |
| 462 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 463 | 1 | } | |
| 464 | |||
| 465 | 9 | bool WindowPropertyFrameAndDivider_Impl::setRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductance( | |
| 466 | double ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance) { | ||
| 467 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::RatioofDividerEdgeGlassConductancetoCenterOfGlassConductance, | |
| 468 | ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance); | ||
| 469 | 9 | return result; | |
| 470 | } | ||
| 471 | |||
| 472 | 1 | void WindowPropertyFrameAndDivider_Impl::resetRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductance() { | |
| 473 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::RatioofDividerEdgeGlassConductancetoCenterOfGlassConductance, ""); |
| 474 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 475 | 1 | } | |
| 476 | |||
| 477 | 9 | bool WindowPropertyFrameAndDivider_Impl::setDividerSolarAbsorptance(double dividerSolarAbsorptance) { | |
| 478 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::DividerSolarAbsorptance, dividerSolarAbsorptance); | |
| 479 | 9 | return result; | |
| 480 | } | ||
| 481 | |||
| 482 | 1 | void WindowPropertyFrameAndDivider_Impl::resetDividerSolarAbsorptance() { | |
| 483 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerSolarAbsorptance, ""); |
| 484 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 485 | 1 | } | |
| 486 | |||
| 487 | 9 | bool WindowPropertyFrameAndDivider_Impl::setDividerVisibleAbsorptance(double dividerVisibleAbsorptance) { | |
| 488 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::DividerVisibleAbsorptance, dividerVisibleAbsorptance); | |
| 489 | 9 | return result; | |
| 490 | } | ||
| 491 | |||
| 492 | 1 | void WindowPropertyFrameAndDivider_Impl::resetDividerVisibleAbsorptance() { | |
| 493 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerVisibleAbsorptance, ""); |
| 494 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 495 | 1 | } | |
| 496 | |||
| 497 | 9 | bool WindowPropertyFrameAndDivider_Impl::setDividerThermalHemisphericalEmissivity(double dividerThermalHemisphericalEmissivity) { | |
| 498 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::DividerThermalHemisphericalEmissivity, dividerThermalHemisphericalEmissivity); | |
| 499 | 9 | return result; | |
| 500 | } | ||
| 501 | |||
| 502 | 1 | void WindowPropertyFrameAndDivider_Impl::resetDividerThermalHemisphericalEmissivity() { | |
| 503 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::DividerThermalHemisphericalEmissivity, ""); |
| 504 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 505 | 1 | } | |
| 506 | |||
| 507 | 3 | bool WindowPropertyFrameAndDivider_Impl::setOutsideRevealDepth(double outsideRevealDepth) { | |
| 508 | 3 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::OutsideRevealDepth, outsideRevealDepth); | |
| 509 | 3 | return result; | |
| 510 | } | ||
| 511 | |||
| 512 | 1 | void WindowPropertyFrameAndDivider_Impl::resetOutsideRevealDepth() { | |
| 513 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::OutsideRevealDepth, ""); |
| 514 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 515 | 1 | } | |
| 516 | |||
| 517 | 9 | bool WindowPropertyFrameAndDivider_Impl::setOutsideRevealSolarAbsorptance(double outsideRevealSolarAbsorptance) { | |
| 518 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::OutsideRevealSolarAbsorptance, outsideRevealSolarAbsorptance); | |
| 519 | 9 | return result; | |
| 520 | } | ||
| 521 | |||
| 522 | 1 | void WindowPropertyFrameAndDivider_Impl::resetOutsideRevealSolarAbsorptance() { | |
| 523 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::OutsideRevealSolarAbsorptance, ""); |
| 524 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 525 | 1 | } | |
| 526 | |||
| 527 | 9 | bool WindowPropertyFrameAndDivider_Impl::setInsideSillDepth(double insideSillDepth) { | |
| 528 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::InsideSillDepth, insideSillDepth); | |
| 529 | 9 | return result; | |
| 530 | } | ||
| 531 | |||
| 532 | 1 | void WindowPropertyFrameAndDivider_Impl::resetInsideSillDepth() { | |
| 533 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::InsideSillDepth, ""); |
| 534 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 535 | 1 | } | |
| 536 | |||
| 537 | 9 | bool WindowPropertyFrameAndDivider_Impl::setInsideSillSolarAbsorptance(double insideSillSolarAbsorptance) { | |
| 538 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::InsideSillSolarAbsorptance, insideSillSolarAbsorptance); | |
| 539 | 9 | return result; | |
| 540 | } | ||
| 541 | |||
| 542 | 1 | void WindowPropertyFrameAndDivider_Impl::resetInsideSillSolarAbsorptance() { | |
| 543 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::InsideSillSolarAbsorptance, ""); |
| 544 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 545 | 1 | } | |
| 546 | |||
| 547 | 9 | bool WindowPropertyFrameAndDivider_Impl::setInsideRevealDepth(double insideRevealDepth) { | |
| 548 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::InsideRevealDepth, insideRevealDepth); | |
| 549 | 9 | return result; | |
| 550 | } | ||
| 551 | |||
| 552 | 1 | void WindowPropertyFrameAndDivider_Impl::resetInsideRevealDepth() { | |
| 553 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::InsideRevealDepth, ""); |
| 554 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 555 | 1 | } | |
| 556 | |||
| 557 | 9 | bool WindowPropertyFrameAndDivider_Impl::setInsideRevealSolarAbsorptance(double insideRevealSolarAbsorptance) { | |
| 558 | 9 | bool result = setDouble(OS_WindowProperty_FrameAndDividerFields::InsideRevealSolarAbsorptance, insideRevealSolarAbsorptance); | |
| 559 | 9 | return result; | |
| 560 | } | ||
| 561 | |||
| 562 | 1 | void WindowPropertyFrameAndDivider_Impl::resetInsideRevealSolarAbsorptance() { | |
| 563 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::InsideRevealSolarAbsorptance, ""); |
| 564 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 565 | 1 | } | |
| 566 | |||
| 567 | 10 | bool WindowPropertyFrameAndDivider_Impl::setNFRCProductTypeforAssemblyCalculations(const std::string& nfrcProductTypeforAssemblyCalculations) { | |
| 568 | bool result = | ||
| 569 | 10 | setString(OS_WindowProperty_FrameAndDividerFields::NFRCProductTypeforAssemblyCalculations, nfrcProductTypeforAssemblyCalculations); | |
| 570 | 10 | return result; | |
| 571 | } | ||
| 572 | |||
| 573 | 1 | void WindowPropertyFrameAndDivider_Impl::resetNFRCProductTypeforAssemblyCalculations() { | |
| 574 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
2 | bool result = setString(OS_WindowProperty_FrameAndDividerFields::NFRCProductTypeforAssemblyCalculations, ""); |
| 575 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 576 | 1 | } | |
| 577 | |||
| 578 | } // namespace detail | ||
| 579 | |||
| 580 | 24 | WindowPropertyFrameAndDivider::WindowPropertyFrameAndDivider(const Model& model) | |
| 581 | 24 | : ResourceObject(WindowPropertyFrameAndDivider::iddObjectType(), model) { | |
| 582 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 24 times.
✗ Branch 5 not taken.
|
24 | OS_ASSERT(getImpl<detail::WindowPropertyFrameAndDivider_Impl>()); |
| 583 | |||
| 584 | // TODO: Appropriately handle the following required object-list fields. | ||
| 585 | 24 | bool ok = true; | |
| 586 | // ok = setHandle(); | ||
| 587 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 24 times.
✗ Branch 3 not taken.
|
24 | OS_ASSERT(ok); |
| 588 | 24 | } | |
| 589 | |||
| 590 | 7791 | IddObjectType WindowPropertyFrameAndDivider::iddObjectType() { | |
| 591 |
1/1✓ Branch 1 taken 7791 times.
|
7791 | return {IddObjectType::OS_WindowProperty_FrameAndDivider}; |
| 592 | } | ||
| 593 | |||
| 594 | ✗ | std::vector<std::string> WindowPropertyFrameAndDivider::dividerTypeValues() { | |
| 595 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_WindowProperty_FrameAndDividerFields::DividerType); | |
| 596 | } | ||
| 597 | |||
| 598 | 19 | double WindowPropertyFrameAndDivider::frameWidth() const { | |
| 599 |
1/1✓ Branch 3 taken 19 times.
|
19 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->frameWidth(); |
| 600 | } | ||
| 601 | |||
| 602 | 3 | bool WindowPropertyFrameAndDivider::isFrameWidthDefaulted() const { | |
| 603 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isFrameWidthDefaulted(); |
| 604 | } | ||
| 605 | |||
| 606 | 4 | double WindowPropertyFrameAndDivider::frameOutsideProjection() const { | |
| 607 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->frameOutsideProjection(); |
| 608 | } | ||
| 609 | |||
| 610 | 3 | bool WindowPropertyFrameAndDivider::isFrameOutsideProjectionDefaulted() const { | |
| 611 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isFrameOutsideProjectionDefaulted(); |
| 612 | } | ||
| 613 | |||
| 614 | 4 | double WindowPropertyFrameAndDivider::frameInsideProjection() const { | |
| 615 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->frameInsideProjection(); |
| 616 | } | ||
| 617 | |||
| 618 | 3 | bool WindowPropertyFrameAndDivider::isFrameInsideProjectionDefaulted() const { | |
| 619 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isFrameInsideProjectionDefaulted(); |
| 620 | } | ||
| 621 | |||
| 622 | 4 | double WindowPropertyFrameAndDivider::frameConductance() const { | |
| 623 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->frameConductance(); |
| 624 | } | ||
| 625 | |||
| 626 | 3 | bool WindowPropertyFrameAndDivider::isFrameConductanceDefaulted() const { | |
| 627 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isFrameConductanceDefaulted(); |
| 628 | } | ||
| 629 | |||
| 630 | 4 | double WindowPropertyFrameAndDivider::ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance() const { | |
| 631 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance(); |
| 632 | } | ||
| 633 | |||
| 634 | 3 | bool WindowPropertyFrameAndDivider::isRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductanceDefaulted() const { | |
| 635 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductanceDefaulted(); |
| 636 | } | ||
| 637 | |||
| 638 | 4 | double WindowPropertyFrameAndDivider::frameSolarAbsorptance() const { | |
| 639 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->frameSolarAbsorptance(); |
| 640 | } | ||
| 641 | |||
| 642 | 3 | bool WindowPropertyFrameAndDivider::isFrameSolarAbsorptanceDefaulted() const { | |
| 643 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isFrameSolarAbsorptanceDefaulted(); |
| 644 | } | ||
| 645 | |||
| 646 | 4 | double WindowPropertyFrameAndDivider::frameVisibleAbsorptance() const { | |
| 647 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->frameVisibleAbsorptance(); |
| 648 | } | ||
| 649 | |||
| 650 | 3 | bool WindowPropertyFrameAndDivider::isFrameVisibleAbsorptanceDefaulted() const { | |
| 651 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isFrameVisibleAbsorptanceDefaulted(); |
| 652 | } | ||
| 653 | |||
| 654 | 4 | double WindowPropertyFrameAndDivider::frameThermalHemisphericalEmissivity() const { | |
| 655 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->frameThermalHemisphericalEmissivity(); |
| 656 | } | ||
| 657 | |||
| 658 | 3 | bool WindowPropertyFrameAndDivider::isFrameThermalHemisphericalEmissivityDefaulted() const { | |
| 659 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isFrameThermalHemisphericalEmissivityDefaulted(); |
| 660 | } | ||
| 661 | |||
| 662 | 5 | std::string WindowPropertyFrameAndDivider::dividerType() const { | |
| 663 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->dividerType(); |
| 664 | } | ||
| 665 | |||
| 666 | 3 | bool WindowPropertyFrameAndDivider::isDividerTypeDefaulted() const { | |
| 667 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isDividerTypeDefaulted(); |
| 668 | } | ||
| 669 | |||
| 670 | 5 | double WindowPropertyFrameAndDivider::dividerWidth() const { | |
| 671 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->dividerWidth(); |
| 672 | } | ||
| 673 | |||
| 674 | 3 | bool WindowPropertyFrameAndDivider::isDividerWidthDefaulted() const { | |
| 675 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isDividerWidthDefaulted(); |
| 676 | } | ||
| 677 | |||
| 678 | 5 | int WindowPropertyFrameAndDivider::numberOfHorizontalDividers() const { | |
| 679 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->numberOfHorizontalDividers(); |
| 680 | } | ||
| 681 | |||
| 682 | 3 | bool WindowPropertyFrameAndDivider::isNumberOfHorizontalDividersDefaulted() const { | |
| 683 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isNumberOfHorizontalDividersDefaulted(); |
| 684 | } | ||
| 685 | |||
| 686 | 5 | int WindowPropertyFrameAndDivider::numberOfVerticalDividers() const { | |
| 687 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->numberOfVerticalDividers(); |
| 688 | } | ||
| 689 | |||
| 690 | 3 | bool WindowPropertyFrameAndDivider::isNumberOfVerticalDividersDefaulted() const { | |
| 691 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isNumberOfVerticalDividersDefaulted(); |
| 692 | } | ||
| 693 | |||
| 694 | 4 | double WindowPropertyFrameAndDivider::dividerOutsideProjection() const { | |
| 695 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->dividerOutsideProjection(); |
| 696 | } | ||
| 697 | |||
| 698 | 3 | bool WindowPropertyFrameAndDivider::isDividerOutsideProjectionDefaulted() const { | |
| 699 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isDividerOutsideProjectionDefaulted(); |
| 700 | } | ||
| 701 | |||
| 702 | 4 | double WindowPropertyFrameAndDivider::dividerInsideProjection() const { | |
| 703 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->dividerInsideProjection(); |
| 704 | } | ||
| 705 | |||
| 706 | 3 | bool WindowPropertyFrameAndDivider::isDividerInsideProjectionDefaulted() const { | |
| 707 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isDividerInsideProjectionDefaulted(); |
| 708 | } | ||
| 709 | |||
| 710 | 4 | double WindowPropertyFrameAndDivider::dividerConductance() const { | |
| 711 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->dividerConductance(); |
| 712 | } | ||
| 713 | |||
| 714 | 3 | bool WindowPropertyFrameAndDivider::isDividerConductanceDefaulted() const { | |
| 715 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isDividerConductanceDefaulted(); |
| 716 | } | ||
| 717 | |||
| 718 | 4 | double WindowPropertyFrameAndDivider::ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance() const { | |
| 719 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance(); |
| 720 | } | ||
| 721 | |||
| 722 | 3 | bool WindowPropertyFrameAndDivider::isRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductanceDefaulted() const { | |
| 723 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductanceDefaulted(); |
| 724 | } | ||
| 725 | |||
| 726 | 4 | double WindowPropertyFrameAndDivider::dividerSolarAbsorptance() const { | |
| 727 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->dividerSolarAbsorptance(); |
| 728 | } | ||
| 729 | |||
| 730 | 3 | bool WindowPropertyFrameAndDivider::isDividerSolarAbsorptanceDefaulted() const { | |
| 731 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isDividerSolarAbsorptanceDefaulted(); |
| 732 | } | ||
| 733 | |||
| 734 | 4 | double WindowPropertyFrameAndDivider::dividerVisibleAbsorptance() const { | |
| 735 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->dividerVisibleAbsorptance(); |
| 736 | } | ||
| 737 | |||
| 738 | 3 | bool WindowPropertyFrameAndDivider::isDividerVisibleAbsorptanceDefaulted() const { | |
| 739 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isDividerVisibleAbsorptanceDefaulted(); |
| 740 | } | ||
| 741 | |||
| 742 | 4 | double WindowPropertyFrameAndDivider::dividerThermalHemisphericalEmissivity() const { | |
| 743 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->dividerThermalHemisphericalEmissivity(); |
| 744 | } | ||
| 745 | |||
| 746 | 3 | bool WindowPropertyFrameAndDivider::isDividerThermalHemisphericalEmissivityDefaulted() const { | |
| 747 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isDividerThermalHemisphericalEmissivityDefaulted(); |
| 748 | } | ||
| 749 | |||
| 750 | 3 | double WindowPropertyFrameAndDivider::outsideRevealDepth() const { | |
| 751 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->outsideRevealDepth(); |
| 752 | } | ||
| 753 | |||
| 754 | 5 | bool WindowPropertyFrameAndDivider::isOutsideRevealDepthDefaulted() const { | |
| 755 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isOutsideRevealDepthDefaulted(); |
| 756 | } | ||
| 757 | |||
| 758 | 4 | double WindowPropertyFrameAndDivider::outsideRevealSolarAbsorptance() const { | |
| 759 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->outsideRevealSolarAbsorptance(); |
| 760 | } | ||
| 761 | |||
| 762 | 3 | bool WindowPropertyFrameAndDivider::isOutsideRevealSolarAbsorptanceDefaulted() const { | |
| 763 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isOutsideRevealSolarAbsorptanceDefaulted(); |
| 764 | } | ||
| 765 | |||
| 766 | 4 | double WindowPropertyFrameAndDivider::insideSillDepth() const { | |
| 767 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->insideSillDepth(); |
| 768 | } | ||
| 769 | |||
| 770 | 3 | bool WindowPropertyFrameAndDivider::isInsideSillDepthDefaulted() const { | |
| 771 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isInsideSillDepthDefaulted(); |
| 772 | } | ||
| 773 | |||
| 774 | 4 | double WindowPropertyFrameAndDivider::insideSillSolarAbsorptance() const { | |
| 775 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->insideSillSolarAbsorptance(); |
| 776 | } | ||
| 777 | |||
| 778 | 3 | bool WindowPropertyFrameAndDivider::isInsideSillSolarAbsorptanceDefaulted() const { | |
| 779 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isInsideSillSolarAbsorptanceDefaulted(); |
| 780 | } | ||
| 781 | |||
| 782 | 4 | double WindowPropertyFrameAndDivider::insideRevealDepth() const { | |
| 783 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->insideRevealDepth(); |
| 784 | } | ||
| 785 | |||
| 786 | 3 | bool WindowPropertyFrameAndDivider::isInsideRevealDepthDefaulted() const { | |
| 787 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isInsideRevealDepthDefaulted(); |
| 788 | } | ||
| 789 | |||
| 790 | 4 | double WindowPropertyFrameAndDivider::insideRevealSolarAbsorptance() const { | |
| 791 |
1/1✓ Branch 3 taken 4 times.
|
4 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->insideRevealSolarAbsorptance(); |
| 792 | } | ||
| 793 | |||
| 794 | 3 | bool WindowPropertyFrameAndDivider::isInsideRevealSolarAbsorptanceDefaulted() const { | |
| 795 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isInsideRevealSolarAbsorptanceDefaulted(); |
| 796 | } | ||
| 797 | |||
| 798 | 7 | std::string WindowPropertyFrameAndDivider::nfrcProductTypeforAssemblyCalculations() const { | |
| 799 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->nfrcProductTypeforAssemblyCalculations(); |
| 800 | } | ||
| 801 | |||
| 802 | 5 | bool WindowPropertyFrameAndDivider::isNFRCProductTypeforAssemblyCalculationsDefaulted() const { | |
| 803 |
1/1✓ Branch 3 taken 5 times.
|
5 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->isNFRCProductTypeforAssemblyCalculationsDefaulted(); |
| 804 | } | ||
| 805 | |||
| 806 | 15 | bool WindowPropertyFrameAndDivider::setFrameWidth(double frameWidth) { | |
| 807 |
1/1✓ Branch 3 taken 15 times.
|
15 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setFrameWidth(frameWidth); |
| 808 | } | ||
| 809 | |||
| 810 | 1 | void WindowPropertyFrameAndDivider::resetFrameWidth() { | |
| 811 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetFrameWidth(); |
| 812 | 1 | } | |
| 813 | |||
| 814 | 9 | bool WindowPropertyFrameAndDivider::setFrameOutsideProjection(double frameOutsideProjection) { | |
| 815 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setFrameOutsideProjection(frameOutsideProjection); |
| 816 | } | ||
| 817 | |||
| 818 | 1 | void WindowPropertyFrameAndDivider::resetFrameOutsideProjection() { | |
| 819 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetFrameOutsideProjection(); |
| 820 | 1 | } | |
| 821 | |||
| 822 | 9 | bool WindowPropertyFrameAndDivider::setFrameInsideProjection(double frameInsideProjection) { | |
| 823 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setFrameInsideProjection(frameInsideProjection); |
| 824 | } | ||
| 825 | |||
| 826 | 1 | void WindowPropertyFrameAndDivider::resetFrameInsideProjection() { | |
| 827 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetFrameInsideProjection(); |
| 828 | 1 | } | |
| 829 | |||
| 830 | 3 | bool WindowPropertyFrameAndDivider::setFrameConductance(double frameConductance) { | |
| 831 |
2/2✓ Branch 3 taken 3 times.
✓ Branch 6 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setFrameConductance(frameConductance); |
| 832 | } | ||
| 833 | |||
| 834 | 1 | void WindowPropertyFrameAndDivider::resetFrameConductance() { | |
| 835 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetFrameConductance(); |
| 836 | 1 | } | |
| 837 | |||
| 838 | 9 | bool WindowPropertyFrameAndDivider::setRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductance( | |
| 839 | double ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance) { | ||
| 840 |
1/1✓ Branch 3 taken 9 times.
|
18 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductance( |
| 841 | 18 | ratioOfFrameEdgeGlassConductanceToCenterOfGlassConductance); | |
| 842 | } | ||
| 843 | |||
| 844 | 1 | void WindowPropertyFrameAndDivider::resetRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductance() { | |
| 845 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetRatioOfFrameEdgeGlassConductanceToCenterOfGlassConductance(); |
| 846 | 1 | } | |
| 847 | |||
| 848 | 9 | bool WindowPropertyFrameAndDivider::setFrameSolarAbsorptance(double frameSolarAbsorptance) { | |
| 849 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setFrameSolarAbsorptance(frameSolarAbsorptance); |
| 850 | } | ||
| 851 | |||
| 852 | 1 | void WindowPropertyFrameAndDivider::resetFrameSolarAbsorptance() { | |
| 853 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetFrameSolarAbsorptance(); |
| 854 | 1 | } | |
| 855 | |||
| 856 | 9 | bool WindowPropertyFrameAndDivider::setFrameVisibleAbsorptance(double frameVisibleAbsorptance) { | |
| 857 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setFrameVisibleAbsorptance(frameVisibleAbsorptance); |
| 858 | } | ||
| 859 | |||
| 860 | 1 | void WindowPropertyFrameAndDivider::resetFrameVisibleAbsorptance() { | |
| 861 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetFrameVisibleAbsorptance(); |
| 862 | 1 | } | |
| 863 | |||
| 864 | 9 | bool WindowPropertyFrameAndDivider::setFrameThermalHemisphericalEmissivity(double frameThermalHemisphericalEmissivity) { | |
| 865 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setFrameThermalHemisphericalEmissivity(frameThermalHemisphericalEmissivity); |
| 866 | } | ||
| 867 | |||
| 868 | 1 | void WindowPropertyFrameAndDivider::resetFrameThermalHemisphericalEmissivity() { | |
| 869 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetFrameThermalHemisphericalEmissivity(); |
| 870 | 1 | } | |
| 871 | |||
| 872 | 9 | bool WindowPropertyFrameAndDivider::setDividerType(const std::string& dividerType) { | |
| 873 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setDividerType(dividerType); |
| 874 | } | ||
| 875 | |||
| 876 | 1 | void WindowPropertyFrameAndDivider::resetDividerType() { | |
| 877 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetDividerType(); |
| 878 | 1 | } | |
| 879 | |||
| 880 | 10 | bool WindowPropertyFrameAndDivider::setDividerWidth(double dividerWidth) { | |
| 881 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setDividerWidth(dividerWidth); |
| 882 | } | ||
| 883 | |||
| 884 | 1 | void WindowPropertyFrameAndDivider::resetDividerWidth() { | |
| 885 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetDividerWidth(); |
| 886 | 1 | } | |
| 887 | |||
| 888 | 10 | bool WindowPropertyFrameAndDivider::setNumberOfHorizontalDividers(int numberOfHorizontalDividers) { | |
| 889 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setNumberOfHorizontalDividers(numberOfHorizontalDividers); |
| 890 | } | ||
| 891 | |||
| 892 | 1 | void WindowPropertyFrameAndDivider::resetNumberOfHorizontalDividers() { | |
| 893 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetNumberOfHorizontalDividers(); |
| 894 | 1 | } | |
| 895 | |||
| 896 | 10 | bool WindowPropertyFrameAndDivider::setNumberOfVerticalDividers(int numberOfVerticalDividers) { | |
| 897 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setNumberOfVerticalDividers(numberOfVerticalDividers); |
| 898 | } | ||
| 899 | |||
| 900 | 1 | void WindowPropertyFrameAndDivider::resetNumberOfVerticalDividers() { | |
| 901 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetNumberOfVerticalDividers(); |
| 902 | 1 | } | |
| 903 | |||
| 904 | 9 | bool WindowPropertyFrameAndDivider::setDividerOutsideProjection(double dividerOutsideProjection) { | |
| 905 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setDividerOutsideProjection(dividerOutsideProjection); |
| 906 | } | ||
| 907 | |||
| 908 | 1 | void WindowPropertyFrameAndDivider::resetDividerOutsideProjection() { | |
| 909 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetDividerOutsideProjection(); |
| 910 | 1 | } | |
| 911 | |||
| 912 | 9 | bool WindowPropertyFrameAndDivider::setDividerInsideProjection(double dividerInsideProjection) { | |
| 913 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setDividerInsideProjection(dividerInsideProjection); |
| 914 | } | ||
| 915 | |||
| 916 | 1 | void WindowPropertyFrameAndDivider::resetDividerInsideProjection() { | |
| 917 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetDividerInsideProjection(); |
| 918 | 1 | } | |
| 919 | |||
| 920 | 9 | bool WindowPropertyFrameAndDivider::setDividerConductance(double dividerConductance) { | |
| 921 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setDividerConductance(dividerConductance); |
| 922 | } | ||
| 923 | |||
| 924 | 1 | void WindowPropertyFrameAndDivider::resetDividerConductance() { | |
| 925 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetDividerConductance(); |
| 926 | 1 | } | |
| 927 | |||
| 928 | 9 | bool WindowPropertyFrameAndDivider::setRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductance( | |
| 929 | double ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance) { | ||
| 930 |
1/1✓ Branch 3 taken 9 times.
|
18 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductance( |
| 931 | 18 | ratioOfDividerEdgeGlassConductanceToCenterOfGlassConductance); | |
| 932 | } | ||
| 933 | |||
| 934 | 1 | void WindowPropertyFrameAndDivider::resetRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductance() { | |
| 935 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetRatioOfDividerEdgeGlassConductanceToCenterOfGlassConductance(); |
| 936 | 1 | } | |
| 937 | |||
| 938 | 9 | bool WindowPropertyFrameAndDivider::setDividerSolarAbsorptance(double dividerSolarAbsorptance) { | |
| 939 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setDividerSolarAbsorptance(dividerSolarAbsorptance); |
| 940 | } | ||
| 941 | |||
| 942 | 1 | void WindowPropertyFrameAndDivider::resetDividerSolarAbsorptance() { | |
| 943 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetDividerSolarAbsorptance(); |
| 944 | 1 | } | |
| 945 | |||
| 946 | 9 | bool WindowPropertyFrameAndDivider::setDividerVisibleAbsorptance(double dividerVisibleAbsorptance) { | |
| 947 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setDividerVisibleAbsorptance(dividerVisibleAbsorptance); |
| 948 | } | ||
| 949 | |||
| 950 | 1 | void WindowPropertyFrameAndDivider::resetDividerVisibleAbsorptance() { | |
| 951 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetDividerVisibleAbsorptance(); |
| 952 | 1 | } | |
| 953 | |||
| 954 | 9 | bool WindowPropertyFrameAndDivider::setDividerThermalHemisphericalEmissivity(double dividerThermalHemisphericalEmissivity) { | |
| 955 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setDividerThermalHemisphericalEmissivity(dividerThermalHemisphericalEmissivity); |
| 956 | } | ||
| 957 | |||
| 958 | 1 | void WindowPropertyFrameAndDivider::resetDividerThermalHemisphericalEmissivity() { | |
| 959 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetDividerThermalHemisphericalEmissivity(); |
| 960 | 1 | } | |
| 961 | |||
| 962 | 3 | bool WindowPropertyFrameAndDivider::setOutsideRevealDepth(double outsideRevealDepth) { | |
| 963 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setOutsideRevealDepth(outsideRevealDepth); |
| 964 | } | ||
| 965 | |||
| 966 | 1 | void WindowPropertyFrameAndDivider::resetOutsideRevealDepth() { | |
| 967 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetOutsideRevealDepth(); |
| 968 | 1 | } | |
| 969 | |||
| 970 | 9 | bool WindowPropertyFrameAndDivider::setOutsideRevealSolarAbsorptance(double outsideRevealSolarAbsorptance) { | |
| 971 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setOutsideRevealSolarAbsorptance(outsideRevealSolarAbsorptance); |
| 972 | } | ||
| 973 | |||
| 974 | 1 | void WindowPropertyFrameAndDivider::resetOutsideRevealSolarAbsorptance() { | |
| 975 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetOutsideRevealSolarAbsorptance(); |
| 976 | 1 | } | |
| 977 | |||
| 978 | 9 | bool WindowPropertyFrameAndDivider::setInsideSillDepth(double insideSillDepth) { | |
| 979 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setInsideSillDepth(insideSillDepth); |
| 980 | } | ||
| 981 | |||
| 982 | 1 | void WindowPropertyFrameAndDivider::resetInsideSillDepth() { | |
| 983 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetInsideSillDepth(); |
| 984 | 1 | } | |
| 985 | |||
| 986 | 9 | bool WindowPropertyFrameAndDivider::setInsideSillSolarAbsorptance(double insideSillSolarAbsorptance) { | |
| 987 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setInsideSillSolarAbsorptance(insideSillSolarAbsorptance); |
| 988 | } | ||
| 989 | |||
| 990 | 1 | void WindowPropertyFrameAndDivider::resetInsideSillSolarAbsorptance() { | |
| 991 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetInsideSillSolarAbsorptance(); |
| 992 | 1 | } | |
| 993 | |||
| 994 | 9 | bool WindowPropertyFrameAndDivider::setInsideRevealDepth(double insideRevealDepth) { | |
| 995 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setInsideRevealDepth(insideRevealDepth); |
| 996 | } | ||
| 997 | |||
| 998 | 1 | void WindowPropertyFrameAndDivider::resetInsideRevealDepth() { | |
| 999 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetInsideRevealDepth(); |
| 1000 | 1 | } | |
| 1001 | |||
| 1002 | 9 | bool WindowPropertyFrameAndDivider::setInsideRevealSolarAbsorptance(double insideRevealSolarAbsorptance) { | |
| 1003 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setInsideRevealSolarAbsorptance(insideRevealSolarAbsorptance); |
| 1004 | } | ||
| 1005 | |||
| 1006 | 1 | void WindowPropertyFrameAndDivider::resetInsideRevealSolarAbsorptance() { | |
| 1007 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetInsideRevealSolarAbsorptance(); |
| 1008 | 1 | } | |
| 1009 | |||
| 1010 | 10 | bool WindowPropertyFrameAndDivider::setNFRCProductTypeforAssemblyCalculations(const std::string& nfrcProductTypeforAssemblyCalculations) { | |
| 1011 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->setNFRCProductTypeforAssemblyCalculations(nfrcProductTypeforAssemblyCalculations); |
| 1012 | } | ||
| 1013 | |||
| 1014 | 1 | void WindowPropertyFrameAndDivider::resetNFRCProductTypeforAssemblyCalculations() { | |
| 1015 |
1/1✓ Branch 3 taken 1 time.
|
1 | getImpl<detail::WindowPropertyFrameAndDivider_Impl>()->resetNFRCProductTypeforAssemblyCalculations(); |
| 1016 | 1 | } | |
| 1017 | |||
| 1018 | /// @cond | ||
| 1019 | 84 | WindowPropertyFrameAndDivider::WindowPropertyFrameAndDivider(std::shared_ptr<detail::WindowPropertyFrameAndDivider_Impl> impl) | |
| 1020 |
1/1✓ Branch 3 taken 84 times.
|
84 | : ResourceObject(std::move(impl)) {} |
| 1021 | /// @endcond | ||
| 1022 | |||
| 1023 | } // namespace model | ||
| 1024 | } // namespace openstudio | ||
| 1025 |