Public Member Functions | |
| int | chain (FiltersChain *, list< string > &l, Stream *out, u_long *nbw, int onlyNotModifiers=0) |
| FiltersChain * | chain (list< string > &l, Stream *out, u_long *nbw, int onlyNotModifiers=0) |
| FiltersFactory () | |
| void | free () |
| Filter * | getFilter (const char *) |
| int | insert (const char *, FiltersSource *ptr) |
| int | insert (const char *, FILTERCREATE ptr) |
| ~FiltersFactory () | |
Protected Attributes | |
| HashMap< string, FiltersSource * > | dynamicFilters |
| HashMap< string, FILTERCREATE > | staticFilters |
|
|
Initialize the object. |
|
|
Destroy the object. |
|
||||||||||||||||||||||||
|
Add new filters to an existent chain. If specified [onlyNotModifiers] the method wil check that all the filters will not modify the data. On errors returns nonzero. |
|
||||||||||||||||||||
|
Create a FiltersChain starting from a list of strings. On success returns the new object. If specified [onlyNotModifiers] the method wil check that all the filters will not modify the data. On errors returns 0. |
|
|
Free the object. |
|
|
Get a new filter by its name. The object have to be freed after its use to avoid memory leaks. Returns the new created object on success. Returns 0 on errors. |
|
||||||||||||
|
Insert a filter by name and factory object. Returns 0 if the entry was added correctly. |
|
||||||||||||
|
Insert a filter by name and factory routine. Returns 0 if the entry was added correctly. |
|
|
|
|
|
|
1.3.9.1