| 164 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 165 | |
| 166 | string FGModelFunctions::GetFunctionValues(const string& delimeter) const |
| 167 | { |
| 168 | ostringstream buf; |
| 169 | |
| 170 | for (auto& prefunc: PreFunctions) { |
| 171 | if (buf.tellp() > 0) buf << delimeter; |
| 172 | buf << prefunc->GetValue(); |
| 173 | } |
| 174 | |
| 175 | for (auto& postfunc: PostFunctions) { |
| 176 | if (buf.tellp() > 0) buf << delimeter; |
| 177 | buf << postfunc->GetValue(); |
| 178 | } |
| 179 | |
| 180 | return buf.str(); |
| 181 | } |
| 182 | |
| 183 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 184 | |