#include <LayoutAppender.hh>
Public Types | |
typedef BasicLayout | DefaultLayoutType |
Public Member Functions | |
LayoutAppender (const std::string &name) | |
virtual bool | requiresLayout () const |
virtual void | setLayout (Layout *layout=NULL) |
virtual | ~LayoutAppender () |
Protected Member Functions | |
Layout & | _getLayout () |
Private Member Functions | |
LayoutAppender & | operator= (const LayoutAppender &) |
Private Attributes | |
Layout * | _layout |
LayoutAppender is a common superclass for all Appenders that require a Layout.
Definition at line 24 of file LayoutAppender.hh.
Definition at line 27 of file LayoutAppender.hh.
LayoutAppender::LayoutAppender | ( | const std::string & | name | ) |
virtual LayoutAppender::~LayoutAppender | ( | ) | [virtual] |
Layout& LayoutAppender::_getLayout | ( | ) | [protected] |
Return the layout of the appender. This method is the Layout accessor for subclasses of LayoutAppender.
LayoutAppender& LayoutAppender::operator= | ( | const LayoutAppender & | ) | [private] |
virtual bool LayoutAppender::requiresLayout | ( | ) | const [virtual] |
Check if the appender requires a layout. All LayoutAppenders do, therefore this method returns true for all subclasses.
Implements AppenderSkeleton.
virtual void LayoutAppender::setLayout | ( | Layout * | layout = NULL | ) | [virtual] |
Layout* LayoutAppender::_layout [private] |
Definition at line 50 of file LayoutAppender.hh.