void LLWLParamManager::getPresetNames(preset_name_list_t& region, preset_name_list_t& user, preset_name_list_t& sys) const { region.clear(); user.clear(); sys.clear(); for (std::map<LLWLParamKey, LLWLParamSet>::const_iterator it = mParamList.begin(); it != mParamList.end(); it++) { const LLWLParamKey& key = it->first; const std::string& name = key.name; if (key.scope == LLEnvKey::SCOPE_REGION) { region.push_back(name); } else { if (isSystemPreset(name)) { sys.push_back(name); } else { user.push_back(name); } } } }
void LLWaterParamManager::getPresetNames(preset_name_list_t& user_presets, preset_name_list_t& system_presets) const { user_presets.clear(); system_presets.clear(); for (preset_map_t::const_iterator it = mParamList.begin(); it != mParamList.end(); ++it) { if (isSystemPreset(it->first)) { system_presets.push_back(it->first); } else { user_presets.push_back(it->first); } } }
void LLWaterParamManager::getPresetNames(preset_name_list_t& presets) const { presets.clear(); for (preset_map_t::const_iterator it = mParamList.begin(); it != mParamList.end(); ++it) { presets.push_back(it->first); } }
void LLWLParamManager::getLocalPresetNames(preset_name_list_t& local) const { local.clear(); for (std::map<LLWLParamKey, LLWLParamSet>::const_iterator it = mParamList.begin(); it != mParamList.end(); it++) { const LLWLParamKey& key = it->first; const std::string& name = key.name; if (key.scope != LLEnvKey::SCOPE_REGION) { local.push_back(name); } } }