sword::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 sword::EncodingFilterMgr:

Inheritance graph
[legend]
Collaboration diagram for sword::EncodingFilterMgr:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EncodingFilterMgr (char encoding=ENC_UTF8)
 Constructor of SWEncodingMgr.
 ~EncodingFilterMgr ()
 The destructor of SWEncodingMgr.
char Encoding (char enc)
 Markup sets/gets the encoding after initialization.
virtual void AddRawFilters (SWModule *module, ConfigEntMap &section)
 Adds the raw filters which are defined in "section" to the SWModule object "module".
virtual void AddEncodingFilters (SWModule *module, ConfigEntMap &section)
 Adds the encoding filters which are defined in "section" to the SWModule object "module".

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 36 of file encfiltmgr.h.


Constructor & Destructor Documentation

sword::EncodingFilterMgr::EncodingFilterMgr ( char  encoding = ENC_UTF8  ) 

Constructor of SWEncodingMgr.

Parameters:
encoding The desired encoding.


Member Function Documentation

char sword::EncodingFilterMgr::Encoding ( char  enc  ) 

Markup sets/gets the encoding after initialization.

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

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

Reimplemented from sword::SWFilterMgr.

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

Reimplemented from sword::SWFilterMgr.


The documentation for this class was generated from the following file: