18#if !defined(_LOG4CXX_ROLLING_ROLLING_POLICY_BASE_H)
19#define _LOG4CXX_ROLLING_ROLLING_POLICY_BASE_H
base class for java-like objects.
Definition: object.h:106
Implements methods common to most, it not all, rolling policies.
Definition: rollingpolicybase.h:46
log4cxx::pattern::PatternConverterPtr getIntegerPatternConverter() const
void formatFileName(const helpers::ObjectPtr &obj, LogString &buf, helpers::Pool &p) const
Format file name.
void parseFileNamePattern()
Parse file name pattern.
LogString getFileNamePattern() const
Get file name pattern.
RollingPolicyBase(LOG4CXX_PRIVATE_PTR(RollingPolicyBasePrivate) priv)
PatternConverterList getPatternConverterList() const
log4cxx::pattern::PatternConverterPtr getDatePatternConverter() const
virtual pattern::PatternMap getFormatSpecifiers() const =0
A map from a name to the object implementing the (date or index) formatting.
void setCreateIntermediateDirectories(bool createIntermediate)
void setFileNamePattern(const LogString &fnp)
Set file name pattern.
void setOption(const LogString &option, const LogString &value) override
Set option to value.
void activateOptions(helpers::Pool &p) override
Activate the options that were previously set with calls to option setters.
bool getCreateIntermediateDirectories() const
virtual ~RollingPolicyBase()
A RollingPolicy is responsible for performing the rolling over of the active log file.
Definition: rollingpolicy.h:43
A string based interface to configure package components.
Definition: optionhandler.h:35
#define LOG4CXX_LIST_DEF(N, T)
Definition: log4cxx.h:67
#define LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(T, V)
Definition: log4cxx.h:85
#define LOG4CXX_EXPORT
Definition: log4cxx.h:101
#define LOG4CXX_PTR_DEF(T)
Definition: log4cxx.h:64
#define LOG4CXX_NS
Definition: log4cxx.h:104
#define LOG4CXX_PRIVATE_PTR(T)
Definition: log4cxx.h:68
std::shared_ptr< Object > ObjectPtr
Definition: optionconverter.h:41
std::map< LogString, PatternConstructor > PatternMap
Definition: patternparser.h:35
std::basic_string< logchar > LogString
Definition: logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146