![]() | InDesign SDK 20.5 |
#include <TextCharFilter.h>

Public Types | |
| typedef std::set< UTF32TextChar > | CharSet |
Public Member Functions | |
| TextCharFilter (textchar const *pFilteredChars, size_t count) | |
| bool | Add (textchar ch) |
| bool | Remove (textchar ch) |
| CharSet const & | GetFilter (void) const |
| bool | operator() (UTF32TextChar const &ch) const |
Unary predicate that filters out the specified characters. See bottom of the file for usage examples.
| inline |
Initializes the filter.
| pFilteredChars | [in]- characters to be filtered out. |
| count | [in]- number of characters in pFilteredChars. |
| inline |
Adds a new character to the filter.
| ch | [in]- new character to be filtered out. |
| inline |
Accessor for the filter. Can be used to iterate the content of the filter.
| inline |
Filters the specified character. If the character is in the filtered set, the predicate returns true.
| ch | [in]- character to be filtered. |
| inline |
Removes a character from the filter.
| ch | [in]- character to be removed from the filter. |