Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CEntChapter.hpp
Go to the documentation of this file.
1#ifndef LIBS_DOCUMENTS_CENTCHAPTER_HPP_
2#define LIBS_DOCUMENTS_CENTCHAPTER_HPP_
3
5
6#include <string>
7
9
11{
12public:
14 CEntChapter(const std::string &textChapter, bool isChapterNameInHeading);
15 CEntChapter(const CEntChapter &entChapter);
16 CEntChapter(CEntChapter &&other) = delete;
17 ~CEntChapter() override;
18
19 CEntChapter &operator=(const CEntChapter &other) = delete;
20 CEntChapter &operator=(CEntChapter &&other) = delete;
21
22 void processEntity(IManagerPrinter *manager) override;
24
25 [[nodiscard]] bool getIsActivated() const;
26 [[nodiscard]] std::string getTextChapter() const;
27
28 void setIsActive(bool isActive);
29
30private:
31 std::string m_textChapter;
32
35};
36
37#endif /* LIBS_DOCUMENTS_CENTCHAPTER_HPP_ */
Definition AbstractComponentGUI.hpp:30
Definition CEntChapter.hpp:11
std::string getTextChapter() const
Definition CEntChapter.cpp:47
void processEntity(IManagerPrinter *manager) override
Definition CEntChapter.cpp:32
bool m_activated
Definition CEntChapter.hpp:33
CEntChapter()
Definition CEntChapter.cpp:6
void setIsActive(bool isActive)
Definition CEntChapter.cpp:52
bool m_isChapterNameInHeading
Definition CEntChapter.hpp:34
~CEntChapter() override
CEntChapter & operator=(const CEntChapter &other)=delete
AbstractComponentGUI * panel()
Definition CEntChapter.cpp:37
CEntChapter(CEntChapter &&other)=delete
CEntChapter & operator=(CEntChapter &&other)=delete
std::string m_textChapter
Definition CEntChapter.hpp:31
bool getIsActivated() const
Definition CEntChapter.cpp:42
Definition IEntPrinter.hpp:7
Definition IManagerPrinter.hpp:19