scatter
0.1.0
FigureOptions.hpp
1
/*
2
* Copyright (C) Tobias Löw (tobi.loew@protonmail.ch)
3
*
4
* This file is part of Scatter
5
*
6
* Scatter is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* Scatter is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with Scatter. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include <string>
23
24
namespace
scatter
25
{
31
class
FigureOptions
32
{
33
public
:
38
FigureOptions
();
39
44
~FigureOptions
();
45
50
FigureOptions
&
setTitle
(
const
std::string &title);
51
56
FigureOptions
&
setWidth
(
const
double
&width);
57
62
FigureOptions
&
setHeight
(
const
double
&height);
63
68
const
std::string &
getTitle
()
const
;
69
74
const
double
&
getWidth
()
const
;
75
80
const
double
&
getHeight
()
const
;
81
82
private
:
84
std::string title_;
86
double
width_;
88
double
height_;
89
};
90
}
// namespace scatter
scatter::FigureOptions
[brief description]
Definition
FigureOptions.hpp:32
scatter::FigureOptions::~FigureOptions
~FigureOptions()
[brief description]
scatter::FigureOptions::setTitle
FigureOptions & setTitle(const std::string &title)
[brief description]
scatter::FigureOptions::setWidth
FigureOptions & setWidth(const double &width)
[brief description]
scatter::FigureOptions::getHeight
const double & getHeight() const
[brief description]
scatter::FigureOptions::getWidth
const double & getWidth() const
[brief description]
scatter::FigureOptions::setHeight
FigureOptions & setHeight(const double &height)
[brief description]
scatter::FigureOptions::FigureOptions
FigureOptions()
[brief description]
scatter::FigureOptions::getTitle
const std::string & getTitle() const
[brief description]
src
scatter
FigureOptions.hpp
Generated by
1.11.0