GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 89.7% 157 / 0 / 175
Functions: 88.9% 32 / 0 / 36
Branches: 79.0% 166 / 0 / 210

src/model/ConstructionWithInternalSource.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 "ConstructionWithInternalSource.hpp"
7 #include "ConstructionWithInternalSource_Impl.hpp"
8 #include "Model.hpp"
9
10 #include "Material.hpp"
11 #include "Material_Impl.hpp"
12 #include "OpaqueMaterial.hpp"
13 #include "ModelExtensibleGroup.hpp"
14
15 #include "../utilities/core/Assert.hpp"
16 #include <utilities/idd/OS_Construction_InternalSource_FieldEnums.hxx>
17 #include <utilities/idd/IddEnums.hxx>
18
19 namespace openstudio {
20 namespace model {
21
22 namespace detail {
23
24 21 ConstructionWithInternalSource_Impl::ConstructionWithInternalSource_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle)
25 21 : LayeredConstruction_Impl(idfObject, model, keepHandle) {
26
4/6
✓ Branch 1 taken 21 times.
✓ Branch 4 taken 21 times.
✓ Branch 7 taken 21 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 21 times.
✗ Branch 13 not taken.
21 OS_ASSERT(idfObject.iddObject().type() == ConstructionWithInternalSource::iddObjectType());
27 21 }
28
29 1 ConstructionWithInternalSource_Impl::ConstructionWithInternalSource_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model,
30 1 bool keepHandle)
31 1 : LayeredConstruction_Impl(other, model, keepHandle) {
32
4/6
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✗ Branch 10 not taken.
✓ Branch 11 taken 1 time.
✗ Branch 13 not taken.
1 OS_ASSERT(other.iddObject().type() == ConstructionWithInternalSource::iddObjectType());
33 1 }
34
35 9 ConstructionWithInternalSource_Impl::ConstructionWithInternalSource_Impl(const ConstructionWithInternalSource_Impl& other, Model_Impl* model,
36 9 bool keepHandle)
37 9 : LayeredConstruction_Impl(other, model, keepHandle) {}
38
39 ✗ const std::vector<std::string>& ConstructionWithInternalSource_Impl::outputVariableNames() const {
40 static const std::vector<std::string> result{"Surface Internal Source Location Temperature",
41 ✗ "Surface Internal User Specified Location Temperature"};
42 ✗ return result;
43 ✗ }
44
45 ✗ IddObjectType ConstructionWithInternalSource_Impl::iddObjectType() const {
46 ✗ return ConstructionWithInternalSource::iddObjectType();
47 }
48
49 ✗ int ConstructionWithInternalSource_Impl::renderingColorIndex() const {
50 ✗ return OS_Construction_InternalSourceFields::SurfaceRenderingName;
51 }
52
53 1 bool ConstructionWithInternalSource_Impl::eraseLayer(unsigned layerIndex) {
54
1/2
✗ Branch 1 not taken.
✓ Branch 2 taken 1 time.
1 if (this->numLayers() < 1) {
55 ✗ return false;
56 }
57 1 bool result = LayeredConstruction_Impl::eraseLayer(layerIndex);
58
1/2
✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
1 if (result) {
59 1 onNumLayersChanged();
60 }
61 1 return result;
62 }
63
64 14 bool ConstructionWithInternalSource_Impl::setLayers(const std::vector<Material>& materials) {
65
2/2
✓ Branch 1 taken 1 time.
✓ Branch 2 taken 13 times.
14 if (materials.size() < 2) {
66 1 return false;
67 }
68 13 bool result = LayeredConstruction_Impl::setLayers(materials);
69
1/2
✓ Branch 0 taken 13 times.
✗ Branch 1 not taken.
13 if (result) {
70 13 onNumLayersChanged();
71 }
72 13 return result;
73 }
74
75 ✗ bool ConstructionWithInternalSource_Impl::setLayer(const ModelPartitionMaterial& /*modelPartitionMaterial*/) {
76 ✗ return false;
77 }
78
79 36 int ConstructionWithInternalSource_Impl::sourcePresentAfterLayerNumber() const {
80
1/1
✓ Branch 1 taken 36 times.
36 boost::optional<int> value = getInt(OS_Construction_InternalSourceFields::SourcePresentAfterLayerNumber, true);
81
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 36 times.
✗ Branch 4 not taken.
36 OS_ASSERT(value);
82
1/1
✓ Branch 1 taken 36 times.
72 return value.get();
83 }
84
85 4 bool ConstructionWithInternalSource_Impl::setSourcePresentAfterLayerNumber(int sourcePresentAfterLayerNumber) {
86
5/6
✓ Branch 0 taken 4 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 3 times.
✓ Branch 4 taken 1 time.
✓ Branch 5 taken 3 times.
✓ Branch 6 taken 1 time.
4 if (sourcePresentAfterLayerNumber < 1 || sourcePresentAfterLayerNumber > (int)this->numLayers()) {
87 3 return false;
88 }
89 1 bool result = setInt(OS_Construction_InternalSourceFields::SourcePresentAfterLayerNumber, sourcePresentAfterLayerNumber);
90 1 return result;
91 }
92
93 36 int ConstructionWithInternalSource_Impl::temperatureCalculationRequestedAfterLayerNumber() const {
94
1/1
✓ Branch 1 taken 36 times.
36 boost::optional<int> value = getInt(OS_Construction_InternalSourceFields::TemperatureCalculationRequestedAfterLayerNumber, true);
95
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 36 times.
✗ Branch 4 not taken.
36 OS_ASSERT(value);
96
1/1
✓ Branch 1 taken 36 times.
72 return value.get();
97 }
98
99 bool
100 4 ConstructionWithInternalSource_Impl::setTemperatureCalculationRequestedAfterLayerNumber(int temperatureCalculationRequestedAfterLayerNumber) {
101
5/6
✓ Branch 0 taken 4 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 3 times.
✓ Branch 4 taken 1 time.
✓ Branch 5 taken 3 times.
✓ Branch 6 taken 1 time.
4 if (temperatureCalculationRequestedAfterLayerNumber < 1 || temperatureCalculationRequestedAfterLayerNumber > (int)this->numLayers()) {
102 3 return false;
103 }
104 1 bool result = setInt(OS_Construction_InternalSourceFields::TemperatureCalculationRequestedAfterLayerNumber,
105 temperatureCalculationRequestedAfterLayerNumber);
106 1 return result;
107 }
108
109 18 int ConstructionWithInternalSource_Impl::dimensionsForTheCTFCalculation() const {
110
1/1
✓ Branch 1 taken 18 times.
18 boost::optional<int> value = getInt(OS_Construction_InternalSourceFields::DimensionsfortheCTFCalculation, true);
111
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 18 times.
✗ Branch 4 not taken.
18 OS_ASSERT(value);
112
1/1
✓ Branch 1 taken 18 times.
36 return value.get();
113 }
114
115 1 bool ConstructionWithInternalSource_Impl::setDimensionsForTheCTFCalculation(int dimensionsForTheCTFCalculation) {
116
2/4
✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 1 time.
1 if (dimensionsForTheCTFCalculation < 1 || dimensionsForTheCTFCalculation > 2) {
117 ✗ return false;
118 }
119 1 bool result = setInt(OS_Construction_InternalSourceFields::DimensionsfortheCTFCalculation, dimensionsForTheCTFCalculation);
120 1 return result;
121 }
122
123 18 double ConstructionWithInternalSource_Impl::tubeSpacing() const {
124
1/1
✓ Branch 1 taken 18 times.
18 boost::optional<double> value = getDouble(OS_Construction_InternalSourceFields::TubeSpacing, true);
125
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 18 times.
✗ Branch 4 not taken.
18 OS_ASSERT(value);
126
1/1
✓ Branch 1 taken 18 times.
36 return value.get();
127 }
128
129 4 bool ConstructionWithInternalSource_Impl::setTubeSpacing(double tubeSpacing) {
130 4 bool result = setDouble(OS_Construction_InternalSourceFields::TubeSpacing, tubeSpacing);
131 4 return result;
132 }
133
134 18 double ConstructionWithInternalSource_Impl::twoDimensionalTemperatureCalculationPosition() const {
135
1/1
✓ Branch 1 taken 18 times.
18 boost::optional<double> value = getDouble(OS_Construction_InternalSourceFields::TwoDimensionalTemperatureCalculationPosition, true);
136
1/3
✗ Branch 1 not taken.
✓ Branch 2 taken 18 times.
✗ Branch 4 not taken.
18 OS_ASSERT(value);
137
1/1
✓ Branch 1 taken 18 times.
36 return value.get();
138 }
139
140 4 bool ConstructionWithInternalSource_Impl::setTwoDimensionalTemperatureCalculationPosition(double twoDimensionalTemperatureCalculationPosition) {
141 bool result =
142 4 setDouble(OS_Construction_InternalSourceFields::TwoDimensionalTemperatureCalculationPosition, twoDimensionalTemperatureCalculationPosition);
143 4 return result;
144 }
145
146 3 ConstructionWithInternalSource ConstructionWithInternalSource_Impl::reverseConstructionWithInternalSource() const {
147
1/1
✓ Branch 1 taken 3 times.
3 MaterialVector reverseLayers(this->layers());
148
1/1
✓ Branch 3 taken 3 times.
3 std::reverse(reverseLayers.begin(), reverseLayers.end());
149
150
1/1
✓ Branch 1 taken 3 times.
3 int numLayers = (int)this->numLayers();
151
1/1
✓ Branch 1 taken 3 times.
3 int reverseSourcePresentAfterLayerNumber = numLayers - this->sourcePresentAfterLayerNumber();
152
1/1
✓ Branch 1 taken 3 times.
3 int reverseTemperatureCalculationRequestedAfterLayerNumber = numLayers - this->temperatureCalculationRequestedAfterLayerNumber();
153
1/1
✓ Branch 1 taken 3 times.
3 int dimensionsForTheCTFCalculation = this->dimensionsForTheCTFCalculation();
154
1/1
✓ Branch 1 taken 3 times.
3 double tubeSpacing = this->tubeSpacing();
155
1/1
✓ Branch 1 taken 3 times.
3 double twoDimensionalTemperatureCalculationPosition = this->twoDimensionalTemperatureCalculationPosition();
156
157
1/1
✓ Branch 1 taken 3 times.
3 Model model = this->model();
158
3/3
✓ Branch 1 taken 3 times.
✓ Branch 8 taken 3 times.
✓ Branch 9 taken 1 time.
4 for (const ConstructionWithInternalSource& other : model.getConcreteModelObjects<ConstructionWithInternalSource>()) {
159
160
2/3
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 3 times.
3 if (other.sourcePresentAfterLayerNumber() != reverseSourcePresentAfterLayerNumber) {
161 ✗ continue;
162 }
163
164
2/3
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 3 times.
3 if (other.temperatureCalculationRequestedAfterLayerNumber() != reverseTemperatureCalculationRequestedAfterLayerNumber) {
165 ✗ continue;
166 }
167
168
2/3
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 3 times.
3 if (other.dimensionsForTheCTFCalculation() != dimensionsForTheCTFCalculation) {
169 ✗ continue;
170 }
171
172
2/3
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 3 times.
3 if (other.tubeSpacing() != tubeSpacing) {
173 ✗ continue;
174 }
175
176
2/3
✓ Branch 1 taken 3 times.
✗ Branch 3 not taken.
✓ Branch 4 taken 3 times.
3 if (other.twoDimensionalTemperatureCalculationPosition() != twoDimensionalTemperatureCalculationPosition) {
177 ✗ continue;
178 }
179
180
1/1
✓ Branch 1 taken 3 times.
3 MaterialVector layers = other.layers();
181
1/2
✗ Branch 2 not taken.
✓ Branch 3 taken 3 times.
3 if (layers.size() != reverseLayers.size()) {
182 ✗ continue;
183 }
184
185 3 bool test = true;
186
2/2
✓ Branch 1 taken 5 times.
✓ Branch 2 taken 2 times.
7 for (unsigned i = 0; i < layers.size(); ++i) {
187
5/5
✓ Branch 2 taken 5 times.
✓ Branch 6 taken 5 times.
✓ Branch 9 taken 5 times.
✓ Branch 11 taken 1 time.
✓ Branch 12 taken 4 times.
5 if (layers[i].handle() != reverseLayers[i].handle()) {
188 1 test = false;
189 1 break; // break out of loop over layers
190 }
191 }
192
193
2/2
✓ Branch 0 taken 2 times.
✓ Branch 1 taken 1 time.
3 if (test) {
194
1/1
✓ Branch 1 taken 2 times.
2 return other;
195 }
196 6 }
197
198 // TODO: this should also copy (and modify) standards information object
199
200 // no match, make one
201
1/1
✓ Branch 1 taken 1 time.
1 ConstructionWithInternalSource result(model);
202
4/4
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
1 result.setName(this->name().get() + " Reversed");
203
1/1
✓ Branch 1 taken 1 time.
1 result.setSourcePresentAfterLayerNumber(reverseSourcePresentAfterLayerNumber);
204
1/1
✓ Branch 1 taken 1 time.
1 result.setTemperatureCalculationRequestedAfterLayerNumber(reverseTemperatureCalculationRequestedAfterLayerNumber);
205
1/1
✓ Branch 1 taken 1 time.
1 result.setDimensionsForTheCTFCalculation(dimensionsForTheCTFCalculation);
206
1/1
✓ Branch 1 taken 1 time.
1 result.setTubeSpacing(tubeSpacing);
207
1/1
✓ Branch 1 taken 1 time.
1 result.setTwoDimensionalTemperatureCalculationPosition(twoDimensionalTemperatureCalculationPosition);
208
1/1
✓ Branch 1 taken 1 time.
1 result.setLayers(reverseLayers);
209
210 1 return result;
211 3 }
212
213 14 void ConstructionWithInternalSource_Impl::onNumLayersChanged() {
214 14 int numLayers = (int)this->numLayers();
215
2/2
✓ Branch 1 taken 2 times.
✓ Branch 2 taken 12 times.
14 if (this->sourcePresentAfterLayerNumber() > numLayers - 1) {
216
2/2
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
4 bool test = setString(OS_Construction_InternalSourceFields::SourcePresentAfterLayerNumber, "");
217
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
2 OS_ASSERT(test);
218 }
219
2/2
✓ Branch 1 taken 2 times.
✓ Branch 2 taken 12 times.
14 if (this->temperatureCalculationRequestedAfterLayerNumber() > numLayers - 1) {
220
2/2
✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
4 bool test = setString(OS_Construction_InternalSourceFields::TemperatureCalculationRequestedAfterLayerNumber, "");
221
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 2 times.
2 OS_ASSERT(test);
222 }
223 14 }
224
225 } // namespace detail
226
227 9 ConstructionWithInternalSource::ConstructionWithInternalSource(const Model& model)
228 9 : LayeredConstruction(ConstructionWithInternalSource::iddObjectType(), model) {
229
1/3
✗ Branch 2 not taken.
✓ Branch 3 taken 9 times.
✗ Branch 5 not taken.
9 OS_ASSERT(getImpl<detail::ConstructionWithInternalSource_Impl>());
230 9 }
231
232 11 ConstructionWithInternalSource::ConstructionWithInternalSource(const std::vector<OpaqueMaterial>& opaqueMaterials)
233 : LayeredConstruction(ConstructionWithInternalSource::iddObjectType(),
234
7/7
✓ Branch 1 taken 1 time.
✓ Branch 2 taken 10 times.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 10 times.
✓ Branch 10 taken 10 times.
✓ Branch 13 taken 11 times.
✓ Branch 16 taken 11 times.
11 (opaqueMaterials.empty() ? openstudio::model::Model() : opaqueMaterials.at(0).model())) {
235
2/2
✓ Branch 1 taken 1 time.
✓ Branch 2 taken 10 times.
11 if (opaqueMaterials.empty()) {
236 // DLM: do not remove, this was only added to a temporary model
237 //this->remove();
238
13/13
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
✓ Branch 19 taken 1 time.
✓ Branch 22 taken 1 time.
✓ Branch 25 taken 1 time.
✓ Branch 28 taken 1 time.
✓ Branch 31 taken 1 time.
✓ Branch 34 taken 1 time.
✓ Branch 38 taken 1 time.
✓ Branch 41 taken 1 time.
1 LOG_AND_THROW("Cannot create an internal source construction with empty layers");
239
2/2
✓ Branch 1 taken 1 time.
✓ Branch 2 taken 9 times.
10 } else if (opaqueMaterials.size() < 2) {
240
1/1
✓ Branch 1 taken 1 time.
1 this->remove();
241
13/13
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
✓ Branch 19 taken 1 time.
✓ Branch 22 taken 1 time.
✓ Branch 25 taken 1 time.
✓ Branch 28 taken 1 time.
✓ Branch 31 taken 1 time.
✓ Branch 34 taken 1 time.
✓ Branch 38 taken 1 time.
✓ Branch 41 taken 1 time.
1 LOG_AND_THROW("Cannot create an internal source construction with fewer than 2 layers");
242
2/2
✓ Branch 1 taken 1 time.
✓ Branch 2 taken 8 times.
9 } else if (opaqueMaterials.size() > 10) {
243
1/1
✓ Branch 1 taken 1 time.
1 this->remove();
244
13/13
✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
✓ Branch 19 taken 1 time.
✓ Branch 22 taken 1 time.
✓ Branch 25 taken 1 time.
✓ Branch 28 taken 1 time.
✓ Branch 31 taken 1 time.
✓ Branch 34 taken 1 time.
✓ Branch 38 taken 1 time.
✓ Branch 41 taken 1 time.
1 LOG_AND_THROW("Cannot create an internal source construction with more than 10 layers");
245 }
246
247
1/1
✓ Branch 1 taken 8 times.
8 std::vector<Material> materials = castVector<Material>(opaqueMaterials);
248
1/1
✓ Branch 1 taken 8 times.
8 bool ok = setLayers(materials);
249
1/3
✗ Branch 0 not taken.
✓ Branch 1 taken 8 times.
✗ Branch 3 not taken.
8 OS_ASSERT(ok);
250 11 }
251
252 7652 IddObjectType ConstructionWithInternalSource::iddObjectType() {
253
1/1
✓ Branch 1 taken 7652 times.
7652 IddObjectType result(IddObjectType::OS_Construction_InternalSource);
254 7652 return result;
255 }
256
257 19 int ConstructionWithInternalSource::sourcePresentAfterLayerNumber() const {
258
1/1
✓ Branch 3 taken 19 times.
19 return getImpl<detail::ConstructionWithInternalSource_Impl>()->sourcePresentAfterLayerNumber();
259 }
260
261 4 bool ConstructionWithInternalSource::setSourcePresentAfterLayerNumber(int sourcePresentAfterLayerNumber) {
262
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ConstructionWithInternalSource_Impl>()->setSourcePresentAfterLayerNumber(sourcePresentAfterLayerNumber);
263 }
264
265 19 int ConstructionWithInternalSource::temperatureCalculationRequestedAfterLayerNumber() const {
266
1/1
✓ Branch 3 taken 19 times.
19 return getImpl<detail::ConstructionWithInternalSource_Impl>()->temperatureCalculationRequestedAfterLayerNumber();
267 }
268
269 4 bool ConstructionWithInternalSource::setTemperatureCalculationRequestedAfterLayerNumber(int temperatureCalculationRequestedAfterLayerNumber) {
270
1/1
✓ Branch 3 taken 4 times.
8 return getImpl<detail::ConstructionWithInternalSource_Impl>()->setTemperatureCalculationRequestedAfterLayerNumber(
271 8 temperatureCalculationRequestedAfterLayerNumber);
272 }
273
274 15 int ConstructionWithInternalSource::dimensionsForTheCTFCalculation() const {
275
1/1
✓ Branch 3 taken 15 times.
15 return getImpl<detail::ConstructionWithInternalSource_Impl>()->dimensionsForTheCTFCalculation();
276 }
277
278 1 bool ConstructionWithInternalSource::setDimensionsForTheCTFCalculation(int dimensionsForTheCTFCalculation) {
279
1/1
✓ Branch 3 taken 1 time.
1 return getImpl<detail::ConstructionWithInternalSource_Impl>()->setDimensionsForTheCTFCalculation(dimensionsForTheCTFCalculation);
280 }
281
282 15 double ConstructionWithInternalSource::tubeSpacing() const {
283
1/1
✓ Branch 3 taken 15 times.
15 return getImpl<detail::ConstructionWithInternalSource_Impl>()->tubeSpacing();
284 }
285
286 4 bool ConstructionWithInternalSource::setTubeSpacing(double tubeSpacing) {
287
1/1
✓ Branch 3 taken 4 times.
4 return getImpl<detail::ConstructionWithInternalSource_Impl>()->setTubeSpacing(tubeSpacing);
288 }
289
290 15 double ConstructionWithInternalSource::twoDimensionalTemperatureCalculationPosition() const {
291
1/1
✓ Branch 3 taken 15 times.
15 return getImpl<detail::ConstructionWithInternalSource_Impl>()->twoDimensionalTemperatureCalculationPosition();
292 }
293
294 4 bool ConstructionWithInternalSource::setTwoDimensionalTemperatureCalculationPosition(double twoDimensionalTemperatureCalculationPosition) {
295
1/1
✓ Branch 3 taken 4 times.
8 return getImpl<detail::ConstructionWithInternalSource_Impl>()->setTwoDimensionalTemperatureCalculationPosition(
296 8 twoDimensionalTemperatureCalculationPosition);
297 }
298
299 3 ConstructionWithInternalSource ConstructionWithInternalSource::reverseConstructionWithInternalSource() const {
300
1/1
✓ Branch 3 taken 3 times.
3 return getImpl<detail::ConstructionWithInternalSource_Impl>()->reverseConstructionWithInternalSource();
301 }
302
303 /// @cond
304 114 ConstructionWithInternalSource::ConstructionWithInternalSource(std::shared_ptr<detail::ConstructionWithInternalSource_Impl> impl)
305
1/1
✓ Branch 3 taken 114 times.
114 : LayeredConstruction(std::move(impl)) {}
306 /// @endcond
307
308 } // namespace model
309 } // namespace openstudio
310