Poco::OSP

class Configuration

File Information

Library: OSP
Package: PreferencesService
Header: Poco/OSP/Configuration.h

Description

A simple wrapper class for Poco::Util::AbstractConfiguration, used by the PreferencesService.

Inheritance

Direct Base Classes: Poco::Util::AbstractConfiguration

All Base Classes: Poco::RefCountedObject, Poco::Util::AbstractConfiguration

Member Summary

Member Functions: enumerate, getRaw, removeRaw, setRaw

Inherited Functions: createView, duplicate, enableEvents, enumerate, eventsEnabled, expand, getBool, getDouble, getInt, getInt16, getInt32, getInt64, getRaw, getRawString, getString, getUInt, getUInt16, getUInt32, getUInt64, has, hasOption, hasProperty, keys, parseBool, parseInt, parseInt16, parseInt64, parseUInt, parseUInt16, parseUInt64, referenceCount, release, remove, removeRaw, setBool, setDouble, setInt, setInt16, setInt32, setInt64, setRaw, setRawWithEvent, setString, setUInt, setUInt16, setUInt32, setUInt64

Types Aliases

ConstPtr

using ConstPtr = const Ptr;

Ptr

using Ptr = Poco::AutoPtr < Configuration >;

Constructors

Configuration

Configuration(
    Poco::Util::AbstractConfiguration * pConfig
);

Creates the Configuration.

Destructor

~Configuration protected virtual

~Configuration();

Member Functions

enumerate protected virtual

void enumerate(
    const std::string & key,
    Keys & range
) const;

getRaw protected virtual

bool getRaw(
    const std::string & key,
    std::string & value
) const;

removeRaw protected virtual

void removeRaw(
    const std::string & key
);

setRaw protected virtual

void setRaw(
    const std::string & key,
    const std::string & value
);

Securely control IoT edge devices from anywhere   Connect a Device