Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

EncodingFilterMgr Class Reference

This class is like a normal SWMgr, but you can additonally specify which encoding you want to use. More...

#include <encfiltmgr.h>

Inheritance diagram for EncodingFilterMgr::

MarkupFilterMgr List of all members.

Public Methods

 EncodingFilterMgr (char encoding=ENC_UTF8)
 Constructor of SWEncodingMgr. More...

 ~EncodingFilterMgr ()
 The destructor of SWEncodingMgr.

char Encoding (char enc)
 Markup sets/gets the encoding after initialization. More...

virtual void AddRawFilters (SWModule *module, ConfigEntMap &section)
 Adds the raw filters which are defined in "section" to the SWModule object "module". More...

virtual void AddEncodingFilters (SWModule *module, ConfigEntMap &section)
 Adds the encoding filters which are defined in "section" to the SWModule object "module". More...


Protected Attributes

SWFilter * latin1utf8
SWFilter * scsuutf8
SWFilter * targetenc
char encoding

Detailed Description

This class is like a normal SWMgr, but you can additonally specify which encoding you want to use.

Definition at line 33 of file encfiltmgr.h.


Constructor & Destructor Documentation

EncodingFilterMgr::EncodingFilterMgr char encoding = ENC_UTF8
 

Constructor of SWEncodingMgr.

Parameters:
iconfig  
isysconfig  
autoload   If this bool is true the constructor starts loading the installed modules. If you reimplemented SWMgr you can set autoload=false to load the modules with your own reimplemented function.
encoding   The desired encoding.


Member Function Documentation

virtual void EncodingFilterMgr::AddEncodingFilters SWModule * module,
ConfigEntMap & section
[virtual]
 

Adds the encoding filters which are defined in "section" to the SWModule object "module".

Parameters:
module   To this module the encoding filter(s) are added
section   We use this section to get a list of filters we should apply to the module

virtual void EncodingFilterMgr::AddRawFilters SWModule * module,
ConfigEntMap & section
[virtual]
 

Adds the raw filters which are defined in "section" to the SWModule object "module".

Parameters:
module   To this module the raw filter(s) are added
section   We use this section to get a list of filters we should apply to the module

char EncodingFilterMgr::Encoding char enc
 

Markup sets/gets the encoding after initialization.

Parameters:
m   The new encoding or ENC_UNKNOWN if you just want to get the current markup.
Returns:
The current (possibly changed) encoding format.


The documentation for this class was generated from the following file:
Generated at Tue Jan 22 14:52:49 2002 for The Sword Project by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001