#include <formatter.h>
Inherited by srchilite::TextStyleFormatter.
Public Member Functions | |
virtual void | format (const std::string &s, const FormatterParams *params=0)=0 |
Formats the passed string. |
Derived classes must implement the abstract method notify. Note that only the string to format is passed (and some additional information in a FormatterParams object); everything else (e.g., what kind of elements this formatter handles) must be part of the Formatter itself (i.e., of the subclass).
virtual void srchilite::Formatter::format | ( | const std::string & | s, | |
const FormatterParams * | params = 0 | |||
) | [pure virtual] |
Formats the passed string.
the | string to format | |
params | possible additional parameters for the formatter |
Implemented in srchilite::TextStyleFormatter.