MLBookProc
2.1
Toggle main menu visibility
Loading...
Searching...
No Matches
DOCParser.h
1
/*
2
* Copyright (C) 2026 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 DOCPARSER_H
17
#define DOCPARSER_H
18
19
#include <BaseID.h>
20
#include <MLBookProc.h>
21
#include <UDBase.h>
22
29
class
DOCParser
30
{
31
public
:
37
DOCParser
(
const
std::shared_ptr<MLBookProc> &mlbp);
38
45
UDBElement
46
parseBook
(
const
std::filesystem::path &file_path);
47
54
UDBase
55
getBookInfo
(
const
std::filesystem::path &file_path);
56
57
private
:
58
std::shared_ptr<MLBookProc> mlbp;
59
60
BaseID
bid;
61
};
62
63
#endif
// DOCPARSER_H
BaseID
The BaseID class.
Definition
BaseID.h:28
DOCParser::parseBook
UDBElement parseBook(const std::filesystem::path &file_path)
DOCParser::DOCParser
DOCParser(const std::shared_ptr< MLBookProc > &mlbp)
DOCParser constructor.
DOCParser::getBookInfo
UDBase getBookInfo(const std::filesystem::path &file_path)
DOCParser.h
Generated by
1.17.0