srchilite::Formatter Class Referenceabstract
The base abstract class for formatting strings.
More...
#include <formatter.h>
Inheritance diagram for srchilite::Formatter:
Public Member Functions
Detailed Description
The base abstract class for formatting strings.
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).
Member Function Documentation
virtual void srchilite::Formatter::format
(
const std::string &
s,
)
pure virtual
Formats the passed string.
- Parameters
-
the string to format
params possible additional parameters for the formatter
Implemented in srchilite::TextStyleFormatter.
The documentation for this class was generated from the following files:
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/formatter.h
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/formatter.cpp