| 1111 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1112 | |
| 1113 | string FGFDMExec::QueryPropertyCatalog(const string& in, const string& end_of_line) |
| 1114 | { |
| 1115 | string results; |
| 1116 | for (auto &catalogElm: PropertyCatalog) { |
| 1117 | if (catalogElm.find(in) != string::npos) results += catalogElm + end_of_line; |
| 1118 | } |
| 1119 | if (results.empty()) return "No matches found"+end_of_line; |
| 1120 | return results; |
| 1121 | } |
| 1122 | |
| 1123 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1124 | |