MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / model

Method model

src/model/Model.cpp:196–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 }
195
196 Model Model_Impl::model() const {
197 // const cast looks pretty bad but is justified here as this operation does not
198 // modify the model, this is similar to a copy constructor, don't abuse it though
199 return {std::dynamic_pointer_cast<Model_Impl>(std::const_pointer_cast<openstudio::detail::Workspace_Impl>(this->shared_from_this()))};
200 }
201
202 bool Model_Impl::setIddFile(IddFileType iddFileType) {
203 OS_ASSERT(iddFileType == IddFileType::OpenStudio);

Callers 15

buildingMethod · 0.95
outputControlFilesMethod · 0.95
outputDiagnosticsMethod · 0.95
outputDebuggingDataMethod · 0.95
outputJSONMethod · 0.95
outputSQLiteMethod · 0.95

Calls

no outgoing calls

Tested by 15

availabilityScheduleMethod · 0.36
setParentMethod · 0.36
startDateMethod · 0.36
setParentMethod · 0.36
getDateMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36