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

Method windowDefinition

src/utilities/floorspace/FSModel.cpp:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154boost::optional<FSWindowDefinition> FSModel::windowDefinition(const std::string& windowDefinitionId) const {
155 for (const auto& definition : m_windowDefinitions) {
156 if (definition.id() == windowDefinitionId) {
157 return definition;
158 }
159 }
160 return boost::none;
161}
162
163boost::optional<FSDoorDefinition> FSModel::doorDefinition(const std::string& doorDefinitionId) const {
164 for (const auto& definition : m_doorDefinitions) {

Callers 2

FSWindowMethod · 0.80

Calls 1

idMethod · 0.45

Tested by

no test coverage detected