| 152 | } |
| 153 | |
| 154 | boost::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 | |
| 163 | boost::optional<FSDoorDefinition> FSModel::doorDefinition(const std::string& doorDefinitionId) const { |
| 164 | for (const auto& definition : m_doorDefinitions) { |
no test coverage detected