12 #ifndef DOCWIRE_STANDARD_FILTER_H
13 #define DOCWIRE_STANDARD_FILTER_H
15 #include "core_export.h"
16 #include "file_extension.h"
17 #include "transformer_func.h"
Sets of standard filters to use in parsers. example of use:
static message_transform_func filterByMaxNodeNumber(unsigned int max_nodes)
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.
static message_transform_func filterByMailMinCreationTime(unsigned int min_time)
Filters mail by creation date. Keeps only mails that are created after the given date.
static message_transform_func filterByMailMaxCreationTime(unsigned int max_time)
Filters mail by creation date. Keeps only mails that are created before the given date.
The main namespace for the DocWire SDK.