# Poco::Util

# class AbstractConfigurationView

Library: Util
Package: Configuration
Header: Poco/Util/ConfigurationView.h

## Description

This configuration implements a "view" into a sub-hierarchy of another configuration.

AbstractConfigurationView functions as a base class for ConfigurationView and LocalConfigurationView, providing common features.

## Inheritance

Direct Base Classes: AbstractConfiguration

All Base Classes: Poco::RefCountedObject, AbstractConfiguration

Known Derived Classes: ConfigurationView, LocalConfigurationView

## Member Summary

Member Functions: enumerate, pConfig, prefix, removeRaw, setRaw, translateKey

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

## Constructors

### AbstractConfigurationView

AbstractConfigurationView(
const std::string & prefix,
AbstractConfiguration::Ptr pConfig
);

## Destructor

### ~AbstractConfigurationView

~AbstractConfigurationView();

## Member Functions

### prefix

const std::string & prefix() const;

### enumerate

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

See also: Poco::Util::AbstractConfiguration::enumerate()

### pConfig

const AbstractConfiguration::Ptr & pConfig() const;

### removeRaw

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

See also: Poco::Util::AbstractConfiguration::removeRaw()

### setRaw

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

See also: Poco::Util::AbstractConfiguration::setRaw()

### translateKey

std::string translateKey(
const std::string & key
) const;