Search for usage in LXR

KItinerary::GenericBoardingPassExtractor Class Reference

#include <genericboardingpassextractor.h>

Inheritance diagram for KItinerary::GenericBoardingPassExtractor:

Public Member Functions

bool canHandle (const KItinerary::ExtractorDocumentNode &node) const override
ExtractorResult extract (const ExtractorDocumentNode &node, const ExtractorEngine *engine) const override
QString name () const override

Detailed Description

Generic PDF boarding pass extractor.

Definition at line 16 of file genericboardingpassextractor.h.

Constructor & Destructor Documentation

◆ GenericBoardingPassExtractor()

GenericBoardingPassExtractor::GenericBoardingPassExtractor ( )

Definition at line 42 of file genericboardingpassextractor.cpp.

Member Function Documentation

◆ canHandle()

bool GenericBoardingPassExtractor::canHandle ( const KItinerary::ExtractorDocumentNode & node) const

Fast check whether this extractor is applicable for node.

Implements KItinerary::AbstractExtractor.

Definition at line 55 of file genericboardingpassextractor.cpp.

◆ extract()

ExtractorResult GenericBoardingPassExtractor::extract ( const ExtractorDocumentNode & node,
const ExtractorEngine * engine ) const

Extract data from node.

Implements KItinerary::AbstractExtractor.

Definition at line 154 of file genericboardingpassextractor.cpp.

◆ name()

QString GenericBoardingPassExtractor::name ( ) const

Identifier for this extractor.

Mainly used for diagnostics and tooling.

Implements KItinerary::AbstractExtractor.

Definition at line 50 of file genericboardingpassextractor.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:54:40 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.