argument_set_t ArgumentSet()

in installvoices/InstallVoices.cpp [241:256]


argument_set_t ArgumentSet(const std::wstring& str)
{
	argument_set_t argSet;
	std::wstringstream wss(str);

	if (str.empty()) return argSet;

	while (wss.good())
	{
		std::wstring subStr;
		getline(wss, subStr, L',');
		VoiceId voice = VoiceIdMapper::GetVoiceIdForName(WStringToAwsString(subStr));
		argSet.insert(voice);
	}
	return argSet;
}