1#ifndef IV_SRC_MIMICS_STRUCTS_HPP_
2#define IV_SRC_MIMICS_STRUCTS_HPP_
50 static constexpr std::string_view
position =
"Position";
56 static constexpr std::string_view
rotation =
"Degrees";
78 align = magic_enum::enum_cast<iv::mimics::eTitleAlign>(
123 static constexpr std::string_view
show {
"Show"};
124 static constexpr std::string_view
align {
"Align"};
125 static constexpr std::string_view
height {
"Height"};
126 static constexpr std::string_view
padding {
"Padding"};
127 static constexpr std::string_view
color {
"Color"};
131 static constexpr std::string
string {};
132 static constexpr bool show {
false};
140 static constexpr std::string_view
titles {
"Titles"};
141 static constexpr std::string_view
title {
"Title"};
142 static constexpr std::string_view
location {
"Location"};
222 static constexpr std::string_view
location {
"Location"};
223 static constexpr std::string_view
border {
"Border"};
228 static constexpr std::string_view
show {
"Show"};
229 static constexpr std::string_view
color {
"Color"};
230 static constexpr std::string_view
width {
"Width"};
231 static constexpr std::string_view
height {
"Height"};
238 static constexpr std::string
string {};
239 static constexpr bool show {
false};
Definition xmlFile.hpp:15
T getAttribute(const std::string_view key, T defaultValue) const
Definition xmlFile.hpp:33
iv::file::xml::node getChild(std::string_view name) const
Definition xmlFile.cpp:43
bool addAttribute(const std::string_view key, T value)
Definition xmlFile.hpp:77
iv::file::xml::node appendChild(std::string_view name)
Definition xmlFile.cpp:53
Definition LogicExpression.hpp:14
std::optional< iv::types::color > hexToColor(const std::string_view hex)
Definition utils.cpp:28
std::string colorToHex(iv::types::color value, const bool hasAlpha)
Definition utils.cpp:18
constexpr iv::types::color Black
Definition color.hpp:21
constexpr iv::types::color White
Definition color.hpp:222
Definition GeneratorPmsBuilders.cpp:9
eTitleAlign
Definition enums.hpp:58
double height
Definition types.hpp:14
double padding
Definition types.hpp:16
double width
Definition types.hpp:23
uint32_t color
Definition types.hpp:12
double coord
Definition types.hpp:13
Definition structs.hpp:68
bool load(const iv::file::xml::node &nodePoint)
Definition structs.cpp:308
bool save(iv::file::xml::node &nodePoint) const
Definition structs.cpp:317
Definition structs.hpp:237
static constexpr bool show
Definition structs.hpp:239
static constexpr iv::types::color borderColor
Definition structs.hpp:244
static constexpr std::string string
Definition structs.hpp:238
static constexpr iv::types::height height
Definition structs.hpp:242
static constexpr iv::types::color color
Definition structs.hpp:240
static constexpr iv::types::width borderWidth
Definition structs.hpp:243
static constexpr iv::types::width width
Definition structs.hpp:241
Definition structs.hpp:227
static constexpr std::string_view color
Definition structs.hpp:229
static constexpr std::string_view show
Definition structs.hpp:228
static constexpr std::string_view width
Definition structs.hpp:230
static constexpr std::string_view borderWidth
Definition structs.hpp:232
static constexpr std::string_view borderColor
Definition structs.hpp:233
static constexpr std::string_view height
Definition structs.hpp:231
Definition structs.hpp:221
static constexpr std::string_view border
Definition structs.hpp:223
static constexpr std::string_view location
Definition structs.hpp:222
Definition structs.hpp:176
iv::types::height height
Definition structs.hpp:215
bool show
Definition structs.hpp:211
void save(iv::file::xml::node &nodeBackground) const
Definition structs.hpp:198
Background()
Definition structs.hpp:177
iv::types::color color
Definition structs.hpp:212
iv::mimics::Location location
Definition structs.hpp:213
iv::types::width width
Definition structs.hpp:214
iv::types::width borderWidth
Definition structs.hpp:216
void load(const iv::file::xml::node &nodeBackground)
Definition structs.hpp:184
iv::types::color borderColor
Definition structs.hpp:217
Definition structs.hpp:170
static constexpr bool hideCommands
Definition structs.hpp:171
Definition structs.hpp:165
static constexpr std::string_view hideCommands
Definition structs.hpp:166
static constexpr std::string_view hideCondition
Definition structs.hpp:167
Definition structs.hpp:147
iv::logics::LogicExpression hideCondition
Definition structs.hpp:161
bool save(iv::file::xml::node &nodeHideCommandsSettings) const
Definition structs.hpp:154
bool hideCommands
Definition structs.hpp:160
bool load(const iv::file::xml::node &nodeHideCommandsSettings)
Definition structs.hpp:148
Definition structs.hpp:60
static constexpr iv::types::coord position
Definition structs.hpp:61
static constexpr iv::types::coord rotation
Definition structs.hpp:62
Definition structs.hpp:55
static constexpr std::string_view rotation
Definition structs.hpp:56
Definition structs.hpp:49
static constexpr std::string_view position
Definition structs.hpp:50
static constexpr std::string_view rotationInGrades
Definition structs.hpp:51
Definition structs.hpp:15
double rotation
Definition structs.hpp:45
Location()
Definition structs.hpp:16
bool load(const iv::file::xml::node &nodeLocation)
Definition structs.hpp:22
bool save(iv::file::xml::node &nodeLocation) const
Definition structs.hpp:33
iv::math::geometry::Point3d position
Definition structs.hpp:44
Definition structs.hpp:130
static constexpr iv::types::color color
Definition structs.hpp:136
static constexpr std::string string
Definition structs.hpp:131
static constexpr iv::mimics::eTitleAlign align
Definition structs.hpp:133
static constexpr iv::types::padding padding
Definition structs.hpp:135
static constexpr iv::types::height height
Definition structs.hpp:134
static constexpr bool show
Definition structs.hpp:132
Definition structs.hpp:122
static constexpr std::string_view align
Definition structs.hpp:124
static constexpr std::string_view color
Definition structs.hpp:127
static constexpr std::string_view padding
Definition structs.hpp:126
static constexpr std::string_view show
Definition structs.hpp:123
static constexpr std::string_view height
Definition structs.hpp:125
Definition structs.hpp:139
static constexpr std::string_view location
Definition structs.hpp:142
static constexpr std::string_view title
Definition structs.hpp:141
static constexpr std::string_view titles
Definition structs.hpp:140
Definition structs.hpp:67
iv::types::color color
Definition structs.hpp:116
bool show
Definition structs.hpp:112
iv::mimics::eTitleAlign align
Definition structs.hpp:113
iv::types::padding padding
Definition structs.hpp:115
iv::model::LocalizedText titles
Definition structs.hpp:117
bool save(iv::file::xml::node &nodeTitleSettings) const
Definition structs.hpp:95
iv::types::height height
Definition structs.hpp:114
TitleSettings()
Definition structs.hpp:68
iv::mimics::Location location
Definition structs.hpp:118
bool load(const iv::file::xml::node &nodeTitleSettings)
Definition structs.hpp:74
Definition structs.hpp:29
bool save(iv::file::xml::node &nodeLocalizedText, std::string_view localizedTextNodeName) const
Definition structs.cpp:88
bool load(const iv::file::xml::node &nodeLocalizedTexts)
Definition structs.cpp:63