Apache Log4cxx  Version 1.3.0
Loading...
Searching...
No Matches
log4cxx::pattern::PatternParser Class Reference

Most of the work of the PatternLayout class is delegated to the PatternParser class. More...

#include <patternparser.h>

Static Public Member Functions

static void parse (const LogString &pattern, std::vector< PatternConverterPtr > &patternConverters, std::vector< FormattingInfoPtr > &formattingInfos, const PatternMap &rules)
 Parse a format specifier.
 

Detailed Description

Most of the work of the PatternLayout class is delegated to the PatternParser class.

It is this class that parses conversion patterns and creates a chained list of PatternConverters.

Member Function Documentation

◆ parse()

static void log4cxx::pattern::PatternParser::parse ( const LogString pattern,
std::vector< PatternConverterPtr > &  patternConverters,
std::vector< FormattingInfoPtr > &  formattingInfos,
const PatternMap rules 
)
static

Parse a format specifier.

Parameters
patternpattern to parse.
patternConverterslist to receive pattern converters.
formattingInfoslist to receive field specifiers corresponding to pattern converters.
rulesmap of stock pattern converters keyed by format specifier.

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