MLPlugin
1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
Bases.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 BASES_H
17
#define BASES_H
18
19
#include <BaseKeeper.h>
20
#include <BookmarksKeeper.h>
21
#include <GenreBase.h>
22
#include <MLBookProc.h>
23
#include <NotesKeeper.h>
24
31
class
Bases
32
{
33
public
:
34
Bases();
35
48
Bases
(
const
std::shared_ptr<MLBookProc> &
mlbp
,
49
const
std::shared_ptr<BaseKeeper> &
base_keeper
,
50
const
std::shared_ptr<BookmarksKeeper> &
bookmarks
,
51
const
std::shared_ptr<NotesKeeper> &
notes
,
52
const
std::shared_ptr<GenreBase> &
genres_base
);
53
59
Bases
(
const
Bases &other);
60
66
Bases
(Bases &&other);
67
73
Bases &
74
operator=
(
const
Bases &other);
75
81
Bases &
82
operator=
(Bases &&other);
83
87
std::shared_ptr<MLBookProc>
mlbp
;
88
92
std::shared_ptr<BaseKeeper>
base_keeper
;
93
98
std::shared_ptr<BookmarksKeeper>
bookmarks
;
99
103
std::shared_ptr<NotesKeeper>
notes
;
104
108
std::shared_ptr<GenreBase>
genres_base
;
109
};
110
111
#endif
// BASES_H
Bases::operator=
Bases & operator=(const Bases &other)
operator =
Bases::notes
std::shared_ptr< NotesKeeper > notes
Smart poinet to NotesKeeper object (see MLBookProc documentation).
Definition
Bases.h:103
Bases::Bases
Bases(Bases &&other)
Move constructor.
Bases::operator=
Bases & operator=(Bases &&other)
operator =
Bases::mlbp
std::shared_ptr< MLBookProc > mlbp
Smart pointer to MLBookProc object (see MLBookProc documentation).
Definition
Bases.h:87
Bases::genres_base
std::shared_ptr< GenreBase > genres_base
Smart pointer to GenreBase object.
Definition
Bases.h:108
Bases::bookmarks
std::shared_ptr< BookmarksKeeper > bookmarks
Smart pointer to BookmarksKeeper object (see MLBookProc documentation).
Definition
Bases.h:98
Bases::Bases
Bases(const Bases &other)
Copy constructor.
Bases::base_keeper
std::shared_ptr< BaseKeeper > base_keeper
Smart pointer to BaseKeeper (see MLBookProc documentation).
Definition
Bases.h:92
Bases::Bases
Bases(const std::shared_ptr< MLBookProc > &mlbp, const std::shared_ptr< BaseKeeper > &base_keeper, const std::shared_ptr< BookmarksKeeper > &bookmarks, const std::shared_ptr< NotesKeeper > ¬es, const std::shared_ptr< GenreBase > &genres_base)
Bases constructor.
Bases.h
Generated by
1.17.0