| 364 | //! Add a new filter which gets automatically a new id |
| 365 | template<typename... Args> |
| 366 | std::pair<iterator,bool> emplaceNew( Args&&... args ) { |
| 367 | return emplace(std::piecewise_construct, |
| 368 | std::forward_as_tuple(nextId_++), |
| 369 | std::forward_as_tuple(std::forward<Args>(args)...)); |
| 370 | } |
| 371 | |
| 372 | //! Load state from the configuration file |
| 373 | DFHack::command_result loadConfig(DFHack::color_ostream& out) noexcept; |