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::parsing_chain Class Reference
Inheritance diagram for docwire::parsing_chain:
docwire::chain_element docwire::with_pimpl< parsing_chain > docwire::with_pimpl< chain_element > docwire::with_pimpl_base docwire::with_pimpl_base docwire::mail_parser docwire::office_formats_parser< safety_level >

Public Member Functions

 parsing_chain (ref_or_owned< chain_element > lhs, ref_or_owned< chain_element > rhs)
 
 parsing_chain (parsing_chain &&chain)
 
parsing_chainoperator= (parsing_chain &&chain)
 
void operator() (message_ptr msg)
 
bool is_leaf () const override
 Check if chain element is a leaf (last element which doesn't produce any messages). At this moment only exporters are leafs. More...
 
bool is_generator () const override
 
bool is_complete () const
 
- Public Member Functions inherited from docwire::chain_element
 chain_element (chain_element &&)=default
 
chain_elementoperator= (chain_element &&)=default
 

Protected Member Functions

virtual continuation operator() (message_ptr msg, const message_callbacks &emit_message) override
 
- Protected Member Functions inherited from docwire::with_pimpl< chain_element >
impl_typecreate_impl (Args &&... args)
 
 with_pimpl (Args &&... args)
 
 with_pimpl (with_pimpl< chain_element > &&other) noexcept
 
 with_pimpl (std::nullptr_t)
 
with_pimploperator= (with_pimpl &&other) noexcept
 
impl_typeimpl ()
 
const impl_typeimpl () const
 
- Protected Member Functions inherited from docwire::with_pimpl< parsing_chain >
impl_typecreate_impl (Args &&... args)
 
 with_pimpl (Args &&... args)
 
 with_pimpl (with_pimpl< parsing_chain > &&other) noexcept
 
 with_pimpl (std::nullptr_t)
 
with_pimploperator= (with_pimpl &&other) noexcept
 
impl_typeimpl ()
 
const impl_typeimpl () const
 

Additional Inherited Members

- Protected Types inherited from docwire::with_pimpl< chain_element >
using impl_type = pimpl_impl< chain_element >
 
- Protected Types inherited from docwire::with_pimpl< parsing_chain >
using impl_type = pimpl_impl< parsing_chain >
 

Detailed Description

Definition at line 28 of file parsing_chain.h.

Member Function Documentation

◆ is_leaf()

bool docwire::parsing_chain::is_leaf ( ) const
overridevirtual

Check if chain element is a leaf (last element which doesn't produce any messages). At this moment only exporters are leafs.

Returns
true if leaf

Implements docwire::chain_element.


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