* Perform topic name substitutions based on topic variables */
| 841 | * Perform topic name substitutions based on topic variables |
| 842 | */ |
| 843 | void Config::topicSubstitutions() { |
| 844 | // not the fastest update, but this is fine since it's only done on startup |
| 845 | for (topic_vars_map_iter v_it = topic_vars_map.begin(); v_it != topic_vars_map.end(); ++v_it) { |
| 846 | std::string var = "{"; |
| 847 | var += v_it->first; |
| 848 | var += "}"; |
| 849 | |
| 850 | for (topic_names_map_iter n_it = topic_names_map.begin(); n_it != topic_names_map.end(); ++n_it) { |
| 851 | boost::replace_all(n_it->second, var, v_it->second); |
| 852 | } |
| 853 | } |
| 854 | } |
| 855 | |
| 856 | /** |
| 857 | * print warning message for parsing node |
nothing calls this directly
no outgoing calls
no test coverage detected