Library: Util
Package: Configuration
Header: Poco/Util/MapConfiguration.h
An implementation of AbstractConfiguration that stores configuration data in a map.
Direct Base Classes: AbstractConfiguration
All Base Classes: Poco::RefCountedObject, AbstractConfiguration
Known Derived Classes: PropertyFileConfiguration
Member Functions: begin, clear, end, enumerate, getRaw, removeRaw, setRaw
Inherited Functions: createView, duplicate, enumerate, expand, getBool, getDouble, getInt, getRaw, getRawString, getString, has, hasOption, hasProperty, keys, parseBool, parseInt, referenceCount, release, remove, removeRaw, setBool, setDouble, setInt, setRaw, setRawWithEvent, setString
typedef std::map < std::string, std::string > StringMap;
typedef StringMap::const_iterator iterator;
Creates an empty MapConfiguration.
~MapConfiguration();
void clear();
Clears the configuration.
iterator begin() const;
iterator end() const;
void enumerate(
const std::string & key,
Keys & range
) const;
bool getRaw(
const std::string & key,
std::string & value
) const;
void removeRaw(
const std::string & key
);
void setRaw(
const std::string & key,
const std::string & value
);