| 37 | } |
| 38 | |
| 39 | void DiffDoom3MapWriter::beginWriteEntity(const IEntityNodePtr& entity, std::ostream& stream) { |
| 40 | const std::string& name = entity->name(); |
| 41 | writeEntityPreamble(name, stream); |
| 42 | stream << "{" << std::endl; |
| 43 | |
| 44 | // Entity key values |
| 45 | entity->getEntity().forEachKeyValue([&](const std::string& key, const std::string& value) |
| 46 | { |
| 47 | stream << "\"" << key << "\" \"" << value << "\"" << std::endl; |
| 48 | }); |
| 49 | } |
| 50 | |
| 51 | void DiffDoom3MapWriter::endWriteEntity(const IEntityNodePtr& entity, std::ostream& stream) { |
| 52 | stream << "}" << std::endl; |
nothing calls this directly
no test coverage detected