| 141 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 142 | |
| 143 | string FGModelFunctions::GetFunctionStrings(const string& delimeter) const |
| 144 | { |
| 145 | string FunctionStrings; |
| 146 | |
| 147 | for (auto& prefunc: PreFunctions) { |
| 148 | if (!FunctionStrings.empty()) |
| 149 | FunctionStrings += delimeter; |
| 150 | |
| 151 | FunctionStrings += prefunc->GetName(); |
| 152 | } |
| 153 | |
| 154 | for (auto& postfunc: PostFunctions) { |
| 155 | if (!FunctionStrings.empty()) |
| 156 | FunctionStrings += delimeter; |
| 157 | |
| 158 | FunctionStrings += postfunc->GetName(); |
| 159 | } |
| 160 | |
| 161 | return FunctionStrings; |
| 162 | } |
| 163 | |
| 164 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 165 | |