Sets of standard filters to use in parsers. example of use:
More...
#include <standard_filter.h>
|
| static message_transform_func | filterByFolderName (const std::vector< std::string > &names) |
| | Filters folders by name. Keeps only folders with names that exist in the given list. More...
|
| |
| static message_transform_func | filterByAttachmentType (const std::vector< file_extension > &types) |
| | Filters attachments by type. Keeps only attachments with type that exist in the given list. More...
|
| |
| static message_transform_func | filterByMailMinCreationTime (unsigned int min_time) |
| | Filters mail by creation date. Keeps only mails that are created after the given date. More...
|
| |
| static message_transform_func | filterByMailMaxCreationTime (unsigned int max_time) |
| | Filters mail by creation date. Keeps only mails that are created before the given date. More...
|
| |
| static message_transform_func | filterByMaxNodeNumber (unsigned int max_nodes) |
| |
Sets of standard filters to use in parsers. example of use:
std::filesystem::path{"test.pst"} | content_type::by_file_extension::detector{} | pst_parser{} |
plain_text_exporter{};
static message_transform_func filterByFolderName(const std::vector< std::string > &names)
Filters folders by name. Keeps only folders with names that exist in the given list.
static message_transform_func filterByAttachmentType(const std::vector< file_extension > &types)
Filters attachments by type. Keeps only attachments with type that exist in the given list.
Definition at line 31 of file standard_filter.h.
◆ filterByAttachmentType()
| static message_transform_func docwire::standard_filter::filterByAttachmentType |
( |
const std::vector< file_extension > & |
types | ) |
|
|
static |
Filters attachments by type. Keeps only attachments with type that exist in the given list.
- Parameters
-
| types | list of types to keep |
◆ filterByFolderName()
| static message_transform_func docwire::standard_filter::filterByFolderName |
( |
const std::vector< std::string > & |
names | ) |
|
|
static |
Filters folders by name. Keeps only folders with names that exist in the given list.
- Parameters
-
| names | list of names to keep |
◆ filterByMailMaxCreationTime()
| static message_transform_func docwire::standard_filter::filterByMailMaxCreationTime |
( |
unsigned int |
max_time | ) |
|
|
static |
Filters mail by creation date. Keeps only mails that are created before the given date.
- Parameters
-
| max_time | maximum time to keep |
◆ filterByMailMinCreationTime()
| static message_transform_func docwire::standard_filter::filterByMailMinCreationTime |
( |
unsigned int |
min_time | ) |
|
|
static |
Filters mail by creation date. Keeps only mails that are created after the given date.
- Parameters
-
| min_time | minimum time to keep |
◆ filterByMaxNodeNumber()
| static message_transform_func docwire::standard_filter::filterByMaxNodeNumber |
( |
unsigned int |
max_nodes | ) |
|
|
static |
The documentation for this class was generated from the following file: