| 311 | ////////////////////////////////////////////////////////////////////// |
| 312 | |
| 313 | string System::get_version( |
| 314 | int& major, |
| 315 | int& minor, |
| 316 | int& patch) const |
| 317 | { |
| 318 | major = DDS_VERSION / 10000; |
| 319 | minor = (DDS_VERSION - major * 10000) / 100; |
| 320 | patch = DDS_VERSION % 100; |
| 321 | |
| 322 | string st = to_string(major) + "." + to_string(minor) + |
| 323 | "." + to_string(patch); |
| 324 | return st; |
| 325 | } |
| 326 | |
| 327 | |
| 328 | string System::get_system(int& sys) const |