MLBookProc
1.1
Loading...
Searching...
No Matches
ODTParser.h
1
/*
2
* Copyright (C) 2025 Yury Bobylev <bobilev_yury@mail.ru>
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation, version 3.
7
*
8
* This program is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License along with
14
* this program. If not, see <https://www.gnu.org/licenses/>.
15
*/
16
#ifndef ODTPARSER_H
17
#define ODTPARSER_H
18
19
#include <AuxFunc.h>
20
#include <BookBaseEntry.h>
21
#include <BookInfoEntry.h>
22
#include <DCParser.h>
23
#include <LibArchive.h>
24
#include <XMLParser.h>
25
33
class
ODTParser
:
public
XMLParser
,
public
LibArchive
34
{
35
public
:
40
ODTParser
(
const
std::shared_ptr<AuxFunc> &af);
41
45
virtual
~ODTParser
();
46
57
BookParseEntry
58
odtParser
(
const
std::filesystem::path &odt_path);
59
70
std::shared_ptr<BookInfoEntry>
71
odtBookInfo
(
const
std::filesystem::path &odt_path);
72
73
private
:
74
std::shared_ptr<AuxFunc> af;
75
76
DCParser
*dc;
77
};
78
79
#endif
// ODTPARSER_H
BookParseEntry
The BookParseEntry class.
Definition
BookParseEntry.h:30
DCParser
The DCParser class.
Definition
DCParser.h:31
LibArchive::LibArchive
LibArchive(const std::shared_ptr< AuxFunc > &af)
LibArchive constructor.
ODTParser::~ODTParser
virtual ~ODTParser()
ODTParser destructor.
ODTParser::odtBookInfo
std::shared_ptr< BookInfoEntry > odtBookInfo(const std::filesystem::path &odt_path)
Gets some extra info from odt files.
ODTParser::ODTParser
ODTParser(const std::shared_ptr< AuxFunc > &af)
ODTParser constructor.
ODTParser::odtParser
BookParseEntry odtParser(const std::filesystem::path &odt_path)
Parses odt files.
XMLParser::XMLParser
XMLParser(const std::shared_ptr< AuxFunc > &af)
XMLParser constructor.
ODTParser.h
Generated by
1.13.2