18 #if !defined(_LOG4CXX_ROLLING_ROLLING_POLICY_BASE_H) 19 #define _LOG4CXX_ROLLING_ROLLING_POLICY_BASE_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 39 LOG4CXX_LIST_DEF(PatternConverterList, log4cxx::pattern::PatternConverterPtr);
65 PatternConverterList patternConverters;
70 FormattingInfoList patternFields;
77 bool createIntermediateDirectories;
86 virtual void setOption(
const LogString& option,
93 void setFileNamePattern(
const LogString& fnp);
101 bool getCreateIntermediateDirectories()
const;
102 void setCreateIntermediateDirectories(
bool createIntermediate);
105 #ifdef LOG4CXX_MULTI_PROCESS 106 PatternConverterList getPatternConverterList()
108 return patternConverters;
115 void parseFileNamePattern();
127 log4cxx::pattern::PatternConverterPtr getIntegerPatternConverter()
const;
128 log4cxx::pattern::PatternConverterPtr getDatePatternConverter()
const;
136 #if defined(_MSC_VER) 137 #pragma warning ( pop ) std::shared_ptr< FormattingInfo > FormattingInfoPtr
Definition: formattinginfo.h:31
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:26
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:153
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:147
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:141
base class for java-like objects.
Definition: object.h:101
A RollingPolicy is responsible for performing the rolling over of the active log file.
Definition: rollingpolicy.h:42
std::shared_ptr< Object > ObjectPtr
Definition: propertysetter.h:28
A string based interface to configure package components.
Definition: optionhandler.h:34
std::map< LogString, PatternConstructor > PatternMap
Definition: patternparser.h:41
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
Implements methods common to most, it not all, rolling policies.
Definition: rollingpolicybase.h:49
LOG4CXX_LIST_DEF(PatternConverterList, log4cxx::pattern::PatternConverterPtr)