MLBookProc
2.1
Toggle main menu visibility
Loading...
Searching...
No Matches
ReplaceTagItem.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 REPLACETAGITEM_H
17
#define REPLACETAGITEM_H
18
19
#include <string>
20
27
class
ReplaceTagItem
28
{
29
public
:
33
ReplaceTagItem
();
34
38
ReplaceTagItem
(
const
ReplaceTagItem
&other);
39
43
ReplaceTagItem
(
ReplaceTagItem
&&other);
44
48
ReplaceTagItem
&
49
operator=
(
const
ReplaceTagItem
&other);
50
54
ReplaceTagItem
&
55
operator=
(
ReplaceTagItem
&&other);
56
60
std::string
tag_to_replace
;
61
65
std::string
begin_replacement
;
66
70
std::string
end_replacement
;
71
76
bool
replace
=
true
;
77
};
78
79
#endif
// REPLACETAGITEM_H
ReplaceTagItem::operator=
ReplaceTagItem & operator=(const ReplaceTagItem &other)
operator =
ReplaceTagItem::end_replacement
std::string end_replacement
Replacement for end tag element.
Definition
ReplaceTagItem.h:70
ReplaceTagItem::ReplaceTagItem
ReplaceTagItem(const ReplaceTagItem &other)
ReplaceTagItem copy constructor.
ReplaceTagItem::operator=
ReplaceTagItem & operator=(ReplaceTagItem &&other)
operator =
ReplaceTagItem::begin_replacement
std::string begin_replacement
Replacement for start tag element.
Definition
ReplaceTagItem.h:65
ReplaceTagItem::ReplaceTagItem
ReplaceTagItem(ReplaceTagItem &&other)
ReplaceTagItem move constructor.
ReplaceTagItem::tag_to_replace
std::string tag_to_replace
Id of tag to be replaced (see XMLElement::element_name).
Definition
ReplaceTagItem.h:60
ReplaceTagItem::replace
bool replace
Definition
ReplaceTagItem.h:76
ReplaceTagItem::ReplaceTagItem
ReplaceTagItem()
ReplaceTagItem constructor.
ReplaceTagItem.h
Generated by
1.17.0