Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# log4cplus::spi::AppenderAttachable Class Reference

This Interface is for attaching Appenders to objects. More...

`#include <appenderattachable.h>`

Inheritance diagram for log4cplus::spi::AppenderAttachable:

[legend]
List of all members.

## Public Member Functions
virtual void | addAppender (SharedAppenderPtr newAppender)=0
| Add an appender.
virtual SharedAppenderPtrList | getAllAppenders ()=0
| Get all previously added appenders as an Enumeration.
virtual SharedAppenderPtr | getAppender (const log4cplus::tstring &name)=0
| Get an appender by name.
virtual void | removeAllAppenders ()=0
| Remove all previously added appenders.
virtual void | removeAppender (SharedAppenderPtr appender)=0
| Remove the appender passed as parameter from the list of appenders.
virtual void | removeAppender (const log4cplus::tstring &name)=0
| Remove the appender with the name passed as parameter from the list of appenders.
virtual | ~AppenderAttachable ()

## Detailed Description

This Interface is for attaching Appenders to objects.

Definition at line 35 of file appenderattachable.h.

## Constructor & Destructor Documentation

virtual log4cplus::spi::AppenderAttachable::~AppenderAttachable | ( |  | ) | `[inline, virtual]`

| Definition at line 70 of file appenderattachable.h.

## Member Function Documentation

virtual void log4cplus::spi::AppenderAttachable::addAppender | ( | SharedAppenderPtr | newAppender | ) | `[pure virtual]`

| Add an appender. Implemented in log4cplus::helpers::AppenderAttachableImpl, and log4cplus::Logger.

virtual SharedAppenderPtrList log4cplus::spi::AppenderAttachable::getAllAppenders | ( |  | ) | `[pure virtual]`

| Get all previously added appenders as an Enumeration. Implemented in log4cplus::helpers::AppenderAttachableImpl, and log4cplus::Logger.

virtual SharedAppenderPtr log4cplus::spi::AppenderAttachable::getAppender | ( | const log4cplus::tstring & | name | ) | `[pure virtual]`

| Get an appender by name. Implemented in log4cplus::helpers::AppenderAttachableImpl, and log4cplus::Logger.

virtual void log4cplus::spi::AppenderAttachable::removeAllAppenders | ( |  | ) | `[pure virtual]`

| Remove all previously added appenders. Implemented in log4cplus::helpers::AppenderAttachableImpl, and log4cplus::Logger.

virtual void log4cplus::spi::AppenderAttachable::removeAppender | ( | const log4cplus::tstring & | name | ) | `[pure virtual]`

| Remove the appender with the name passed as parameter from the list of appenders. Implemented in log4cplus::helpers::AppenderAttachableImpl, and log4cplus::Logger.

virtual void log4cplus::spi::AppenderAttachable::removeAppender | ( | SharedAppenderPtr | appender | ) | `[pure virtual]`

| Remove the appender passed as parameter from the list of appenders. Implemented in log4cplus::helpers::AppenderAttachableImpl, and log4cplus::Logger.

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

- appenderattachable.h