KItinerary

dosipasdocumentprocessor.h
1/*
2 SPDX-FileCopyrightText: 2025 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: LGPL-2.0-or-later
4*/
5
6#ifndef KITINERARY_DOSIPASDOCUMENTPROCESSOR_H
7#define KITINERARY_DOSIPASDOCUMENTPROCESSOR_H
8
9#include <KItinerary/ExtractorDocumentProcessor>
10
11namespace KItinerary {
12
13/** Document processor for ERA ELB ticket barcodes. */
15{
16public:
17 [[nodiscard]] bool canHandleData(const QByteArray &encodedData, QStringView fileName) const override;
18 [[nodiscard]] ExtractorDocumentNode createNodeFromData(const QByteArray &encodedData) const override;
19 void preExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const override;
20};
21
22}
23
24#endif
Document processor for ERA ELB ticket barcodes.
ExtractorDocumentNode createNodeFromData(const QByteArray &encodedData) const override
Create a document node from raw data.
void preExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const override
Called before extractors are applied to node.
bool canHandleData(const QByteArray &encodedData, QStringView fileName) const override
Fast check whether the given encoded data can possibly be processed by this instance.
A node in the extracted document object tree.
Abstract base class of a document type processor.
Semantic data extraction engine.
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Mar 28 2025 11:59:50 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.