OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
Loading...
Searching...
No Matches
RgbColor.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include "../../odbdesign_export.h"
5
#include <cstdint>
6
7
namespace
Odb::Lib::FileModel::Design
8
{
12
struct
ODBDESIGN_EXPORT
RgbColor
13
{
14
uint8_t
red
;
15
uint8_t
green
;
16
uint8_t
blue
;
17
18
bool
noPreference
;
19
20
RgbColor
();
21
explicit
RgbColor
(
const
std::string& str);
22
23
bool
from_string(
const
std::string& str);
24
std::string to_string()
const
;
25
};
26
}
Odb::Lib::FileModel::Design
Definition
Constants.h:8
ODBDESIGN_EXPORT
#define ODBDESIGN_EXPORT
Definition
odbdesign_export.h:11
Odb::Lib::FileModel::Design::RgbColor
Definition
RgbColor.h:13
Odb::Lib::FileModel::Design::RgbColor::green
uint8_t green
Definition
RgbColor.h:15
Odb::Lib::FileModel::Design::RgbColor::noPreference
bool noPreference
Definition
RgbColor.h:18
Odb::Lib::FileModel::Design::RgbColor::red
uint8_t red
Definition
RgbColor.h:14
Odb::Lib::FileModel::Design::RgbColor::blue
uint8_t blue
Definition
RgbColor.h:16
OdbDesignLib
FileModel
Design
RgbColor.h
Generated by
1.9.8