Library: Util
Package: Configuration
Header: Poco/Util/SystemConfiguration.h
This class implements a Configuration interface to various system properties and environment variables.
The following properties are supported:
An attempt to set a system variable will result in an InvalidAccessException being thrown.
Enumerating environment variables is not supported. An attempt to call keys("system.env") will return an empty range.
Direct Base Classes: AbstractConfiguration
All Base Classes: Poco::RefCountedObject, AbstractConfiguration
Member Functions: enumerate, getRaw, setRaw
Inherited Functions: createView, duplicate, enumerate, expand, getBool, getDouble, getInt, getRaw, getRawString, getString, hasOption, hasProperty, keys, parseBool, parseInt, referenceCount, release, setBool, setDouble, setInt, setRaw, setString
Creates the SystemConfiguration.
void enumerate(
const std::string & key,
Keys & range
) const;
bool getRaw(
const std::string & key,
std::string & value
) const;
void setRaw(
const std::string & key,
const std::string & value
);