Apache log4cxx  Version 0.10.0
NamePatternConverter Class Reference

Base class for other pattern converters which can return only parts of their name. More...

Inheritance diagram for NamePatternConverter:
LoggingEventPatternConverter PatternConverter ObjectImpl Object ClassNamePatternConverter LoggerPatternConverter

List of all members.

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.

Detailed Description

Base class for other pattern converters which can return only parts of their name.


Constructor & Destructor Documentation

NamePatternConverter ( const LogString name,
const LogString style,
const std::vector< LogString > &  options 
) [protected]

Constructor.

Parameters:
namename of converter.
stylestyle name for associated output.
optionsoptions, may be null, first element will be interpreted as an abbreviation pattern.

Member Function Documentation

void abbreviate ( int  nameStart,
LogString buf 
) const [protected]

Abbreviate name in string buffer.

Parameters:
nameStartstarting position of name to abbreviate.
bufstring buffer containing name.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines