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

SWEncodingMgr Class Reference

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

#include <swencodingmgr.h>

Inheritance diagram for SWEncodingMgr::

SWMgr SWMarkupMgr List of all members.

Public Methods

 SWEncodingMgr (SWConfig *iconfig=0, SWConfig *isysconfig=0, bool autoload=true, char encoding=ENC_UTF8)
 Constructor of SWEncodingMgr. More...

 ~SWEncodingMgr ()
 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

SWFilterlatin1utf8
SWFilterscsuutf8
SWFiltertargetenc
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 31 of file swencodingmgr.h.


Constructor & Destructor Documentation

SWEncodingMgr::SWEncodingMgr SWConfig * iconfig = 0,
SWConfig * isysconfig = 0,
bool autoload = true,
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 SWEncodingMgr::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

Reimplemented from SWMgr.

virtual void SWEncodingMgr::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

Reimplemented from SWMgr.

char SWEncodingMgr::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 Oct 30 16:04:52 2001 for The Sword Project by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001