log4cpp::LayoutAppender Class Reference

#include <LayoutAppender.hh>

Inheritance diagram for log4cpp::LayoutAppender:
Inheritance graph
[legend]

List of all members.

Public Types

typedef BasicLayout DefaultLayoutType
typedef BasicLayout DefaultLayoutType

Public Member Functions

 LayoutAppender (const std::string &name)
 LayoutAppender (const std::string &name)
virtual bool requiresLayout () const
virtual bool requiresLayout () const
virtual void setLayout (Layout *layout=NULL)
virtual void setLayout (Layout *layout=NULL)
virtual ~LayoutAppender ()
virtual ~LayoutAppender ()

Protected Member Functions

Layout_getLayout ()
Layout_getLayout ()

Private Attributes

Layout_layout

Detailed Description

LayoutAppender is a common superclass for all Appenders that require a Layout.

Definition at line 24 of file include/log4cpp/LayoutAppender.hh.


Member Typedef Documentation

Definition at line 27 of file install/include/log4cpp/LayoutAppender.hh.

Definition at line 27 of file include/log4cpp/LayoutAppender.hh.


Constructor & Destructor Documentation

log4cpp::LayoutAppender::LayoutAppender ( const std::string &  name  ) 

Definition at line 15 of file LayoutAppender.cpp.

log4cpp::LayoutAppender::~LayoutAppender (  )  [virtual]

Definition at line 20 of file LayoutAppender.cpp.

log4cpp::LayoutAppender::LayoutAppender ( const std::string &  name  ) 
virtual log4cpp::LayoutAppender::~LayoutAppender (  )  [virtual]

Member Function Documentation

Layout& log4cpp::LayoutAppender::_getLayout (  )  [protected]

Return the layout of the appender. This method is the Layout accessor for subclasses of LayoutAppender.

Returns:
the Layout.
Layout & log4cpp::LayoutAppender::_getLayout (  )  [protected]

Return the layout of the appender. This method is the Layout accessor for subclasses of LayoutAppender.

Returns:
the Layout.

Definition at line 36 of file LayoutAppender.cpp.

virtual bool log4cpp::LayoutAppender::requiresLayout (  )  const [virtual]

Check if the appender requires a layout. All LayoutAppenders do, therefore this method returns true for all subclasses.

Returns:
true.

Implements log4cpp::AppenderSkeleton.

bool log4cpp::LayoutAppender::requiresLayout (  )  const [virtual]

Check if the appender requires a layout. All LayoutAppenders do, therefore this method returns true for all subclasses.

Returns:
true.

Implements log4cpp::AppenderSkeleton.

Definition at line 24 of file LayoutAppender.cpp.

virtual void log4cpp::LayoutAppender::setLayout ( Layout layout = NULL  )  [virtual]

Set the Layout for this appender.

Parameters:
layout The layout to use.

Implements log4cpp::AppenderSkeleton.

void log4cpp::LayoutAppender::setLayout ( Layout layout = NULL  )  [virtual]

Set the Layout for this appender.

Parameters:
layout The layout to use.

Implements log4cpp::AppenderSkeleton.

Definition at line 28 of file LayoutAppender.cpp.


Member Data Documentation

Definition at line 50 of file include/log4cpp/LayoutAppender.hh.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


log4cpp
Author(s): Stephen Roderick
autogenerated on Fri Jan 11 09:51:55 2013