OdbDesignLib
OdbDesign ODB++ Parsing Library
 
Loading...
Searching...
No Matches
RgbColor.h
1#pragma once
2
3#include <string>
4#include "../../odbdesign_export.h"
5#include <cstdint>
6
7namespace 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}