Base class for other pattern converters which can return only parts of their name. More...
Inherits log4cxx::pattern::LoggingEventPatternConverter.
Inherited by ClassNamePatternConverter, and LoggerPatternConverter.
Public Member Functions | |
| const void * | cast (const helpers::Class &clazz) const |
| bool | instanceof (const helpers::Class &clazz) const |
Protected Member Functions | |
| NamePatternConverter (const LogString &name, const LogString &style, const std::vector< LogString > &options) | |
| Constructor. | |
| void | abbreviate (int nameStart, LogString &buf) const |
| Abbreviate name in string buffer. | |
Base class for other pattern converters which can return only parts of their name.
| NamePatternConverter | ( | const LogString & | name, | |
| const LogString & | style, | |||
| const std::vector< LogString > & | options | |||
| ) | [protected] |
Constructor.
| name | name of converter. | |
| style | style name for associated output. | |
| options | options, may be null, first element will be interpreted as an abbreviation pattern. |
| void abbreviate | ( | int | nameStart, | |
| LogString & | buf | |||
| ) | const [protected] |
Abbreviate name in string buffer.
| nameStart | starting position of name to abbreviate. | |
| buf | string buffer containing name. |
| const void* cast | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Reimplemented from LoggingEventPatternConverter.
Reimplemented in ClassNamePatternConverter, and LoggerPatternConverter.
| bool instanceof | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Reimplemented from LoggingEventPatternConverter.
Reimplemented in ClassNamePatternConverter, and LoggerPatternConverter.