Logo Search packages:      
Sourcecode: poco version File versions

Public Member Functions

Poco::Configurable Class Reference

#include <Configurable.h>

Inheritance diagram for Poco::Configurable:
Inheritance graph

List of all members.

Public Member Functions

virtual std::string getProperty (const std::string &name) const =0
virtual void setProperty (const std::string &name, const std::string &value)=0
 Destroys the Configurable.
virtual ~Configurable ()
 Creates the Configurable.

Detailed Description

A simple interface that defines getProperty() and setProperty() methods.

This interface is implemented by Formatter and Channel and is used to configure arbitrary channels and formatters.

A property is basically a name-value pair. For simplicity, both names and values are strings. Every property controls a certain aspect of a Formatter or Channel. For example, the PatternFormatter's formatting pattern is set via a property.

NOTE: The following property names are use internally by the logging framework and must not be used by channels or formatters:

Definition at line 49 of file Configurable.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index