Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
log4cpp::PatternLayout Class Reference

Noop class that mimics the same class in the log4cpp library. More...

#include <PatternLayout.hh>

Inheritance diagram for log4cpp::PatternLayout:
Inheritance graph
Collaboration diagram for log4cpp::PatternLayout:
Collaboration graph

Public Member Functions

 PatternLayout ()
 Single constructor. More...
 
virtual ~PatternLayout ()
 
virtual std::string format (const LoggingEvent &event)
 Noop method for formatting an event. More...
 
void setConversionPattern (const std::string &conversionPattern)
 Noop method for setting the conversion pattern. More...
 
- Public Member Functions inherited from log4cpp::Layout
 Layout ()
 Single constructor. More...
 
virtual ~Layout ()
 

Detailed Description

Noop class that mimics the same class in the log4cpp library.

Definition at line 13 of file PatternLayout.hh.

Constructor & Destructor Documentation

PatternLayout::PatternLayout ( )

Single constructor.

Definition at line 7 of file PatternLayout.cpp.

7  :
8  Layout()
9 {
10 }
Layout()
Single constructor.
Definition: Layout.cpp:5
PatternLayout::~PatternLayout ( )
virtual

Definition at line 12 of file PatternLayout.cpp.

13 {
14 }

Member Function Documentation

string PatternLayout::format ( const LoggingEvent event)
virtual

Noop method for formatting an event.

Implements log4cpp::Layout.

Definition at line 16 of file PatternLayout.cpp.

17 {
18  string empty;
19  return empty;
20 }
void PatternLayout::setConversionPattern ( const std::string &  conversionPattern)

Noop method for setting the conversion pattern.

This used to throw ConfigureFailure but newer compilers do not like explicit throws

Definition at line 22 of file PatternLayout.cpp.

23 {
24  if (conversionPattern == "") {
25  throw ConfigureFailure("Empty reason");
26  }
27 
28  m_conversionPattern = conversionPattern;
29 }
Noop class that mimics the same class in the log4cpp library.
Definition: Configurator.hh:10

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