18#ifndef _LOG4CXX_FILTER_EXPRESSIONFILTER_H
19#define _LOG4CXX_FILTER_EXPRESSIONFILTER_H
28typedef helpers::ObjectPtrT < Rule >
RulePtr;
78class LOG4CXX_EXPORT ExpressionFilter:
public LOG4CXX_NS::spi::Filter
82 bool convertInFixToPostFix;
83 LOG4CXX_DECLARE_PRIVATE_MEMBER(
LogString, expression)
85 ExpressionFilter(
const ExpressionFilter&);
86 ExpressionFilter& operator=(
const ExpressionFilter&);
void setConvertInFixToPostFix(bool convertInFixToPostFix)
bool getConvertInFixToPostFix() const
bool getAcceptOnMatch() const
void setExpression(const LogString &expression)
void activateOptions(helpers::Pool &p) override
Activate the options that were previously set with calls to option setters.
void setAcceptOnMatch(bool acceptOnMatch)
FilterDecision decide(const spi::LoggingEventPtr &event) const override
Returns log4cxx::spi::Filter#NEUTRAL is there is no string match.
LogString getExpression() const
FilterDecision
Definition filter.h:87
Definition andfilter.h:27
Definition propertysetter.h:27
Definition expressionfilter.h:26
helpers::ObjectPtrT< Rule > RulePtr
Definition expressionfilter.h:28
std::basic_string< logchar > LogString
Definition logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition object.h:43
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:146