mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
added Poco::Util::MapConfiguration::copyTo()
This commit is contained in:
@@ -32,6 +32,15 @@ MapConfiguration::~MapConfiguration()
|
||||
}
|
||||
|
||||
|
||||
void MapConfiguration::copyTo(AbstractConfiguration& config)
|
||||
{
|
||||
for (iterator it = _map.begin(); it != _map.end(); ++it)
|
||||
{
|
||||
config.setString(it->first, it->second);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void MapConfiguration::clear()
|
||||
{
|
||||
_map.clear();
|
||||
|
||||
Reference in New Issue
Block a user