FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
UITextsRow.h
Go to the documentation of this file.
1#ifndef UITEXTSROW_H
2#define UITEXTSROW_H
3
4#include <iterator>
5#include <vector>
6
7#include "UIText.h"
8
15 class UITextsRow {
16 public:
21 explicit UITextsRow(const std::vector<UIText>& texts);
22
23 virtual ~UITextsRow() = default;
24
25 UITextsRow(const UITextsRow&) = default;
27
28 UITextsRow(UITextsRow&&) noexcept;
29 UITextsRow& operator=(UITextsRow&&) noexcept;
30
35 const std::vector<UIText>& getUiTexts() const { return texts; }
36
37 private:
41 std::vector<UIText> texts;
42 };
43
44} // namespace business_logic::components
45
46#endif // UITEXTSROW_H
The UI renderable text primitive.
Definition UIText.h:14
The UI renderable row of UITexts primitive.
Definition UITextsRow.h:15
std::vector< UIText > texts
The texts in this row.
Definition UITextsRow.h:41
UITextsRow(const UITextsRow &)=default
const std::vector< UIText > & getUiTexts() const
Gets the texts in this row.
Definition UITextsRow.h:35
UITextsRow & operator=(const UITextsRow &)
Definition UITextsRow.cpp:9
UI primitives and components to be rendered as part of the UI.
Definition UIText.cpp:3
STL namespace.