Converts a list of unsigned integers to a string containing them. This is the opposite of StringToUInts. @param p_vUInt32s List of unsigned integers to convert. @param p_Separator Character used to separate the integers in the string. @return String with merged unsigned integers.
| 571 | // @return String with merged unsigned integers. |
| 572 | // |
| 573 | std::wstring PluginUtils::UInt32sToString(const UInt32V& p_vUInt32s, |
| 574 | const wchar_t p_Separator) |
| 575 | { |
| 576 | // Insert the first integer without separator. |
| 577 | std::wostringstream wos; |
| 578 | if (!p_vUInt32s.empty()) { |
| 579 | wos << p_vUInt32s.front(); |
| 580 | |
| 581 | // Insert the other elements with separators. |
| 582 | for (auto it = p_vUInt32s.cbegin() + 1; it != p_vUInt32s.cend(); ++it) { |
| 583 | wos << p_Separator << *it; |
| 584 | } |
| 585 | } |
| 586 | |
| 587 | // Return resulting string. |
| 588 | return wos.str(); |
| 589 | } |
| 590 | |
| 591 | // |
| 592 | // Checks in the Path Copy Copy settings if a specific plugin |