DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
docwire::standard_filter Class Reference

Sets of standard filters to use in parsers. example of use: More...

#include <standard_filter.h>

Static Public Member Functions

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)
 

Detailed Description

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.

Member Function Documentation

◆ 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
typeslist 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
nameslist 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_timemaximum 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_timeminimum time to keep

◆ filterByMaxNodeNumber()

static message_transform_func docwire::standard_filter::filterByMaxNodeNumber ( unsigned int  max_nodes)
static
Parameters
max_nodes

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